Function at 0x485180
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 0x48572a
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.00490f20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x50], edx
mov ebx, eax
and eax, 0x1f
mov dword [esp + 0x4c], eax
cmp eax, 0x17
jne 0x4856c8
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0048e870
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4856b4
cmp eax, 1
je 0x4856a0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], ecx
call fcn.00490190
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], ecx
test eax, eax
je 0x48524b
mov eax, dword [eax + 4]
lea edx, [0x6ffe40]
cmp edx, eax
jne 0x485688
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
movzx edx, byte [ecx + 0xf]
test dl, 0x80
jne 0x48545d
cmp eax, 4
je 0x4853db
and edx, 0x1f
cmp edx, 0x18
je 0x485359
mov dword [esp], ecx
call fcn.0040cdb0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
lea ecx, [0x6d64e0]
mov dword [esp], ecx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
lea ecx, [0x492e50]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x48533d
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x485321
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x485308
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x90]
jmp 0x4852fa
mov dword [esp], edx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x90]
jmp 0x4852e6
mov dword [esp], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x90]
jmp 0x4852c8
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
lea ebx, [0x6c03a0]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x492c20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4853c2
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x8c]
jmp 0x4853b4
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
lea ebx, [0x6c0340]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
lea ecx, [0x492b70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x485444
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x88]
jmp 0x485436
cmp eax, 2
ja 0x48557d
cmp eax, 1
je 0x4854fb
cmp eax, 2
je 0x485479
jmp 0x485281
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
lea ebx, [0x6c0160]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea ecx, [0x492db0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4854e2
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x84]
jmp 0x4854d4
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
lea ebx, [0x6c0280]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
lea ecx, [0x492e00]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x485564
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x80]
jmp 0x485556
cmp eax, 4
je 0x48560c
cmp eax, 8
je 0x485590
jmp 0x485281
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [eax]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
lea ebx, [0x6c0220]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
lea ecx, [0x492d00]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4855f6
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x7c]
jmp 0x4855e8
mov eax, dword [esp + 0x54]
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 + 0x68], eax
lea ebx, [0x6c01c0]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
lea ecx, [0x492d60]
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 [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x485672
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x78]
jmp 0x485664
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x6f6920]
mov dword [esp + 8], eax
call fcn.0040a700
ud2
lea eax, [0x719984]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
lea eax, [0x719980]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
lea ecx, [0x6ca0e0]
mov dword [esp], ecx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 4], 7
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x485712
lea ecx, [0x705702]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x6bcc20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004254e0
ud2
mov dword [esp], eax
lea ecx, [0x705702]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x74]
jmp 0x4856f7
call fcn.004486b0
jmp fcn.00485180