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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418523
sub esp, 0x5c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x417f4f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x417f4f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x417f4f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x417f77
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417f77
mov dword [eax + 8], 0xfffffade
jmp 0x417f77
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x417f6d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417f6d
mov dword [eax + 8], 0xfffffade
add esp, 0x5c
ret
inc dword [0x14a49cc]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.00417d60
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417fa8
xor eax, eax
jmp 0x417fb4
call fcn.00425f90
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x417f71
lea eax, [0x14a5b18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0044f910
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.00417d60
movzx eax, byte [esp + 0x10]
test al, al
je 0x418115
mov eax, dword [esp + 0x60]
cmp eax, 2
sete cl
mov byte [0x14a5b2c], cl
mov ecx, dword [0x14d1b38]
cmp ecx, 1
jne 0x41802e
mov ecx, 1
jmp 0x41803c
cmp ecx, 2
jne 0x41803a
mov ecx, 2
jmp 0x41803c
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea eax, [0x13a92ac]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0044f910
lea eax, [0x13a92cc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0044f910
movzx eax, byte [0x14b56a8]
test al, al
je 0x4180fd
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [0x14b56d8]
mov ecx, dword [0x14b56dc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0045c9c0
mov eax, dword [0x14b56d8]
add eax, 1
mov ecx, dword [0x14b56dc]
mov dword [0x14b56d8], eax
adc ecx, 0
mov dword [0x14b56dc], ecx
mov eax, dword [0x14a4060]
mov dword [esp + 0x50], eax
mov ecx, dword [0x14a4064]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x418144
nop
lea eax, [0x14a5b18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044fc20
add esp, 0x5c
ret
mov ebx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jge 0x418179
mov dword [esp + 0x30], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00402430
mov eax, dword [esp + 4]
mov ecx, dword [0x14b1100]
cmp ecx, eax
je 0x418135
jmp 0x41846c
call fcn.00419f50
lea eax, [0xdb4908]
mov dword [esp], eax
call fcn.0046b170
mov eax, dword [0x14d129c]
mov dword [0x14a5b58], eax
mov dword [0x14a5b5c], eax
mov ecx, dword [0x14d12b8]
cmp ecx, eax
jge 0x4181ae
mov dword [0x14a5b58], ecx
lea eax, [0x14d28a0]
mov dword [esp], eax
call fcn.00402680
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x14a5b94], eax
mov dword [0x14a5b90], ecx
mov dword [0x14a5b80], 0
mov dword [0x14a5b84], 0
mov eax, dword [esp + 0x20]
mov dword [0x14a5b28], eax
call fcn.0046d5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [0x14a5b64], eax
mov dword [0x14a5b60], ecx
mov dword [0x14a5b8c], eax
mov dword [0x14a5b88], ecx
movzx eax, byte [0x14b56a8]
test al, al
je 0x41826f
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0045c9c0
lea eax, [0xdb49e8]
mov dword [esp], eax
call fcn.0046b170
lea eax, [0xdb490c]
mov dword [esp], eax
call fcn.0046b170
call fcn.0041afe0
inc dword [0x14a5b54]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x14d129c]
lea ebx, [0x14d2820]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.004202a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [0x14d1be0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.0041b620
mov eax, dword [esp + 0x20]
test eax, eax
je 0x418312
mov byte [esp], 0
call fcn.0044a8e0
lea eax, [0x14d1298]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402650
mov eax, dword [0x14d1298]
cmp eax, 1
jne 0x41833a
mov eax, 1
jmp 0x418340
cmp eax, 2
sete al
mov byte [0x14d1794], al
test al, al
je 0x418351
mov eax, 1
jmp 0x418358
movzx eax, byte [0x14d1795]
mov byte [0x14d1790], al
nop
mov dword [0x14a5ad8], 0xffffffff
mov dword [0x14a5ae4], 0xffffffff
call fcn.0041c3b0
call fcn.00420120
lea eax, [0x14d1290]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402650
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [0x418530]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call fcn.0046b170
lea eax, [0x13a92cc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044fc20
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x418436
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41842e
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x41843c
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x41843c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41844c
lea eax, [0xdb4924]
mov dword [esp], eax
call fcn.0046b110
nop
lea eax, [0x14a5b18]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044fc20
add esp, 0x5c
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
call fcn.0043d780
lea eax, [0xd526a1]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043e060
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043de60
lea eax, [0xd502fa]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e060
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0043dd00
lea eax, [0xd54004]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043e060
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043dd00
call fcn.0043d9a0
call fcn.0043d7f0
lea eax, [0xd5f15b]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0043bb80
nop
call fcn.0046b280
jmp fcn.00417ee0