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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x6c4220]
push edi
mov edi, ecx
mov dword [edi], edx
mov dword [edi + 8], eax
push dword [0xa43de4]
mov ebx, dword [edx + 0x3c]
call esi
test eax, eax
je 0x59bf40
cmp byte [eax], 0
je 0x59bf42
xor eax, eax
push dword [eax + 0x158]
lea ecx, [edi + 0xc]
push ebx
call fcn.0056b6f0
mov eax, dword [edi]
push dword [0xa43de4]
mov eax, dword [eax + 0x3c]
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x59bf6a
cmp byte [eax], 0
je 0x59bf6c
xor eax, eax
push dword [eax + 0x158]
lea ecx, [edi + 0x1c]
push dword [ebp + 8]
call fcn.0056b6f0
mov eax, dword [edi]
push dword [0xa43de4]
mov ebx, dword [eax + 0x3c]
call esi
test eax, eax
je 0x59bf93
cmp byte [eax], 0
je 0x59bf95
xor eax, eax
push dword [eax + 0x158]
lea ecx, [edi + 0x2c]
push ebx
call fcn.0056b6f0
mov eax, dword [edi]
push dword [0xa43de4]
mov ebx, dword [eax + 0x3c]
call esi
test eax, eax
je 0x59bfba
cmp byte [eax], 0
je 0x59bfbc
xor eax, eax
push dword [eax + 0x158]
lea ecx, [edi + 0x3c]
push ebx
call fcn.0056b6f0
mov eax, dword [edi]
push dword [0xa43de4]
mov eax, dword [eax + 0x3c]
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x59bfe4
cmp byte [eax], 0
je 0x59bfe6
xor eax, eax
push dword [eax + 0x158]
lea ecx, [edi + 0x4c]
push dword [ebp + 8]
call fcn.0056b6f0
mov eax, dword [edi]
push dword [0xa43de4]
mov eax, dword [eax + 0x3c]
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x59c010
cmp byte [eax], 0
je 0x59c012
xor eax, eax
push dword [eax + 0x158]
lea ecx, [edi + 0x5c]
push dword [ebp + 8]
call fcn.0056b6f0
push dword [0xa43de4]
call esi
test eax, eax
je 0x59c034
cmp byte [eax], 0
je 0x59c036
xor eax, eax
mov eax, dword [eax + 0x158]
push 5
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], eax
call fcn.004cfeb0
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x78]
mov dword [edi + 0x70], ebx
mov dword [ebp + 8], eax
cmp ebx, 0x1fffffff
jle 0x59c09a
push 4
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x9715f0
push 0x979a04
push eax
mov dword [ebp - 8], 0xfe
mov dword [ebp - 4], 0
call fcn.0042fe30
add esp, 0x10
mov ecx, dword [ebp + 8]
lea eax, [ebx*4]
push eax
call fcn.0040dcb0
mov dword [edi + 0x74], eax
push dword [0xa43de4]
call esi
test eax, eax
je 0x59c0be
cmp byte [eax], 0
je 0x59c0c0
xor eax, eax
mov eax, dword [eax + 0x158]
push 5
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], eax
call fcn.004cfeb0
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x88]
mov dword [edi + 0x80], ebx
mov dword [ebp + 8], eax
cmp ebx, 0x1fffffff
jle 0x59c133
push 4
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x9715f0
push 0x979a04
push eax
mov dword [ebp - 8], 0xfe
mov dword [ebp - 4], 0
call fcn.0042fe30
add esp, 0x10
mov ecx, dword [ebp + 8]
lea eax, [ebx*4]
push eax
call fcn.0040dcb0
mov dword [edi + 0x84], eax
push dword [0xa43de4]
call esi
test eax, eax
je 0x59c15a
cmp byte [eax], 0
je 0x59c15c
xor eax, eax
mov eax, dword [eax + 0x158]
push 6
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], eax
call fcn.004cfeb0
mov ebx, dword [edi + 0x98]
mov esi, eax
add esp, 4
mov dword [edi + 0x90], esi
cmp esi, 0x1fffffff
jle 0x59c1cf
push 4
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x9715f0
push 0x979a04
push eax
mov dword [ebp - 8], 0xfe
mov dword [ebp - 4], 0
call fcn.0042fe30
add esp, 0x10
lea eax, [esi*4]
mov ecx, ebx
push eax
call fcn.0040dcb0
mov dword [edi + 0x94], eax
mov eax, dword [edi]
mov dword [edi + 0x9c], 0
mov byte [edi + 0xa0], 0
mov eax, dword [eax + 0x3c]
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x59c42b
mov ebx, dword [edi + 0x1c]
lea ecx, [edi + 0x1c]
inc ebx
cmp ebx, dword [ecx + 4]
jle 0x59c234
push ebx
call fcn.004cfeb0
mov ecx, dword [edi + 0x28]
add esp, 4
mov esi, eax
push esi
push dword [edi + 0x20]
push dword [edi + 0x24]
call fcn.00565330
lea ecx, [edi + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
mov eax, dword [ecx + 8]
mov dword [ecx], ebx
mov dword [eax + ebx*4 - 4], 0
mov eax, dword [edi]
mov eax, dword [eax]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
add esp, 8
test eax, eax
je 0x59c278
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov ecx, dword [edi]
push edx
mov ecx, dword [ecx]
push dword [ecx + 0x158]
mov ecx, eax
call fcn.005546b0
mov dword [ebp + 8], eax
jmp 0x59c27f
mov dword [ebp + 8], 0
mov ebx, dword [edi + 0x2c]
lea ecx, [edi + 0x2c]
inc ebx
cmp ebx, dword [ecx + 4]
jle 0x59c2ae
push ebx
call fcn.004cfeb0
mov ecx, dword [edi + 0x38]
add esp, 4
mov esi, eax
push esi
push dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.00565330
lea ecx, [edi + 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
mov eax, dword [ecx + 8]
mov dword [ecx], ebx
mov ecx, dword [ebp + 8]
mov dword [eax + ebx*4 - 4], ecx
mov eax, dword [edi]
mov eax, dword [eax]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
add esp, 8
test eax, eax
je 0x59c2f1
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov ecx, dword [edi]
push edx
mov ecx, dword [ecx]
push dword [ecx + 0x158]
mov ecx, eax
call fcn.005546b0
mov dword [ebp + 8], eax
jmp 0x59c2f8
mov dword [ebp + 8], 0
mov ebx, dword [edi + 0x3c]
lea ecx, [edi + 0x3c]
inc ebx
cmp ebx, dword [ecx + 4]
jle 0x59c327
push ebx
call fcn.004cfeb0
mov ecx, dword [edi + 0x48]
add esp, 4
mov esi, eax
push esi
push dword [edi + 0x40]
push dword [edi + 0x44]
call fcn.00565330
lea ecx, [edi + 0x3c]
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
mov eax, dword [ecx + 8]
mov dword [ecx], ebx
mov ecx, dword [ebp + 8]
mov dword [eax + ebx*4 - 4], ecx
mov eax, dword [edi]
mov eax, dword [eax]
push dword [eax + 0x158]
push 0xc
call fcn.0043f1c0
add esp, 8
test eax, eax
je 0x59c36a
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov ecx, dword [edi]
push edx
mov ecx, dword [ecx]
push dword [ecx + 0x158]
mov ecx, eax
call fcn.005546b0
mov dword [ebp + 8], eax
jmp 0x59c371
mov dword [ebp + 8], 0
mov ebx, dword [edi + 0xc]
lea ecx, [edi + 0xc]
inc ebx
cmp ebx, dword [ecx + 4]
jle 0x59c3a0
push ebx
call fcn.004cfeb0
mov ecx, dword [edi + 0x18]
add esp, 4
mov esi, eax
push esi
push dword [edi + 0x10]
push dword [edi + 0x14]
call fcn.00565330
lea ecx, [edi + 0xc]
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
mov eax, dword [ecx + 8]
mov dword [ecx], ebx
mov ecx, dword [ebp + 8]
mov dword [eax + ebx*4 - 4], ecx
lea ecx, [edi + 0x4c]
mov ebx, dword [ecx]
inc ebx
cmp ebx, dword [ecx + 4]
jle 0x59c3da
push ebx
call fcn.004cfeb0
mov ecx, dword [edi + 0x58]
add esp, 4
mov esi, eax
push esi
push dword [edi + 0x50]
push dword [edi + 0x54]
call fcn.00565330
lea ecx, [edi + 0x4c]
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
mov eax, dword [ecx + 8]
mov dword [ecx], ebx
lea ecx, [edi + 0x5c]
mov dword [eax + ebx*4 - 4], 0
mov ebx, dword [ecx]
inc ebx
cmp ebx, dword [ecx + 4]
jle 0x59c415
push ebx
call fcn.004cfeb0
mov ecx, dword [edi + 0x68]
add esp, 4
mov esi, eax
push esi
push dword [edi + 0x60]
push dword [edi + 0x64]
call fcn.00565330
lea ecx, [edi + 0x5c]
mov dword [ecx + 8], eax
mov dword [ecx + 4], esi
dec dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [ecx], ebx
mov dword [eax + ebx*4 - 4], 0
jne 0x59c205
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8