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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418872
add esp, 0xffffff80
mov eax, dword [0x610170]
test eax, eax
je 0x418257
sub esp, 0xffffff80
ret
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.0044c280
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x41885b
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x4187ff
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4187e9
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.00404800
movzx eax, byte [esp + 4]
test al, al
jne 0x4187d3
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00413b40
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4182f6
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [0x60fe08]
cmp eax, ecx
je 0x4182f2
lea ecx, [0x5af560]
jmp 0x41878b
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x418324
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x41876d
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x41876d
cmp dword [edx], 0x10
jae 0x41876d
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044c280
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x41836f
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x4188f0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00467460
sub esp, 0xffffff80
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x418711
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.00460cb0
movzx eax, byte [esp + 4]
test al, al
jne 0x418673
mov eax, dword [esp + 0x44]
cmp word [eax + 0x20], 1
jne 0x4185e7
mov dword [esp], eax
call fcn.00460b70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jbe 0x4185de
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x50]
cmp eax, ecx
je 0x418479
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x41842e
cmp dl, 0x14
jne 0x4185d7
mov edx, dword [eax + 0x28]
test edx, edx
je 0x418479
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.0044c280
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040a960
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x418479
jmp 0x4185ce
mov dword [esp], eax
call fcn.00460180
mov eax, dword [esp + 4]
test eax, eax
jne 0x418445
mov eax, 1
jmp 0x41845d
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00460180
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x4185c5
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
cmp dword [edx + 0x20], ecx
jne 0x41853d
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00460bf0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
xor edx, edx
xor ebx, ebx
jmp 0x4184cf
mov dword [esp + 0x38], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x40], ecx
movzx ebp, byte [ecx + 0xd]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00454970
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x40]
add ebx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jl 0x41849b
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00454970
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
call fcn.00417d50
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00468b5a
lea eax, [0x418880]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.00467460
sub esp, 0xffffff80
ret
mov dword [esp], edx
call fcn.004600f0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.004600f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x514027]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x50ce14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00453720
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043b160
mov edx, dword [esp + 0x50]
jmp 0x41853d
mov edx, dword [esp + 0x50]
jmp 0x41853d
mov edx, ecx
jmp 0x41853d
xor eax, eax
mov ecx, eax
call fcn.00468a00
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004600f0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.004600f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x514027]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x50ce14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00453720
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043b160
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004600f0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.004600f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x514027]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x50ce14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x50e209]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.004537d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043b160
mov dword [esp], ecx
call fcn.004600f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x51544b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x50d7c2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.00453680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043b160
lea eax, [0x517440]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.0043b160
mov ecx, dword [ecx + 0x118]
mov eax, edx
test ecx, ecx
je 0x4187bd
mov edx, eax
cmp dword [ecx + 0x60], eax
ja 0x41879b
cmp dword [ecx + 0x64], eax
ja 0x4187b9
cmp dword [ecx + 0x68], eax
ja 0x4187a5
cmp dword [ecx + 0x6c], eax
ja 0x4187b9
cmp dword [ecx + 0x70], eax
ja 0x4187af
cmp dword [ecx + 0x74], eax
ja 0x4187b9
cmp dword [ecx + 0x78], eax
ja 0x418783
cmp dword [ecx + 0x7c], eax
jbe 0x418783
sub esp, 0xffffff80
ret
lea eax, [0x516a3f]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.0043b160
lea eax, [0x517400]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.0043b160
lea eax, [0x50d1a2]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043b160
mov dword [esp], ecx
call fcn.004600f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5151c2]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x50ca26]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.00453680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043b160
lea eax, [0x515939]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0043b160
nop
call fcn.00467570
jmp fcn.00418230