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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9c02
sub esp, 0x68
mov eax, 0
lea edi, [esp + 0x54]
call fcn.0045e87b
mov byte [esp + 0x23], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
call fcn.004a77a0
movzx eax, byte [esp + 4]
test al, al
je 0x4a997e
mov eax, dword [esp + 0x6c]
xor ecx, ecx
xor edx, edx
jmp 0x4a99a7
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0x12f]
test cl, cl
je 0x4a999b
mov ecx, dword [0x7ef7b8]
mov edx, dword [0x7ef7bc]
jmp 0x4a99a7
lea ecx, [0x69f974]
lea edx, [0x816bf0]
test ecx, ecx
jne 0x4a9bdc
lea ecx, [0x6562d4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0x74]
cmp ecx, 0x40000000
jle 0x4a99d3
mov ecx, 0x40000000
mov dword [esp + 0x28], ecx
lea edx, [eax + 0xf8]
mov dword [esp + 0x50], edx
mov dword [esp], edx
call fcn.0046f740
lea eax, [0x656668]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 1
call fcn.00489fe0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x4a9b9d
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x10]
lea esi, [0x6566bc]
mov dword [esp + 0x54], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], 0
mov byte [esp + 0x23], 7
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0045e87b
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x24]
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.0048e090
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
test ecx, ecx
je 0x4a9b06
mov dword [esp + 0x24], 0
test edx, edx
je 0x4a9b06
lea eax, [0x6245c0]
cmp dword [edx + 4], eax
jne 0x4a9b06
cmp dword [ebx], 0x26
jne 0x4a9b06
mov ecx, dword [0x7ef7e8]
mov ebp, dword [0x7ef7ec]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a9b35
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a9b35
test ecx, ecx
jne 0x4a9b35
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax + 0x12e]
test al, al
je 0x4a9b35
mov ecx, dword [0x7ef7e8]
mov ebp, dword [0x7ef7ec]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebp
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
call fcn.00489fe0
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.0046fae0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004a7d60
add esp, 0x68
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.0046fae0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004a7d60
add esp, 0x68
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x68
ret
call fcn.0045d190
jmp fcn.004a9910