Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:00401350 sub_401350 proc near ; CODE XREF: sub_4013F0+28Ep
- .text:00401350 ; sub_4013F0+2D2p
- .text:00401350
- .text:00401350 var_4 = dword ptr -4
- .text:00401350 arg_0 = dword ptr 8
- .text:00401350 arg_4 = dword ptr 0Ch
- .text:00401350 arg_8 = dword ptr 10h
- .text:00401350 arg_C = dword ptr 14h
- .text:00401350 arg_10 = byte ptr 18h
- .text:00401350
- .text:00401350 push ebp
- .text:00401351 mov ebp, esp
- .text:00401353 push ecx
- .text:00401354 mov [ebp+var_4], 0
- .text:0040135B jmp short loc_401366
- .text:0040135D.text:0040135D
- .text:0040135D loc_40135D: ; CODE XREF: sub_401350+46j
- .text:0040135D mov eax, [ebp+var_4]
- .text:00401360 add eax, 1
- .text:00401363 mov [ebp+var_4], eax
- .text:00401366
- .text:00401366 loc_401366: ; CODE XREF: sub_401350+Bj
- .text:00401366 mov ecx, [ebp+var_4]
- .text:00401369 cmp ecx, [ebp+arg_4]
- .text:0040136C jnb short loc_401398
- .text:0040136E mov edx, [ebp+arg_0]
- .text:00401371 add edx, [ebp+var_4]
- .text:00401374 movsx ecx, byte ptr [edx]
- .text:00401377 mov eax, [ebp+var_4]
- .text:0040137A xor edx, edx
- .text:0040137C div [ebp+arg_C]
- .text:0040137F mov eax, [ebp+arg_8]
- .text:00401382 movsx edx, byte ptr [eax+edx]
- .text:00401386 movzx eax, [ebp+arg_10]
- .text:0040138A add edx, eax
- .text:0040138C xor ecx, edx
- .text:0040138E mov edx, [ebp+arg_0]
- .text:00401391 add edx, [ebp+var_4]
- .text:00401394 mov [edx], cl
- .text:00401396 jmp short loc_40135D
- .text:00401398 .text:00401398
- .text:00401398 loc_401398: ; CODE XREF: sub_401350+1Cj
- .text:00401398 mov esp, ebp
- .text:0040139A pop ebp
- .text:0040139B retn 14h
- .text:0040139B sub_401350 endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement