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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418b6f
add esp, 0xffffff80
mov eax, dword [0x717dec]
test eax, eax
jne 0x4187b3
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00448ab0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x418b58
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x418afc
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x418ae6
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00413be0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41861a
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [0x717a24]
cmp eax, ecx
je 0x418616
lea ecx, [0x6c25c0]
jmp 0x418a9e
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x418648
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x418a80
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x418a80
cmp dword [edx], 0x10
jae 0x418a80
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00448ab0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x418693
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x417ff0]
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.00463960
sub esp, 0xffffff80
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x418a24
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.0045e370
movzx eax, byte [esp + 4]
test al, al
jne 0x418986
mov eax, dword [esp + 0x44]
cmp word [eax + 0x20], 1
jne 0x4188fa
mov dword [esp], eax
call fcn.0045e260
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x50]
cmp eax, ecx
je 0x418791
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x418746
cmp dl, 0x14
jne 0x4188f3
mov edx, dword [eax + 0x28]
test edx, edx
je 0x418791
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00448ab0
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.0040aba0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x418791
jmp 0x4188ea
mov dword [esp], eax
call fcn.0045d870
mov eax, dword [esp + 4]
test eax, eax
jne 0x41875d
mov eax, 1
jmp 0x418775
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0045d870
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x4188e1
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
cmp dword [edx + 0x20], ecx
jne 0x418859
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0045e2d0
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 0x4187eb
sub esp, 0xffffff80
ret
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.00452740
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 0x4187b7
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00452740
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
call fcn.00418150
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00464f3a
lea eax, [0x417f80]
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.00463960
sub esp, 0xffffff80
ret
mov dword [esp], edx
call fcn.0045d7f0
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.0045d7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5dbe05]
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, [0x5d1eeb]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00451870
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004382f0
mov edx, dword [esp + 0x50]
jmp 0x418859
mov edx, dword [esp + 0x50]
jmp 0x418859
mov edx, ecx
jmp 0x418859
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0045d7f0
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.0045d7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5dbe05]
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, [0x5d1eeb]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00451870
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004382f0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0045d7f0
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.0045d7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5dbe05]
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, [0x5d1eeb]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x5d3e06]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.00451920
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004382f0
mov dword [esp], ecx
call fcn.0045d7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5dd817]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x5d2d95]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.004517d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004382f0
lea eax, [0x5e0016]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.004382f0
mov ecx, dword [ecx + 0x110]
mov eax, edx
test ecx, ecx
je 0x418ad0
mov edx, eax
cmp dword [ecx + 0x60], eax
ja 0x418aae
cmp dword [ecx + 0x64], eax
ja 0x418acc
cmp dword [ecx + 0x68], eax
ja 0x418ab8
cmp dword [ecx + 0x6c], eax
ja 0x418acc
cmp dword [ecx + 0x70], eax
ja 0x418ac2
cmp dword [ecx + 0x74], eax
ja 0x418acc
cmp dword [ecx + 0x78], eax
ja 0x418a96
cmp dword [ecx + 0x7c], eax
jbe 0x418a96
sub esp, 0xffffff80
ret
lea eax, [0x5df2b0]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.004382f0
lea eax, [0x5d24c5]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004382f0
mov dword [esp], ecx
call fcn.0045d7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5dd470]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x5d18e7]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.004517d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004382f0
lea eax, [0x5dde2f]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.004382f0
nop
call fcn.00463a70
jmp fcn.00418570