Function at 0x403d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x42610c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], eax
test ebx, ebx
jne 0x403d94
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00411e16
add esp, 0x74
ret
push esi
push edi
test eax, eax
jne 0x403dff
cmp ebx, 1
jne 0x403dff
mov ecx, 0x10
mov esi, str.f0_precode0x000000000x000000010x000000000x00000000f0_code00
lea edi, [esp + 0x18]
lea eax, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403db6
sub eax, edx
inc eax
push eax
call fcn.00411e74
mov esi, eax
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403dd2
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00411f40
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00411e16
add esp, 0x74
ret
push ebx
lea ecx, [esp + 0x1c]
push str.f_d_precode
push ecx
xor esi, esi
xor edi, edi
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e20
push ebp
sub eax, edx
push ebx
lea edx, [esp + 0x20]
push str.f_d_code
push edx
mov ebp, eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x28]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403e47
sub eax, ecx
lea edx, [eax + ebp + 0x3c]
imul edx, ebx
xor ebp, ebp
cmp ebx, 2
jl 0x403e8a
mov eax, dword [esp + 0x10]
lea ecx, [ebx - 2]
shr ecx, 1
add eax, 0x20
inc ecx
lea ebp, [ecx + ecx]
mov edi, edi
mov ebx, dword [eax - 0x1c]
lea esi, [esi + ebx*2]
mov ebx, dword [eax]
add eax, 0x38
sub ecx, 1
lea edi, [edi + ebx*2]
jne 0x403e70
mov ebx, dword [esp + 0x8c]
cmp ebp, ebx
jae 0x403ea2
mov ecx, dword [esp + 0x10]
lea eax, [ebp*8]
sub eax, ebp
mov eax, dword [ecx + eax*4 + 4]
lea edx, [edx + eax*2]
add esi, edi
lea ecx, [esi + edx + 1]
push 1
push ecx
call fcn.00412704
xor ebp, ebp
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
test ebx, ebx
jbe 0x403fd9
mov ebx, dword [esp + 0x10]
add ebx, 4
jmp 0x403ed4
mov ebp, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [ebx - 4]
push 0
push 0
push edx
push eax
push ebp
lea ecx, [esp + 0x30]
push str.f_d_precode0x_08x0x_08x0x_08x0x_08x
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x38]
add esp, 0x1c
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403f00
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403f10
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebp
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
push str.f_d_code
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x28]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403f40
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403f50
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x14]
and ecx, 3
xor ebp, ebp
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], eax
cmp dword [ebx], ebp
jbe 0x403fc0
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx + ebp]
push edx
lea eax, [esp + 0x20]
push str._02x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x28]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403f95
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403fa5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
cmp ebp, dword [ebx]
jb 0x403f73
mov eax, dword [esp + 0x18]
inc eax
add ebx, 0x1c
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x8c]
jb 0x403ed0
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411e16
add esp, 0x74
ret