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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417a3e
sub esp, 0x50
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 0x417965
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x417965
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x417965
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417461
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417461
mov dword [eax + 8], 0xfffffade
jmp 0x417461
inc dword [0x78393c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.004172c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417954
xor eax, eax
test al, al
jne 0x41745b
nop
lea eax, [0x7a12bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00443280
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.004172c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x417934
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x7a12d0], al
mov eax, dword [0x7a0af8]
cmp eax, 1
jne 0x41791e
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x74f184]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00443280
nop
lea eax, [0x74f1a4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00443280
movzx eax, byte [0x78ca28]
test al, al
jne 0x4178ad
mov eax, dword [0x783660]
mov dword [esp + 0x44], eax
mov ecx, dword [0x783664]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x417592
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4175c7
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401fa0
mov eax, dword [esp + 4]
mov ecx, dword [0x7884ac]
cmp eax, ecx
je 0x417583
jmp 0x417987
call fcn.00418df0
lea eax, [0x6271d0]
mov dword [esp], eax
call fcn.0045c790
mov eax, dword [0x7a0714]
mov dword [0x7a12fc], eax
mov dword [0x7a1300], eax
mov ecx, dword [0x7a0728]
cmp eax, ecx
jle 0x4175fc
mov dword [0x7a12fc], ecx
lea eax, [0x7a41b8]
mov dword [esp], eax
call fcn.004021a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x7a1338], eax
mov dword [0x7a1334], ecx
mov dword [0x7a1324], 0
mov dword [0x7a1328], 0
mov eax, dword [esp + 0x14]
mov dword [0x7a12cc], eax
call fcn.0045eea0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x7a1308], eax
mov dword [0x7a1304], ecx
mov dword [0x7a1330], eax
mov dword [0x7a132c], ecx
movzx eax, byte [0x78ca28]
test al, al
jne 0x41785e
lea eax, [0x6272ac]
mov dword [esp], eax
call fcn.0045c790
lea eax, [0x6271d4]
mov dword [esp], eax
call fcn.0045c790
call fcn.00419cb0
inc dword [0x7a12f8]
lea eax, [0x7a0f20]
mov dword [esp], eax
call fcn.00415ab0
mov eax, dword [0x7a2c08]
mov ecx, dword [0x7a2c0c]
mov dword [0x7a134c], eax
mov dword [0x7a1350], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417850
nop
lea eax, [0x7a0710]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [0x7a0710]
cmp eax, 1
jne 0x417845
mov eax, 1
mov byte [0x7a0974], al
test al, al
je 0x417839
mov eax, 1
mov byte [0x7a0970], al
nop
mov dword [0x7a1298], 0xffffffff
mov dword [0x7a12a4], 0xffffffff
call fcn.0041a2f0
call fcn.0041dd90
lea eax, [0x7a0704]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x7a0f50], eax
mov dword [0x7a0f54], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x456240]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045c790
nop
lea eax, [0x74f1a4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00443590
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417831
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417829
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417818
lea eax, [0x7a12bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00443590
add esp, 0x50
ret
nop
lea eax, [0x6271e8]
mov dword [esp], eax
call fcn.0045c730
jmp 0x4177f9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4177f7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4177f7
movzx eax, byte [0x7a0975]
jmp 0x41770e
cmp eax, 2
sete al
jmp 0x4176fb
mov byte [esp], 0
call fcn.0043f780
jmp 0x4176d0
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.0044e180
jmp 0x417677
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x78ca58]
mov ecx, dword [0x78ca5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
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.0044e180
mov eax, dword [0x78ca58]
add eax, 1
mov ecx, dword [0x78ca5c]
mov dword [0x78ca58], eax
adc ecx, 0
mov dword [0x78ca5c], ecx
jmp 0x41756b
cmp eax, 2
jne 0x41792d
mov eax, 2
jmp 0x417511
xor eax, eax
jmp 0x417511
nop
lea eax, [0x7a12bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00443590
add esp, 0x50
ret
call fcn.00420220
cmp dword [esp], 0xffffffff
setne al
jmp 0x417494
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417983
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417983
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.00433a70
lea eax, [0x610d3f]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434370
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00434180
lea eax, [0x610412]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00434370
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00434010
lea eax, [0x61134c]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00434370
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00434010
call fcn.00433c90
call fcn.00433ae0
lea eax, [0x614052]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004321d0
nop
call fcn.0045c8b0
jmp fcn.004173e0