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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp + 0x3c], eax
lea ebx, [esp + 0x49]
mov eax, dword [0xd3c044]
mov dword [esp + 0x7c], eax
xor eax, eax
lea eax, [esp + 0x4b]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4a]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
call fcn.0053d2c0
lea eax, [esp + 0x4b]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x4a]
mov dword [esp + 8], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.0053d320
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x4c]
jl 0x59ad5d
lea esi, [esp + 0x54]
jmp 0x59ab16
cmp edx, dword [esp + 0x50]
je 0x59ad50
lea eax, [esp + 0x70]
lea edx, [esp + 0x64]
mov dword [esp + 8], esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], eax
lea edi, [esp + 0x38]
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [esp + 0x24], edx
call fcn.0053d580
mov eax, dword [esp + 0x60]
test eax, eax
je 0x59abf0
mov dword [esp], ebx
call fcn.0053d670
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x78]
lea ebp, [esp + 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], esi
mov dword [esp], edi
call fcn.0053d6f0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x59abf0
lea eax, [esp + 0x78]
lea edx, [esp + 0x70]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp], edi
call fcn.0053db90
mov eax, dword [esp + 0x68]
test eax, eax
je 0x59abf0
mov dword [esp], ebx
call fcn.0053dfa0
lea eax, [esp + 0x50]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0053dfd0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x59ac10
cmp eax, dword [esp + 0x54]
je 0x59acb0
mov byte [esp + 0x4a], 7
mov byte [esp + 0x4b], 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00402690
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
cmp eax, ecx
jg 0x59ad5d
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov eax, dword [eax]
test eax, 0x40000000
jne 0x59abf0
lea eax, [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0053d370
mov dword [esp], ebx
call fcn.0053d430
movzx eax, byte [esp + 0x49]
cmp al, byte [esp + 0x4a]
jae 0x59ab66
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x54], ecx
je 0x59aaf2
cmp al, byte [esp + 0x4b]
jb 0x59ac30
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x59a9d8
lea ebp, [esp + 0x74]
cmp al, 0xa
ja 0x59acc0
lea eax, [esp + 0x6c]
lea edi, [esp + 0x38]
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0053dc50
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x59abf0
lea edx, [esp + 0x70]
lea eax, [esp + 0x68]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
lea edx, [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0053dd10
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x59aaba
lea esi, [esi]
xor eax, eax
mov edx, dword [esp + 0x7c]
sub edx, dword [0xd3c044]
jne 0x59ad67
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x4a]
mov dword [esp], eax
call fcn.0053e060
lea eax, [esp + 0x4b]
mov dword [esp], eax
call fcn.0053e090
jmp 0x59aaf2
lea edx, [esp + 0x70]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], eax
lea ebp, [esp + 0x74]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x38]
mov dword [esp + 0x2c], edx
jmp 0x59ac6b
mov dword [esp], ebx
call fcn.0053d550
cmp byte [esp + 0x49], 0
je 0x59aaba
lea eax, [esp + 0x78]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0053d460
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x59ac58
jmp 0x59abf0
mov byte [esp + 0x4a], 6
mov byte [esp + 0x4b], 3
jmp 0x59aaf2
lea eax, [esp + 0x68]
lea edx, [esp + 0x70]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edx
lea ebp, [esp + 0x34]
lea edx, [esp + 0x64]
mov dword [esp + 0x10], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0053dde0
mov edx, dword [esp + 0x74]
test edx, edx
je 0x59abf0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0053dec0
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x59aaba
jmp 0x59abf0
lea edi, [esp + 0x38]
lea edx, [esp + 0x64]
jmp 0x59aa36
mov eax, 1
jmp 0x59abf2
call fcn.00401690
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x80]
lea ebp, [esp + 0x38]
lea edi, [esp + 0x34]
lea esi, [esp + 0x30]
lea ebx, [esp + 0x2c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [0xd3c044]
mov dword [esp + 0x4c], eax
xor eax, eax
lea eax, [esp + 0x40]
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0053ed30
lea eax, [esp + 0x48]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0053ed90
mov eax, dword [esp + 0x4c]
sub eax, dword [0xd3c044]
jne 0x59adf9
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop