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

Disassembly:
sub esp, 0x844
mov eax, dword [0x5be410]
xor eax, esp
mov dword [esp + 0x840], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x850]
push 0x5765b8
lea ecx, [esi + 0xc]
call dword [0x5756d4]
test edi, edi
jne 0x4a6119
lea eax, [edi + 0x32]
jmp 0x4a638d
push ebx
lea ecx, [esi + 0xf9]
call fcn.004969f0
push 0x2c
push 8
test al, al
je 0x4a61a3
movzx eax, word [esi + 0x74]
mov word [esp + 0x14], ax
movzx eax, word [esi + 0x76]
mov word [esp + 0x16], ax
movzx eax, word [esi + 0x78]
mov word [esp + 0x18], ax
movzx eax, word [esi + 0x7a]
mov word [esp + 0x1a], ax
movzx eax, word [esi + 0x7c]
mov word [esp + 0x1c], ax
movzx eax, word [esi + 0x7e]
mov word [esp + 0x1e], ax
movzx eax, word [esi + 0x80]
mov word [esp + 0x20], ax
movzx eax, word [esi + 0x82]
mov word [esp + 0x22], ax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005461b0
add esp, 0x10
lea eax, [esp + 0x4c]
push eax
push dword [0x5bd244]
push dword [0x5bd240]
jmp 0x4a6383
movsx eax, byte [esi + 0x24]
mov word [esp + 0x34], ax
movsx eax, byte [esi + 0x28]
mov word [esp + 0x36], ax
movsx eax, byte [esi + 0x2c]
mov word [esp + 0x38], ax
movsx eax, byte [esi + 0x30]
mov word [esp + 0x3a], ax
movsx eax, byte [esi + 0x34]
mov word [esp + 0x3c], ax
movsx eax, byte [esi + 0x38]
mov word [esp + 0x3e], ax
movsx eax, byte [esi + 0x3c]
mov word [esp + 0x40], ax
movsx eax, byte [esi + 0x40]
mov word [esp + 0x42], ax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005465d0
add esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push dword [0x5bd238]
push dword [0x5bd230]
call fcn.0048b980
movzx eax, word [esi + 0x26]
mov word [esp + 0xc], ax
movzx eax, word [esi + 0x2a]
mov word [esp + 0xe], ax
movzx eax, word [esi + 0x2e]
mov word [esp + 0x10], ax
movzx eax, word [esi + 0x32]
mov word [esp + 0x12], ax
movzx eax, word [esi + 0x36]
mov word [esp + 0x14], ax
movzx eax, word [esi + 0x3a]
mov word [esp + 0x16], ax
movzx eax, word [esi + 0x3e]
mov word [esp + 0x18], ax
movzx eax, word [esi + 0x42]
push 0x2c
mov word [esp + 0x1e], ax
lea eax, [esp + 0x10]
push 8
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005461b0
add esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push dword [0x5bd23c]
push dword [0x5bd230]
call fcn.0048b980
lea ecx, [esi + 0xf9]
call fcn.004969a0
test al, al
je 0x4a638a
movsx eax, byte [esi + 0x44]
mov word [esp + 0x2c], ax
movsx eax, byte [esi + 0x48]
mov word [esp + 0x2e], ax
movsx eax, byte [esi + 0x4c]
mov word [esp + 0x30], ax
movsx eax, byte [esi + 0x50]
mov word [esp + 0x32], ax
movsx eax, byte [esi + 0x54]
mov word [esp + 0x34], ax
movsx eax, byte [esi + 0x58]
mov word [esp + 0x36], ax
movsx eax, byte [esi + 0x5c]
mov word [esp + 0x38], ax
movsx eax, byte [esi + 0x60]
push 0x2c
mov word [esp + 0x3e], ax
lea eax, [esp + 0x30]
push 8
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005465d0
add esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push dword [0x5bd238]
push dword [0x5bd234]
call fcn.0048b980
movzx eax, word [esi + 0x46]
mov word [esp + 0xc], ax
movzx eax, word [esi + 0x4a]
mov word [esp + 0xe], ax
movzx eax, word [esi + 0x4e]
mov word [esp + 0x10], ax
movzx eax, word [esi + 0x52]
mov word [esp + 0x12], ax
movzx eax, word [esi + 0x56]
mov word [esp + 0x14], ax
movzx eax, word [esi + 0x5a]
mov word [esp + 0x16], ax
movzx eax, word [esi + 0x5e]
mov word [esp + 0x18], ax
movzx eax, word [esi + 0x62]
push 0x2c
mov word [esp + 0x1e], ax
lea eax, [esp + 0x10]
push 8
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005461b0
add esp, 0x10
lea eax, [esp + 0x4c]
push eax
push dword [0x5bd23c]
push dword [0x5bd234]
mov ecx, edi
call fcn.0048b980
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x848]
pop edi
pop esi
xor ecx, esp
call fcn.0054462a
add esp, 0x844
ret 4