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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41795b
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 0x417884
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x417884
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x417884
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417381
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417381
mov dword [eax + 8], 0xfffffade
jmp 0x417381
inc dword [0xa761bc]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.004171d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417873
xor eax, eax
test al, al
jne 0x41737b
nop
lea eax, [0xa8cfe0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004412c0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.004171d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x417853
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0xa8cff4], al
mov eax, dword [0xa8c81c]
cmp eax, 1
jne 0x41783d
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0xa34168]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004412c0
nop
lea eax, [0xa34188]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004412c0
movzx eax, byte [0xa84248]
test al, al
jne 0x4177cc
mov eax, dword [0xa75db0]
mov dword [esp + 0x44], eax
mov ecx, dword [0xa75db4]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4174b2
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4174e7
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.00401f10
mov eax, dword [esp + 4]
mov ecx, dword [0xa7d9ec]
cmp eax, ecx
je 0x4174a3
jmp 0x4178a6
call fcn.00418bb0
lea eax, [0x80a31c]
mov dword [esp], eax
call fcn.0045acc0
mov eax, dword [0xa8c3cc]
mov dword [0xa8d020], eax
mov dword [0xa8d024], eax
mov ecx, dword [0xa8c3e0]
cmp eax, ecx
jle 0x41751c
mov dword [0xa8d020], ecx
lea eax, [0xa8fec0]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xa8d058], eax
mov dword [0xa8d05c], ecx
mov dword [0xa8d048], 0
mov dword [0xa8d04c], 0
mov eax, dword [esp + 0x14]
mov dword [0xa8cff0], eax
call fcn.0045d340
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0xa8d028], eax
mov dword [0xa8d02c], ecx
mov dword [0xa8d050], eax
mov dword [0xa8d054], ecx
movzx eax, byte [0xa84248]
test al, al
jne 0x41777e
lea eax, [0x80a404]
mov dword [esp], eax
call fcn.0045acc0
lea eax, [0x80a320]
mov dword [esp], eax
call fcn.0045acc0
call fcn.00419a20
inc dword [0xa8d01c]
lea eax, [0xa8cc40]
mov dword [esp], eax
call fcn.004159a0
mov eax, dword [0xa8e928]
mov ecx, dword [0xa8e92c]
mov dword [0xa8d070], eax
mov dword [0xa8d074], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417770
nop
lea eax, [0xa8c3c8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [0xa8c3c8]
cmp eax, 1
jne 0x417765
mov eax, 1
mov byte [0xa8c6b4], al
test al, al
je 0x417759
mov eax, 1
mov byte [0xa8c6b0], al
nop
mov dword [0xa8cfb8], 0xffffffff
mov dword [0xa8cfc4], 0xffffffff
call fcn.00419e90
call fcn.0041daa0
lea eax, [0xa8c3bc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0xa8cc70], eax
mov dword [0xa8cc74], 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, [0x453ea0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045acc0
nop
lea eax, [0xa34188]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004415d0
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 0x417751
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417749
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417738
lea eax, [0xa8cfe0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004415d0
add esp, 0x50
ret
nop
lea eax, [0x80a334]
mov dword [esp], eax
call fcn.0045ac60
jmp 0x417719
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x417717
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x417717
movzx eax, byte [0xa8c6b5]
jmp 0x41762e
cmp eax, 2
sete al
jmp 0x41761b
mov byte [esp], 0
call fcn.0043dfe0
jmp 0x4175f0
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.0044bff0
jmp 0x417597
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xa84278]
mov ecx, dword [0xa8427c]
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.0044bff0
mov eax, dword [0xa84278]
add eax, 1
mov ecx, dword [0xa8427c]
mov dword [0xa84278], eax
adc ecx, 0
mov dword [0xa8427c], ecx
jmp 0x41748b
cmp eax, 2
jne 0x41784c
mov eax, 2
jmp 0x417431
xor eax, eax
jmp 0x417431
nop
lea eax, [0xa8cfe0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004415d0
add esp, 0x50
ret
call fcn.004200a0
cmp dword [esp], 0xffffffff
setne al
jmp 0x4173b4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4178a2
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4178a2
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.00432c90
lea eax, [0x7e6e87]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00433530
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00433360
lea eax, [0x7e596b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00433530
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433230
lea eax, [0x7e7b17]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00433530
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433230
call fcn.00432eb0
call fcn.00432d00
lea eax, [0x7ed6f4]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004313e0
nop
call fcn.0045ade0
jmp fcn.00417300