Function at 0x4a0b60
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 0x4a1112
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.004ae020
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 0x4a108e
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.004ab090
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a107a
cmp eax, 1
je 0x4a1066
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.004ad550
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, [0x804b00]
cmp ecx, edx
jne 0x4a10f4
movzx ecx, byte [eax + 0xf]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test cl, 0x80
jne 0x4a0e3d
cmp edx, 4
je 0x4a0dbe
and ecx, 0x1f
cmp ecx, 0x18
je 0x4a0d39
mov dword [esp + 0x8c], eax
mov dword [esp], eax
call fcn.0040ea20
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
lea ecx, [0x771900]
mov dword [esp], ecx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
lea ecx, [0x4b0030]
mov dword [eax], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0d1a
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0xc]
lea ebx, [eax + 0x10]
test ecx, ecx
jne 0x4a0ce0
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.0040f250
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x88]
jmp 0x4a0cd2
mov dword [esp], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x88]
jmp 0x4a0caa
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, [0x7560c0]
mov dword [esp], ebx
call fcn.0040e9e0
mov eax, dword [esp + 4]
lea ecx, [0x4afe20]
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 [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0d9e
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.0040f250
mov eax, dword [esp + 0x80]
jmp 0x4a0d90
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, [0x756060]
mov dword [esp], ebx
call fcn.0040e9e0
mov eax, dword [esp + 4]
lea ecx, [0x4afd90]
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 [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0e23
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.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x4a0e15
cmp edx, 2
ja 0x4a0f56
cmp edx, 1
je 0x4a0ed7
cmp edx, 2
jne 0x4a0c5b
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, [0x755e80]
mov dword [esp], ebx
call fcn.0040e9e0
mov eax, dword [esp + 4]
lea ecx, [0x4aff90]
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 [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0ebd
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.0040f250
mov eax, dword [esp + 0x78]
jmp 0x4a0eaf
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, [0x755fa0]
mov dword [esp], ebx
call fcn.0040e9e0
mov eax, dword [esp + 4]
lea ecx, [0x4affe0]
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 [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0f3c
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.0040f250
mov eax, dword [esp + 0x74]
jmp 0x4a0f2e
cmp edx, 4
je 0x4a0fe7
cmp edx, 8
jne 0x4a0c5b
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, [0x755f40]
mov dword [esp], ebx
call fcn.0040e9e0
mov eax, dword [esp + 4]
lea ecx, [0x4afed0]
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 [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a0fcd
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.0040f250
mov eax, dword [esp + 0x70]
jmp 0x4a0fbf
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, [0x755ee0]
mov dword [esp], ebx
call fcn.0040e9e0
mov eax, dword [esp + 4]
lea ecx, [0x4aff40]
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 [0xa08230]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4a104c
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.0040f250
mov eax, dword [esp + 0x6c]
jmp 0x4a103e
lea eax, [0x7d04c4]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
lea eax, [0x7d04c0]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x48], ecx
lea eax, [0x763800]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [eax + 4], 7
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x4a10c3
lea ecx, [0x7b62df]
mov dword [eax], ecx
jmp 0x4a10d5
mov dword [esp], eax
lea ecx, [0x7b62df]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 8], eax
lea eax, [0x750c40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004277b0
ud2
mov dword [esp], ecx
lea eax, [0x7a1120]
mov dword [esp + 4], eax
lea eax, [0x795c80]
mov dword [esp + 8], eax
call fcn.0040bf70
ud2
call fcn.0044be50
jmp fcn.004a0b60