Function at 0x5aec70
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 0x5aec91
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.00506420
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 0x5aed29
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 0x5aed2c
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.004f6e50
mov edi, eax
xor esi, esi
cmp edi, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
jle 0x5aee8c
push esi
mov ecx, ebx
call fcn.004ceb70
mov ecx, dword [eax + 0x8c]
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
jle 0x5aee7f
jmp 0x5aed96
mov eax, dword [esp + 0x10]
push ebp
mov ecx, eax
call fcn.0057f0c0
push 0x28
mov esi, eax
call fcn.005d35ea
add esp, 4
test eax, eax
je 0x5aedb9
mov ecx, eax
call fcn.005ae7f0
mov edi, eax
jmp 0x5aedbb
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 0x5aee2b
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 0x5aee32
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.005d22a9
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x5aed92
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
inc esi
cmp esi, edi
mov dword [esp + 0x24], esi
jl 0x5aed70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4