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

Disassembly:
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x417c3d
sub esp, 0x88
mov eax, dword [0x57ffc8]
test eax, eax
je 0x41759f
add esp, 0x88
ret
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044cc00
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x417c26
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x417bbe
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x417ba8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.004055e0
movzx eax, byte [esp + 4]
test al, al
jne 0x417b92
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.0046b620
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x417641
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.004174f0
movzx eax, byte [esp + 4]
test al, al
je 0x417b7c
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.00428c60
movzx eax, byte [esp + 4]
test al, al
je 0x417666
xor eax, eax
jmp 0x41767d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x44]
mov dword [esp], ecx
call fcn.00410920
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
jne 0x417687
mov eax, dword [esp + 0x3c]
jmp 0x4176ad
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x3e]
mov byte [esp], al
call fcn.00428c50
movzx eax, byte [esp + 4]
test al, al
je 0x4176a9
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 8]
jmp 0x4176ad
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x4176f5
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4176ca
mov edx, 1
jmp 0x4176e1
mov dword [esp], edx
call fcn.004013d0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x58]
test dl, dl
jne 0x417b66
mov edx, dword [eax + 0x20]
cmp dword [edx], 0x10
jae 0x417b66
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0044cc00
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x41773c
lea eax, [0x417cc0]
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.004703d0
add esp, 0x88
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x417afe
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
call fcn.00401b50
movzx eax, byte [esp + 4]
test al, al
jne 0x417a48
mov eax, dword [esp + 0x4c]
cmp word [eax + 0x20], 1
jne 0x4179a4
mov dword [esp], eax
call fcn.004019e0
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
cmp eax, ecx
je 0x41782f
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x4177e4
cmp dl, 0x14
jne 0x41799d
mov edx, dword [eax + 0x28]
test edx, edx
je 0x41782f
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044cc00
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.0040a9b0
mov eax, dword [esp + 8]
test eax, eax
jne 0x41782f
jmp 0x417994
mov dword [esp], eax
call fcn.00401560
mov eax, dword [esp + 4]
test eax, eax
jne 0x4177fb
mov eax, 1
jmp 0x417813
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 0x41798b
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x20], ecx
jne 0x4178eb
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00401a80
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 0x417885
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.00453890
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 0x417851
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00453890
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
call fcn.00417040
lea eax, [0x417c50]
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.004703d0
add esp, 0x88
ret
mov dword [esp], edx
call fcn.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
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.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d823a]
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, [0x4d289c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00452a70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
mov edx, dword [esp + 0x58]
jmp 0x4178eb
mov edx, dword [esp + 0x58]
jmp 0x4178eb
mov edx, ecx
jmp 0x4178eb
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
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.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d823a]
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, [0x4d289c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00452a70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
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.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d823a]
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, [0x4d289c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x4d3815]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.00452b20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
mov dword [esp], ecx
call fcn.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d9610]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4d2fe4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.004529e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
lea eax, [0x4db6f2]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.0046c450
lea eax, [0x4dab16]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.0046c450
lea eax, [0x4db5b0]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.0046c450
lea eax, [0x4d288e]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0046c450
mov dword [esp], ecx
call fcn.00463930
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.00462ed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4d9339]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4d2436]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.004529e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046c450
lea eax, [0x4d9af7]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0046c450
nop
call fcn.004704c0
jmp fcn.00417570