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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417ab1
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 0x4179da
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x4179da
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x4179da
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417569
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417569
mov dword [eax + 8], 0xfffffade
jmp 0x417571
inc dword [0xc868dc]
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.004173d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4179c9
xor eax, eax
test al, al
jne 0x41756b
nop
lea eax, [0xc872e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00441440
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.004173d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4179a9
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0xc872f4], al
mov eax, dword [0xc98b9c]
cmp eax, 1
jne 0x417993
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0xa1d14c]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00441440
movzx eax, byte [0xc90668]
test al, al
jne 0x417922
mov eax, dword [0xc86650]
mov dword [esp + 0x40], eax
mov ecx, dword [0xc86654]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x41767e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x4176b3
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, 0x358
mov dword [esp], ebx
call fcn.00401fc0
mov eax, dword [esp + 4]
mov ecx, dword [0xc8a268]
cmp eax, ecx
je 0x41766f
jmp 0x4179fc
call fcn.00418c60
lea eax, [0x79744c]
mov dword [esp], eax
call fcn.00458050
mov eax, dword [0xc987a4]
mov dword [0xc87320], eax
mov dword [0xc87324], eax
mov ecx, dword [0xc987ac]
cmp eax, ecx
jle 0x4176e8
mov dword [0xc87320], ecx
lea eax, [0xc9bf40]
mov dword [esp], eax
call fcn.004021d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xc87358], eax
mov dword [0xc8735c], ecx
mov dword [0xc87348], 0
mov dword [0xc8734c], 0
mov eax, dword [esp + 0x14]
mov dword [0xc872f0], eax
call fcn.0045a9c0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0xc87328], eax
mov dword [0xc8732c], ecx
mov dword [0xc87350], eax
mov dword [0xc87354], ecx
movzx eax, byte [0xc90668]
test al, al
jne 0x4178d4
lea eax, [0x797530]
mov dword [esp], eax
call fcn.00458050
lea eax, [0x797450]
mov dword [esp], eax
call fcn.00458050
call fcn.00419af0
inc dword [0xc8731c]
lea eax, [0xc98f60]
mov dword [esp], eax
call fcn.00415ba0
mov eax, dword [0xc9a9ac]
mov ecx, dword [0xc9a9a8]
mov dword [0xc87370], ecx
mov dword [0xc87374], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4178c6
nop
lea eax, [0xc987a0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021b0
mov eax, dword [0xc987a0]
cmp eax, 1
jne 0x4178bb
mov eax, 1
mov byte [0xc98a24], al
test al, al
je 0x4178af
mov eax, 1
mov byte [0xc98a20], al
nop
mov dword [0xc872b8], 0xffffffff
mov dword [0xc872c4], 0xffffffff
call fcn.00419f50
call fcn.0041d870
lea eax, [0xc98794]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0xc98f90], ecx
mov dword [0xc98f94], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x455400]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00458050
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41789e
lea eax, [0xc872e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441750
add esp, 0x4c
ret
nop
lea eax, [0x797464]
mov dword [esp], eax
call fcn.00457ff0
jmp 0x41787f
movzx eax, byte [0xc98a25]
jmp 0x4177fa
cmp eax, 2
sete al
jmp 0x4177e7
mov byte [esp], 0
call fcn.0043da20
jmp 0x4177bc
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.0044d4a0
jmp 0x417763
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xc9069c]
mov ecx, dword [0xc90698]
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.0044d4a0
mov eax, dword [0xc90698]
add eax, 1
mov ecx, dword [0xc9069c]
mov dword [0xc90698], eax
adc ecx, 0
mov dword [0xc9069c], ecx
jmp 0x417657
cmp eax, 2
jne 0x4179a2
mov eax, 2
jmp 0x417621
xor eax, eax
jmp 0x417621
nop
lea eax, [0xc872e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441750
add esp, 0x4c
ret
call fcn.0041fab0
cmp dword [esp], 0xffffffff
setne al
jmp 0x4175a4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4179f8
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4179f8
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]
mov dword [esp + 0x1c], eax
call fcn.00432680
lea eax, [0x77c759]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00432f20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00432d60
lea eax, [0x77bc1d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432f20
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432c30
lea eax, [0x77ce53]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00432f20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432c30
call fcn.004328a0
call fcn.004326f0
lea eax, [0x780588]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430e00
nop
call fcn.00458170
jmp fcn.004174f0