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

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x60]
mov ebp, dword [edi + 0x5c]
mov dword [esp + 0x1c], eax
mov edx, eax
mov ecx, ebp
lea eax, [esp + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0xa18]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 6
ja case.0x51376d.4
jmp dword [eax*4 + 0x514068]
mov edx, dword [edi + 0xdc]
mov eax, dword [edi + 0xd8]
mov dword [edi + 0xa00], edx
jmp 0x5137ec
mov ecx, dword [edi + 0xe8]
mov edx, dword [edi + 0xe4]
mov dword [edi + 0xa00], ecx
mov dword [edi + 0xa04], edx
jmp case.0x51376d.4
mov eax, dword [edi + 0xf4]
mov ecx, dword [edi + 0xf0]
mov dword [edi + 0xa00], eax
mov dword [edi + 0xa04], ecx
jmp case.0x51376d.4
mov edx, dword [edi + 0x100]
mov eax, dword [edi + 0xfc]
mov dword [edi + 0xa00], edx
jmp 0x5137ec
lea ecx, [edi + 0x110]
call fcn.004086e0
lea ecx, [edi + 0x108]
mov dword [edi + 0xa00], eax
call fcn.004086e0
mov dword [edi + 0xa04], eax
mov edx, dword [edi + 0x98]
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x44]
sar eax, 0x10
and eax, 0xf
shl eax, 1
cmp eax, 6
mov dword [esp + 0x14], eax
je 0x51384c
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x44]
test ah, ah
js 0x513848
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0
add ecx, 0x28
push ecx
lea edx, [ebp + 0x87]
push edx
push eax
push 0xe30d1
call fcn.0053eff0
mov ecx, 0x55
mov eax, 0x82
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xf8], ecx
mov ecx, 0x7b
mov edx, 0x3f
mov dword [esp + 0xd0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x100], eax
add esp, 0x14
lea eax, [esp + 0x44]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xf0], ecx
mov ecx, dword [edi + 0x120]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc0], edx
mov edx, 0x67
push eax
mov esi, 0x53
push ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe8], edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x128]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x9c], edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x130]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0xa0], edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x138]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0xa4], edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x140]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0xa8], edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x148]
lea eax, [esp + 0x24]
mov dword [esp + 0xa4], edx
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x150]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0xb0], edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x158]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0xb4], edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb0], edx
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 0xe
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], 0x12
mov dword [esp + 0x3c], 0x16
mov dword [esp + 0x40], 0xa
xor esi, esi
jmp 0x513a60
mov eax, dword [esp + esi*8 + 0xb4]
mov edx, dword [esp + esi*8 + 0xb8]
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x20], eax
add eax, 0xfffffffe
mov dword [esp + 0x14], eax
mov eax, dword [esp + esi*4 + 0x94]
cdq
xor eax, edx
sub eax, edx
lea ecx, [ebx - 0x14]
push eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xf8]
push str._02d
push ecx
call fcn.0055e68c
mov eax, dword [esp + 0x2c]
push 7
push 2
lea edx, [esp + 0x108]
push edx
push 0x1f
push 0x32
push eax
push ebx
call fcn.0053f0b0
add esp, 0x28
test esi, esi
push 0
jne 0x513af0
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x513ae2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 9
jmp 0x513b0b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 8
jmp 0x513b0b
mov eax, dword [esp + esi*4 + 0x98]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + esi*4 + 0x28]
test eax, eax
mov eax, dword [esp + 0x14]
push edx
push eax
jl 0x513b0a
inc ecx
push ecx
push 0xe30d1
call fcn.0053eff0
add esp, 0x14
inc esi
cmp esi, 8
jl 0x513a60
cmp dword [edi + 0xa08], 3
je 0x513c65
mov eax, dword [edi + 0x98]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push 0
lea ebx, [edi + 0xb4]
add esi, 0x28
push ebx
test ah, ah
push esi
lea eax, [ebp + 0x9e]
push eax
jns 0x513bd1
call fcn.0053ef40
push 0xd73f
push ebx
lea eax, [ebp + 0x9e]
push esi
push eax
call fcn.0053ee90
add esp, 0x20
push 0x83ec
push 0xea66
push 0x897640
lea esi, [ebp + 0x2c]
call fcn.0044dea0
mov ebx, dword [esp + 0x20]
push eax
lea ecx, [ebx + 0x95]
push ecx
push esi
call fcn.0053ee90
add esp, 0x10
push 0x83ec
push 0xea68
push 0x897640
call fcn.0044dea0
push eax
lea edx, [ebx + 0xa3]
push edx
jmp 0x513c34
call fcn.0053ef40
push 0xfe1c
push ebx
lea eax, [ebp + 0x9e]
push esi
push eax
call fcn.0053ee90
add esp, 0x20
push 0x83ec
push 0xea67
push 0x897640
lea esi, [ebp + 0x2c]
call fcn.0044dea0
mov ebx, dword [esp + 0x20]
push eax
lea eax, [ebx + 0x95]
push eax
push esi
call fcn.0053ee90
add esp, 0x10
push 0x83ec
push 0xea68
push 0x897640
call fcn.0044dea0
push eax
lea ecx, [ebx + 0xa3]
push ecx
push esi
call fcn.0053ee90
add esp, 0x10
push 0x83ec
push 0xea6e
push 0x897640
call fcn.0044dea0
push eax
add ebx, 0xb1
push ebx
push esi
call fcn.0053ee90
mov esi, dword [esp + 0x2c]
jmp 0x513cc0
mov esi, dword [esp + 0x1c]
push 0
lea ebx, [edi + 0xb4]
push ebx
lea ecx, [esi + 0x28]
lea eax, [ebp + 0x9e]
push ecx
push eax
call fcn.0053ef40
push 0xd73f
push ebx
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x9e]
push eax
call fcn.0053ee90
add esp, 0x20
push 0x83ec
push 0xea6e
push 0x897640
call fcn.0044dea0
push eax
lea edx, [esi + 0xa3]
push edx
lea eax, [ebp + 0x2c]
push eax
call fcn.0053ee90
mov al, byte [edi + 0x119]
add esp, 0x10
test al, al
je 0x513de6
mov ecx, dword [edi + 0xdc]
push ecx
lea edx, [esp + 0x78]
push 0x5910d0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x9cc
lea eax, [esp + 0x84]
push eax
add esi, 0xee
lea ebx, [ebp + 0x72]
push esi
push ebx
mov dword [esp + 0x2c], ebx
call fcn.0053ef40
push 0x8dfc
lea ecx, [esp + 0x94]
push ecx
push esi
push ebx
call fcn.0053ee90
mov edx, dword [edi + 0xf4]
push edx
lea eax, [esp + 0xa4]
push 0x5910d0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x9cc
lea ecx, [esp + 0xb0]
push ecx
lea ebx, [ebp + 0xd2]
push esi
push ebx
mov dword [esp + 0x68], ebx
call fcn.0053ef40
add esp, 0x48
push 0x8dfc
lea edx, [esp + 0x78]
push edx
push esi
push ebx
call fcn.0053ee90
mov ecx, dword [edi + 0x114]
add esp, 0x10
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x78]
push 0x5910d0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x28]
push 0x9cc
lea ecx, [esp + 0x84]
push ecx
add esi, 0xee
add ebp, 0x132
push esi
push ebp
call fcn.0053ef40
push 0x8dfc
lea edx, [esp + 0x94]
push edx
push esi
push ebp
call fcn.0053ee90
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
add esp, 0x2c
jmp 0x513eba
push 0x7a125
push 0x897640
call fcn.0044dea0
push eax
lea eax, [esp + 0x78]
push 0x595ec4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x9cc
lea ecx, [esp + 0x84]
push ecx
add esi, 0xee
lea ebx, [ebp + 0x72]
push esi
push ebx
call fcn.0053ef40
push 0x8dfc
lea edx, [esp + 0x94]
push edx
push esi
push ebx
call fcn.0053ee90
push 0x9cc
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x50]
add eax, 0xee
push eax
lea esi, [ebp + 0xd2]
push esi
call fcn.0053ef40
mov eax, dword [esp + 0x58]
push 0x8dfc
lea ecx, [esp + 0xb4]
push ecx
add eax, 0xee
push eax
push esi
call fcn.0053ee90
mov eax, dword [esp + 0x68]
add esp, 0x4c
push 0x9cc
lea edx, [esp + 0x78]
push edx
add eax, 0xee
push eax
add ebp, 0x132
push ebp
call fcn.0053ef40
push 0x8dfc
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x34]
add eax, 0xee
push eax
push ebp
call fcn.0053ee90
add esp, 0x20
mov al, byte [edi + 0x118]
test al, al
je 0x513fc1
mov ecx, dword [edi + 0xd8]
push ecx
lea edx, [esp + 0x58]
push 0x5910d0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x28]
push 0x9cc
lea ecx, [esp + 0x64]
add eax, 0x10c
push ecx
push eax
push ebx
mov dword [esp + 0x2c], eax
call fcn.0053ef40
mov eax, dword [esp + 0x2c]
push 0x8dfc
lea edx, [esp + 0x74]
push edx
push eax
push ebx
call fcn.0053ee90
mov ecx, dword [edi + 0xf0]
push ecx
lea edx, [esp + 0x84]
push 0x5910d0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [esp + 0x48]
push 0x9cc
lea eax, [esp + 0x90]
push eax
push ebx
push esi
call fcn.0053ef40
add esp, 0x48
push 0x8dfc
lea ecx, [esp + 0x58]
push ecx
push ebx
push esi
call fcn.0053ee90
mov eax, dword [edi + 0x10c]
add esp, 0x10
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push 0x5910d0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x1c]
push 0x9cc
lea eax, [esp + 0x64]
push eax
push esi
push ebp
call fcn.0053ef40
push 0x8dfc
lea ecx, [esp + 0x74]
push ecx
push esi
push ebp
call fcn.0053ee90
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push 0x7a124
push 0x897640
call fcn.0044dea0
push eax
lea edx, [esp + 0x58]
push 0x595ec4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esp + 0x28]
push 0x9cc
lea eax, [esp + 0x64]
push eax
add edi, 0x10c
push edi
push ebx
call fcn.0053ef40
push 0x8dfc
lea ecx, [esp + 0x74]
push ecx
push edi
push ebx
call fcn.0053ee90
push 0x9cc
lea edx, [esp + 0x84]
push edx
push edi
push esi
call fcn.0053ef40
push 0x8dfc
lea eax, [esp + 0x94]
push eax
push edi
push esi
call fcn.0053ee90
add esp, 0x4c
push 0x9cc
lea ecx, [esp + 0x58]
push ecx
push edi
push ebp
call fcn.0053ef40
push 0x8dfc
lea edx, [esp + 0x68]
push edx
push edi
push ebp
call fcn.0053ee90
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret