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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4184d2
sub esp, 0x4c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x4183f9
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x4183f9
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x4183f9
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417fa1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417fa1
mov dword [eax + 8], 0xfffffade
jmp 0x417fa1
inc dword [0xce188c]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.00417de0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4183e8
xor eax, eax
test al, al
jne 0x417f9b
nop
lea eax, [0xce21e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004394a0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
call fcn.00417de0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4183d0
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4183c5
mov eax, 1
mov byte [0xce21f4], al
mov eax, dword [0xcf4d5c]
cmp eax, 1
jne 0x4183af
mov eax, 1
mov dword [esp + 0x14], eax
nop
lea ecx, [0x857154]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004394a0
movzx eax, byte [0xcec728]
test al, al
jne 0x41833e
mov eax, dword [0xce16c8]
mov dword [esp + 0x40], eax
mov ecx, dword [0xce16cc]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4180a6
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x4180dd
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x34]
test byte [ebx], al
test byte [ecx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402760
mov eax, dword [esp + 4]
mov ecx, dword [0xce630c]
cmp eax, ecx
je 0x418097
jmp 0x41841b
call fcn.00419620
call fcn.0041a3b0
mov eax, dword [0xcf49ac]
mov dword [0xce2220], eax
mov dword [0xce2224], eax
mov ecx, dword [0xcf49b4]
cmp eax, ecx
jle 0x418109
mov dword [0xce2220], ecx
lea eax, [0xcf8070]
mov dword [esp], eax
call fcn.00402960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xce2258], eax
mov dword [0xce225c], ecx
mov dword [0xce2248], 0
mov dword [0xce224c], 0
mov eax, dword [esp + 0x14]
mov dword [0xce21f0], eax
call fcn.00451210
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0xce2228], eax
mov dword [0xce222c], ecx
mov dword [0xce2250], eax
mov dword [0xce2254], ecx
movzx eax, byte [0xcec728]
test al, al
jne 0x4182ef
lea eax, [0x9794b0]
mov dword [esp], eax
call fcn.0044ead0
lea eax, [0x9793d4]
mov dword [esp], eax
call fcn.0044ead0
call fcn.0041a530
inc dword [0xce221c]
lea eax, [0xcf50a0]
mov dword [esp], eax
call fcn.004164f0
mov eax, dword [0xcf6aec]
mov ecx, dword [0xcf6ae8]
mov dword [0xce2270], ecx
mov dword [0xce2274], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4182e1
nop
lea eax, [0xcf49a8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402940
mov eax, dword [0xcf49a8]
cmp eax, 1
jne 0x4182d6
mov eax, 1
mov byte [0xcf4c24], al
test al, al
je 0x4182ca
mov eax, 1
mov byte [0xcf4c20], al
nop
mov dword [0xce21b8], 0xffffffff
mov dword [0xce21c4], 0xffffffff
call fcn.0041b1b0
call fcn.0041e720
lea eax, [0xcf499c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402940
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0xcf50d0], ecx
mov dword [0xcf50d4], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x44c190]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044ead0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4182b8
nop
lea eax, [0xce21e0]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004397b0
add esp, 0x4c
ret
nop
nop
lea eax, [0x9793e4]
mov dword [esp], eax
call fcn.0044ea70
jmp 0x4182a0
movzx eax, byte [0xcf4c25]
jmp 0x41821b
cmp eax, 2
sete al
jmp 0x418208
mov byte [esp], 0
call fcn.00435c00
jmp 0x4181dd
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004441b0
jmp 0x418184
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xcec75c]
mov ecx, dword [0xcec758]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004441b0
mov eax, dword [0xcec758]
add eax, 1
mov ecx, dword [0xcec75c]
mov dword [0xcec758], eax
adc ecx, 0
mov dword [0xcec75c], ecx
jmp 0x41807f
cmp eax, 2
jne 0x4183be
mov eax, 2
jmp 0x418050
xor eax, eax
jmp 0x418050
cmp eax, 3
sete al
jmp 0x418036
nop
lea eax, [0xce21e0]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004397b0
add esp, 0x4c
ret
call fcn.0041ef50
cmp dword [esp], 0xffffffff
setne al
jmp 0x417fd4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418417
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418417
mov dword [eax + 8], 0xfffffade
add esp, 0x4c
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
call fcn.0042b4f0
lea eax, [0x95555e]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042bd80
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042bbd0
lea eax, [0x95493a]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042bd80
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042baa0
lea eax, [0x955dc7]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042bd80
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042baa0
call fcn.0042b710
call fcn.0042b560
lea eax, [0x95a0f9]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042ac60
ud2
call fcn.0044ebf0
jmp fcn.00417f20