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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4a1282
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.004ae210
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, ecx
and ecx, 0x1f
cmp ecx, 0x17
jne 0x4a11fe
mov dword [esp + 0x94], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x90], edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004ab200
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a11ea
cmp eax, 1
je 0x4a11d6
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.004ad6c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x9b7360]
cmp ecx, edx
jne 0x4a1264
movzx ecx, byte [eax + 0xf]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test cl, 0x80
jne 0x4a0fad
cmp edx, 4
je 0x4a0f2e
and ecx, 0x1f
cmp ecx, 0x18
je 0x4a0ea9
mov dword [esp + 0x8c], eax
mov dword [esp], eax
call fcn.0040eb30
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
lea ecx, [0x8045c0]
mov dword [esp], ecx
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
lea ecx, [0x4b0220]
mov dword [eax], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0e8a
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 0xc]
lea ebx, [eax + 0x10]
test ecx, ecx
jne 0x4a0e50
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x10], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x84], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x88]
jmp 0x4a0e42
mov dword [esp], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x88]
jmp 0x4a0e1a
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax]
mov dword [esp + 0x50], eax
lea ebx, [0x7e5080]
mov dword [esp], ebx
call fcn.0040eaf0
mov eax, dword [esp + 4]
lea ecx, [0x4b0010]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0f0e
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x80], eax
mov dword [esp], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x80]
jmp 0x4a0f00
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
lea ebx, [0x7e5020]
mov dword [esp], ebx
call fcn.0040eaf0
mov eax, dword [esp + 4]
lea ecx, [0x4aff80]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0f93
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x7c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x7c]
jmp 0x4a0f85
cmp edx, 2
ja 0x4a10c6
cmp edx, 1
je 0x4a1047
cmp edx, 2
jne 0x4a0dcb
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
lea ebx, [0x7e4e40]
mov dword [esp], ebx
call fcn.0040eaf0
mov eax, dword [esp + 4]
lea ecx, [0x4b0180]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a102d
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x78], eax
mov dword [esp], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x78]
jmp 0x4a101f
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
mov dword [esp + 0x64], eax
lea ebx, [0x7e4f60]
mov dword [esp], ebx
call fcn.0040eaf0
mov eax, dword [esp + 4]
lea ecx, [0x4b01d0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a10ac
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x74], eax
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x74]
jmp 0x4a109e
cmp edx, 4
je 0x4a1157
cmp edx, 8
jne 0x4a0dcb
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax]
mov dword [esp + 0x58], eax
lea ebx, [0x7e4f00]
mov dword [esp], ebx
call fcn.0040eaf0
mov eax, dword [esp + 4]
lea ecx, [0x4b00c0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a113d
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x70], eax
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x70]
jmp 0x4a112f
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
lea ebx, [0x7e4ea0]
mov dword [esp], ebx
call fcn.0040eaf0
mov eax, dword [esp + 4]
lea ecx, [0x4b0130]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xcc2260]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a11bc
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x6c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x6c]
jmp 0x4a11ae
lea eax, [0x9756d4]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
lea eax, [0x9756d0]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x48], ecx
lea eax, [0x7f2f60]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [eax + 4], 7
mov ecx, dword [0xcc2260]
test ecx, ecx
jne 0x4a1233
lea ecx, [0x8476c1]
mov dword [eax], ecx
jmp 0x4a1245
mov dword [esp], eax
lea ecx, [0x8476c1]
mov dword [esp + 4], ecx
call fcn.0040f360
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 8], eax
lea eax, [0x7df820]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004278c0
ud2
mov dword [esp], ecx
lea eax, [0x83d500]
mov dword [esp + 4], eax
lea eax, [0x831700]
mov dword [esp + 8], eax
call fcn.0040c090
ud2
call fcn.0044c200
jmp fcn.004a0cd0