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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp ebx, ebp
mov dword [esp + 0x10], esi
jne 0x59c4c1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esi + 8]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x2c], ebp
mov ecx, dword [eax + 0x19c]
mov eax, dword [eax + 0x1f4]
push eax
call fcn.004f3a00
mov edx, dword [esi]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x50]
mov ecx, esi
push eax
call dword [edx + 8]
lea ecx, [ebx + 0xf0]
lea edx, [esi + 0x54]
push ebp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x208]
mov dword [esi + 0x64], eax
mov eax, dword [ebx]
push ebp
mov ecx, ebx
call dword [eax + 0x210]
mov dword [esi + 0x68], eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x200]
mov dword [esi + 0x6c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e8]
test eax, eax
je 0x59c559
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1e8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x80]
mov dword [esi + 0x70], eax
jmp 0x59c55c
mov dword [esi + 0x70], ebp
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x1e0]
mov dword [esi + 0x74], eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1f0]
mov dword [esi + 0x78], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1f8]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x7c], eax
call fcn.004bbef0
mov edi, eax
xor esi, esi
cmp edi, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
jle 0x59c6bc
push esi
mov ecx, ebx
call fcn.004bbf70
mov ecx, dword [eax + 0x8c]
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
jle 0x59c6af
jmp 0x59c5c6
mov eax, dword [esp + 0x10]
push ebp
mov ecx, eax
call fcn.0056c8a0
push 0x28
mov esi, eax
call fcn.005bdc25
add esp, 4
test eax, eax
je 0x59c5e9
mov ecx, eax
call fcn.0059c020
mov edi, eax
jmp 0x59c5eb
xor edi, edi
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x208]
mov dword [edi + 4], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x208]
mov dword [edi + 8], eax
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x210]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x210]
mov dword [edi + 0x10], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x200]
mov dword [edi + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
test eax, eax
je 0x59c65b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1e8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x80]
mov dword [edi + 0x18], eax
jmp 0x59c662
mov dword [edi + 0x18], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e0]
mov dword [edi + 0x1c], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1f0]
mov dword [edi + 0x20], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f8]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x24], eax
add ecx, 0x3c
push edi
mov edx, dword [ecx + 8]
push edx
call fcn.005bc7cb
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x59c5c2
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
inc esi
cmp esi, edi
mov dword [esp + 0x24], esi
jl 0x59c5a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4