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

Disassembly:
sub esp, 0x60
call dword [0x5dd17c]
cmp dword [0x6ad4d8], eax
je 0x59d0ea
push 0
push 0x182
push 0x662258
push 0x65c938
call fcn.0058a2c0
add esp, 0x10
mov ecx, dword [esp + 0x64]
push ebx
push ebp
push esi
call fcn.0058d110
mov ebp, dword [esp + 0x74]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
push ebp
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
je 0x59d132
mov ecx, dword [0x6a8304]
push esi
call fcn.0058d2d0
push 0x188
push 0x662258
push esi
push 0x6627a0
call fcn.00589a10
add esp, 0x10
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x34]
mov ecx, dword [0x6a8304]
mov edi, eax
add ecx, 0x50
sub edi, ebp
call fcn.0058ccc0
push 0
lea edx, [esp + 0x14]
push edx
push dword [esp + 0x84]
mov ecx, dword [eax]
push dword [esp + 0x3c]
push 0
push edi
push dword [esp + 0x64]
push dword [esp + 0x64]
push eax
call dword [ecx + 0x5c]
mov ecx, dword [0x6a8304]
mov esi, eax
push esi
call fcn.0058d2d0
test esi, esi
je 0x59d1c2
cmp esi, 0x8007000e
jne 0x59d18f
push 0x662800
jmp 0x59d19c
cmp esi, 0x8876017c
jne 0x59d1a4
push 0x66281c
call fcn.00589df0
add esp, 4
push dword [esp + 0x3c]
push dword [esp + 0x34]
push edi
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x662840
call fcn.00589a10
add esp, 0x18
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x59d430
lea ebx, [ebx]
cmp dword [esp + 0x7c], 0
jne 0x59d2c1
mov ecx, dword [ebx]
lea eax, [esp + 0x14]
push eax
lea eax, [esi + ebp]
push eax
push ebx
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
je 0x59d224
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1aa
push 0x662258
push edi
push 0x6628a8
call fcn.00589a10
add esp, 0x10
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
je 0x59d25e
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1ab
push 0x662258
push edi
push 0x662918
call fcn.00589a10
add esp, 0x10
mov ecx, dword [0x6a8304]
lea ecx, [ecx + 0x50]
call fcn.0058ccc0
push 0
push dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push dword [esp + 0x20]
push eax
call dword [ecx + 0x78]
mov edi, eax
test edi, edi
je 0x59d2a8
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1ad
push 0x662258
push edi
push 0x662978
call fcn.00589a10
add esp, 0x10
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x59d425
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
push 0x10
push 0
push ecx
add ebp, esi
push ebp
push ebx
call dword [eax + 0x4c]
mov edi, eax
test edi, edi
je 0x59d2fd
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1b6
push 0x662258
push edi
push 0x6629f8
call fcn.00589a10
add esp, 0x10
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push 0
push 0
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x4c]
mov edi, eax
test edi, edi
je 0x59d33b
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1b7
push 0x662258
push edi
push 0x662a70
call fcn.00589a10
add esp, 0x10
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
je 0x59d375
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1bb
push 0x662258
push edi
push 0x662650
call fcn.00589a10
add esp, 0x10
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x59d398
push 0
push 0x1bd
push 0x662258
push 0x6626a4
call fcn.0058a2c0
add esp, 0x10
push dword [esp + 0x50]
push dword [esp + 0x70]
call fcn.00589b40
imul eax, dword [esp + 0x28]
push eax
push dword [esp + 0x38]
push dword [esp + 0x34]
call fcn.005b3090
mov eax, dword [ebx]
add esp, 0x14
push ebp
push ebx
call dword [eax + 0x50]
mov edi, eax
test edi, edi
je 0x59d3ec
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1c0
push 0x662258
push edi
push 0x662ac8
call fcn.00589a10
add esp, 0x10
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edi, eax
test edi, edi
je 0x59d421
mov ecx, dword [0x6a8304]
push edi
call fcn.0058d2d0
push 0x1c1
push 0x662258
push edi
push 0x662b20
call fcn.00589a10
add esp, 0x10
mov ebp, dword [esp + 0x78]
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x59d1e0
mov ebx, dword [esp + 0x74]
mov ecx, ebx
call fcn.0058f4d0
mov esi, dword [esp + 0x10]
call dword [0x5dd17c]
pop edi
cmp dword [0x6ad4d8], eax
je 0x59d467
push 0
push 0x4a0
push 0x65c8e4
push 0x65c938
call fcn.0058a2c0
add esp, 0x10
mov dword [ebx], esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret