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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebx + 0x30]
mov eax, 1
test edi, edi
je 0x5b3c54
push esi
push 0x4c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00802690
mov esi, dword [0x42dc28]
mov edx, dword [0x42dc24]
mov eax, dword [0x42dc1c]
mov ecx, dword [0x42dc20]
add esp, 0xc
push 0
push 0
push 0x4c
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], esi
lea esi, [ebx + 0x188]
push esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], edx
push 0x4c
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x68], 2
mov dword [esp + 0x28], 0xfffff101
mov ecx, dword [edi]
mov eax, dword [ecx + 0x30]
push 0xfffff101
push edi
call eax
mov ecx, dword [ebx + 0x198]
mov edx, dword [ebx + 0x19c]
mov dword [ebx + 0x660], ecx
mov ecx, dword [ebx + 0x1a0]
mov dword [ebx + 0x664], edx
mov edx, dword [ebx + 0x1a4]
mov dword [ebx + 0x668], ecx
mov ecx, dword [ebx + 0x1a8]
mov dword [ebx + 0x670], ecx
mov ecx, dword [ebx + 0x1b0]
mov dword [ebx + 0x66c], edx
mov edx, dword [ebx + 0x1ac]
mov dword [ebx + 0x674], edx
mov edx, dword [ebx + 0x1b4]
mov dword [ebx + 0x678], ecx
mov ecx, dword [ebx + 0x1b8]
mov dword [ebx + 0x680], ecx
mov ecx, dword [ebx + 0x1c0]
mov dword [ebx + 0x67c], edx
mov edx, dword [ebx + 0x1bc]
mov dword [ebx + 0x684], edx
mov edx, dword [ebx + 0x1c4]
mov dword [ebx + 0x688], ecx
movzx ecx, byte [ebx + 0x1c8]
mov dword [ebx + 0x68c], edx
movzx edx, byte [ebx + 0x1c9]
mov dword [ebx + 0x690], ecx
movzx ecx, byte [ebx + 0x1ca]
mov dword [ebx + 0x694], edx
movzx edx, byte [ebx + 0x1cb]
mov dword [ebx + 0x698], ecx
movzx ecx, byte [ebx + 0x1cc]
mov dword [ebx + 0x69c], edx
movzx edx, byte [ebx + 0x1cd]
mov dword [ebx + 0x6a0], ecx
movzx ecx, byte [ebx + 0x1ce]
mov dword [ebx + 0x6a4], edx
movzx edx, byte [ebx + 0x1cf]
mov dword [ebx + 0x6a8], ecx
movzx ecx, byte [ebx + 0x1d0]
mov dword [ebx + 0x6ac], edx
movzx edx, byte [ebx + 0x1d1]
mov dword [ebx + 0x6b0], ecx
movzx ecx, byte [ebx + 0x1d2]
mov dword [ebx + 0x6b4], edx
movzx edx, byte [ebx + 0x1d3]
mov dword [ebx + 0x6b8], ecx
mov dword [ebx + 0x6bc], edx
test eax, eax
js 0x5b3c53
mov eax, dword [ebx + 0x30]
push 0
push 0
push 0x4c
lea edx, [esp + 0x1c]
push edx
push 0x4c
push esi
mov dword [esi], 0xfffff501
mov ecx, dword [eax]
push 0xfffff501
push eax
mov eax, dword [ecx + 0x30]
call eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0xc], 0x12
call fcn.005af860
mov ecx, dword [ebx + 4]
mov dword [esp + 0x5c], eax
call fcn.005af880
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 4]
lea esi, [eax + 0x41c]
mov ecx, 8
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x30]
mov esi, dword [edi]
add ebx, 0x1d4
push ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax + 0xfc]
add eax, 0xfc
lea edx, [esp + 0x64]
push edx
mov edx, dword [ecx + 0x30]
push eax
call edx
push eax
mov eax, dword [esi + 0x18]
push edi
call eax
pop esi
mov ecx, dword [esp + 0x80]
pop edi
pop ebx
xor ecx, esp
call fcn.0080262b
add esp, 0x7c
ret