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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a4c22
sub esp, 0x58
mov eax, 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], 0x80000002
lea eax, [0x593646]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x37
mov dword [esp + 0xc], 9
call fcn.00495ae0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a4a9f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [0x4a4c30]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], ecx
mov byte [esp + 0x2b], 1
mov dword [esp], eax
call fcn.00495bd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a4a6e
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
xor edx, edx
jmp 0x4a4ad2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x58
ret
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
cmp edx, ecx
jge 0x4a4b64
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov dword [esp + 0x50], ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
call fcn.004a4620
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4a4ac3
movzx eax, byte [esp + 0x1c]
test al, al
je 0x4a4ac3
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
mov dword [esp], 0
lea eax, [0x58d4d4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
lea eax, [0x58b84c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x17
call fcn.0044d040
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
lea edx, [0x566c40]
mov dword [esp], edx
call fcn.0040bd30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6c4f80]
test ecx, ecx
jne 0x4a4bdd
mov ecx, dword [esp + 0x48]
jmp 0x4a4be8
call fcn.00460ef0
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x5c0414]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
call fcn.0045faf0
jmp fcn.004a49a0