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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9e1d
sub esp, 0x54
mov eax, dword [esp + 0x60]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x14
jne 0x4a9bab
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
mov ebx, dword [esp + 0x6c]
cmp ebx, ecx
jae 0x4a9e03
mov dword [esp + 0x34], edx
lea ecx, [edx + ebx*8]
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004a17e0
mov eax, dword [esp + 8]
movzx eax, byte [eax]
test al, 1
je 0x4a9d87
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
test eax, eax
je 0x4a9d0b
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x6c]
cmp edx, 0x186a0
jae 0x4a9d04
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x34]
lea eax, [eax + edx*8 + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004a1820
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax*4 + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x54
ret
mov dword [esp], eax
call fcn.004a1be0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x6c]
cmp edx, eax
jae 0x4a9cea
shl edx, 4
mov eax, dword [ecx + edx + 8]
mov dword [esp + 0x28], eax
mov ebx, dword [ecx + edx + 4]
mov dword [esp + 0x24], ebx
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004a17e0
mov eax, dword [esp + 8]
movzx eax, byte [eax]
test al, 1
je 0x4a9c6e
lea eax, [0x7d01e0]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
call fcn.004a1860
mov eax, dword [0xcc2260]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4a9c5c
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.004a1820
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
jmp 0x4a9b9b
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040f360
jmp 0x4a9c37
mov dword [esp], 0
lea eax, [0x849abf]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
lea eax, [0x8519b4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.0043cf40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040c380
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004278c0
ud2
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [0x9b0520]
mov dword [esp + 4], eax
call fcn.004278c0
ud2
call fcn.00426a70
ud2
mov dword [esp], 0
lea eax, [0x849abf]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
lea eax, [0x85981c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x21
call fcn.0043cf40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0040c380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004278c0
ud2
mov dword [esp], 0
lea eax, [0x849abf]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
lea eax, [0x8519b4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.0043cf40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040c380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004278c0
ud2
lea eax, [0x7cfea0]
mov dword [esp], eax
lea eax, [0x9b0518]
mov dword [esp + 4], eax
call fcn.004278c0
ud2
call fcn.0044c200
jmp fcn.004a9ae0