Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:005D0500 ; =============== S U B R O U T I N E =======================================
- .text:005D0500
- .text:005D0500
- .text:005D0500 sub_5D0500 proc near ; CODE XREF: sub_5C9290+29p
- .text:005D0500
- .text:005D0500 arg_0 = qword ptr 4
- .text:005D0500 arg_8 = dword ptr 0Ch
- .text:005D0500 arg_C = dword ptr 10h
- .text:005D0500
- .text:005D0500 push ebx
- .text:005D0501 push esi
- .text:005D0502 mov eax, [esp+8+arg_C]
- .text:005D0506 or eax, eax
- .text:005D0508 jnz short loc_5D0522
- .text:005D050A mov ecx, [esp+8+arg_8]
- .text:005D050E mov eax, dword ptr [esp+8+arg_0+4]
- .text:005D0512 xor edx, edx
- .text:005D0514 div ecx
- .text:005D0516 mov ebx, eax
- .text:005D0518 mov eax, dword ptr [esp+8+arg_0]
- .text:005D051C div ecx
- .text:005D051E mov edx, ebx
- .text:005D0520 jmp short loc_5D0563
- .text:005D0522 ; ---------------------------------------------------------------------------
- .text:005D0522
- .text:005D0522 loc_5D0522: ; CODE XREF: sub_5D0500+8j
- .text:005D0522 mov ecx, eax
- .text:005D0524 mov ebx, [esp+8+arg_8]
- .text:005D0528 mov edx, dword ptr [esp+8+arg_0+4]
- .text:005D052C mov eax, dword ptr [esp+8+arg_0]
- .text:005D0530
- .text:005D0530 loc_5D0530: ; CODE XREF: sub_5D0500+3Aj
- .text:005D0530 shr ecx, 1
- .text:005D0532 rcr ebx, 1
- .text:005D0534 shr edx, 1
- .text:005D0536 rcr eax, 1
- .text:005D0538 or ecx, ecx
- .text:005D053A jnz short loc_5D0530
- .text:005D053C div ebx
- .text:005D053E mov esi, eax
- .text:005D0540 mul [esp+8+arg_C]
- .text:005D0544 mov ecx, eax
- .text:005D0546 mov eax, [esp+8+arg_8]
- .text:005D054A mul esi
- .text:005D054C add edx, ecx
- .text:005D054E jb short loc_5D055E
- .text:005D0550 cmp edx, dword ptr [esp+8+arg_0+4]
- .text:005D0554 ja short loc_5D055E
- .text:005D0556 jb short loc_5D055F
- .text:005D0558 cmp eax, dword ptr [esp+8+arg_0]
- .text:005D055C jbe short loc_5D055F
- .text:005D055E
- .text:005D055E loc_5D055E: ; CODE XREF: sub_5D0500+4Ej
- .text:005D055E ; sub_5D0500+54j
- .text:005D055E dec esi
- .text:005D055F
- .text:005D055F loc_5D055F: ; CODE XREF: sub_5D0500+56j
- .text:005D055F ; sub_5D0500+5Cj
- .text:005D055F xor edx, edx
- .text:005D0561 mov eax, esi
- .text:005D0563
- .text:005D0563 loc_5D0563: ; CODE XREF: sub_5D0500+20j
- .text:005D0563 pop esi
- .text:005D0564 pop ebx
- .text:005D0565 retn 10h
- .text:005D0565 sub_5D0500 endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement