Function at 0x5a3870
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 0x5a3891
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.004fadd0
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 0x5a3929
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 0x5a392c
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.004c32c0
mov edi, eax
xor esi, esi
cmp edi, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
jle 0x5a3a8c
push esi
mov ecx, ebx
call fcn.004c3340
mov ecx, dword [eax + 0x8c]
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
jle 0x5a3a7f
jmp 0x5a3996
mov eax, dword [esp + 0x10]
push ebp
mov ecx, eax
call fcn.00573c70
push 0x28
mov esi, eax
call fcn.005c4ff5
add esp, 4
test eax, eax
je 0x5a39b9
mov ecx, eax
call fcn.005a33f0
mov edi, eax
jmp 0x5a39bb
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 0x5a3a2b
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 0x5a3a32
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.005c3b9b
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x5a3992
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
inc esi
cmp esi, edi
mov dword [esp + 0x24], esi
jl 0x5a3970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4