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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4186e2
sub esp, 0x88
mov eax, dword [0x588068]
test eax, eax
je 0x41802f
add esp, 0x88
ret
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044f1b0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4186cb
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x418663
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x41864d
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.00405790
movzx eax, byte [esp + 4]
test al, al
jne 0x418637
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0046e640
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4180d1
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00417f80
movzx eax, byte [esp + 4]
test al, al
je 0x418621
add esp, 0x88
ret
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
movzx ecx, byte [eax + 0x3e]
mov byte [esp], cl
call fcn.00429a70
movzx eax, byte [esp + 4]
test al, al
je 0x4180f6
xor eax, eax
jmp 0x41810d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x44]
mov dword [esp], ecx
call fcn.004111b0
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
jne 0x418117
mov eax, dword [esp + 0x3c]
jmp 0x41813d
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x3e]
mov byte [esp], al
call fcn.00429a60
movzx eax, byte [esp + 4]
test al, al
je 0x418139
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 8]
jmp 0x41813d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x418185
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x41815a
mov edx, 1
jmp 0x418171
mov dword [esp], edx
call fcn.004013c0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x58]
test dl, dl
jne 0x41860b
mov edx, dword [eax + 0x20]
cmp dword [edx], 0x10
jae 0x41860b
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0044f1b0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4181cc
lea eax, [0x418760]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.004735b0
add esp, 0x88
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x4185a3
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
call fcn.00401b80
movzx eax, byte [esp + 4]
test al, al
jne 0x4184ed
mov eax, dword [esp + 0x4c]
cmp word [eax + 0x20], 1
jne 0x418449
mov dword [esp], eax
call fcn.004019e0
mov eax, dword [esp + 8]
test eax, eax
jbe 0x418440
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
cmp eax, ecx
je 0x4182cb
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x418280
cmp dl, 0x14
jne 0x418439
mov edx, dword [eax + 0x28]
test edx, edx
je 0x4182cb
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044f1b0
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b150
mov eax, dword [esp + 8]
test eax, eax
jne 0x4182cb
jmp 0x418430
mov dword [esp], eax
call fcn.00401560
mov eax, dword [esp + 4]
test eax, eax
jne 0x418297
mov eax, 1
jmp 0x4182af
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401560
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x418427
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x20], ecx
jne 0x418387
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00401a90
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
xor edx, edx
xor ebx, ebx
jmp 0x418321
mov dword [esp + 0x40], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
movzx ebp, byte [ecx + 0xd]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00456040
mov eax, dword [esp + 0x48]
mov ebx, dword [eax]
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
add ebx, dword [esp + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
cmp edx, ecx
jl 0x4182ed
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00456040
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
call fcn.00417ac0
lea eax, [0x4186f0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.004735b0
add esp, 0x88
ret
mov dword [esp], edx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4de53f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x4d8a5c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00455130
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046f470
mov edx, dword [esp + 0x58]
jmp 0x418387
mov edx, dword [esp + 0x58]
jmp 0x418387
mov edx, ecx
jmp 0x418387
xor eax, eax
mov ecx, eax
call fcn.00474b20
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4de53f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x4d8a5c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00455130
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046f470
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4de53f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x4d8a5c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x4d99d5]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.004551e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046f470
mov dword [esp], ecx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4df93b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4d91a4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.004550a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046f470
lea eax, [0x4e1adb]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.0046f470
lea eax, [0x4e0eff]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.0046f470
lea eax, [0x4e1999]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.0046f470
lea eax, [0x4d8a4e]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0046f470
mov dword [esp], ecx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00465ce0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4df664]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4d85f6]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.004550a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046f470
lea eax, [0x4dfe22]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0046f470
nop
call fcn.004736a0
jmp fcn.00418000