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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41723e
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 0x417165
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x417165
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x417165
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416c61
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416c61
mov dword [eax + 8], 0xfffffade
jmp 0x416c61
inc dword [0x674dac]
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.00416ac0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417154
xor eax, eax
test al, al
jne 0x416c5b
nop
lea eax, [0x69277c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442500
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.00416ac0
movzx eax, byte [esp + 0x10]
test al, al
je 0x417134
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x692790], al
mov eax, dword [0x692158]
cmp eax, 1
jne 0x41711e
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x65a110]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442500
nop
lea eax, [0x65a130]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442500
movzx eax, byte [0x67dd48]
test al, al
jne 0x4170ad
mov eax, dword [0x674c00]
mov dword [esp + 0x44], eax
mov ecx, dword [0x674c04]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416d92
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x416dc7
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 [0x6797cc]
cmp eax, ecx
je 0x416d83
jmp 0x417187
call fcn.004185f0
lea eax, [0x582544]
mov dword [esp], eax
call fcn.0045adc0
mov eax, dword [0x691e74]
mov dword [0x6927bc], eax
mov dword [0x6927c0], eax
mov ecx, dword [0x691e88]
cmp eax, ecx
jle 0x416dfc
mov dword [0x6927bc], ecx
lea eax, [0x694e78]
mov dword [esp], eax
call fcn.004021a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x6927f8], eax
mov dword [0x6927f4], ecx
mov dword [0x6927e4], 0
mov dword [0x6927e8], 0
mov eax, dword [esp + 0x14]
mov dword [0x69278c], eax
call fcn.0045d4b0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x6927c8], eax
mov dword [0x6927c4], ecx
mov dword [0x6927f0], eax
mov dword [0x6927ec], ecx
movzx eax, byte [0x67dd48]
test al, al
jne 0x41705e
lea eax, [0x582614]
mov dword [esp], eax
call fcn.0045adc0
lea eax, [0x582548]
mov dword [esp], eax
call fcn.0045adc0
call fcn.004194b0
inc dword [0x6927b8]
lea eax, [0x6924e0]
mov dword [esp], eax
call fcn.004152b0
mov eax, dword [0x6938c8]
mov ecx, dword [0x6938cc]
mov dword [0x69280c], eax
mov dword [0x692810], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417050
nop
lea eax, [0x691e70]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [0x691e70]
cmp eax, 1
jne 0x417045
mov eax, 1
mov byte [0x692004], al
test al, al
je 0x417039
mov eax, 1
mov byte [0x692000], al
nop
mov dword [0x692758], 0xffffffff
mov dword [0x692764], 0xffffffff
call fcn.00419af0
call fcn.0041d590
lea eax, [0x691e64]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x692510], eax
mov dword [0x692514], 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, [0x455150]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045adc0
nop
lea eax, [0x65a130]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442810
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 0x417031
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417029
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417018
lea eax, [0x69277c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442810
add esp, 0x50
ret
nop
lea eax, [0x58255c]
mov dword [esp], eax
call fcn.0045ad60
jmp 0x416ff9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x416ff7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x416ff7
movzx eax, byte [0x692005]
jmp 0x416f0e
cmp eax, 2
sete al
jmp 0x416efb
mov byte [esp], 0
call fcn.0043ea00
jmp 0x416ed0
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.0044d090
jmp 0x416e77
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x67dd78]
mov ecx, dword [0x67dd7c]
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.0044d090
mov eax, dword [0x67dd78]
add eax, 1
mov ecx, dword [0x67dd7c]
mov dword [0x67dd78], eax
adc ecx, 0
mov dword [0x67dd7c], ecx
jmp 0x416d6b
cmp eax, 2
jne 0x41712d
mov eax, 2
jmp 0x416d11
xor eax, eax
jmp 0x416d11
nop
lea eax, [0x69277c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442810
add esp, 0x50
ret
call fcn.0041fa20
cmp dword [esp], 0xffffffff
setne al
jmp 0x416c94
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417183
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417183
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.00432d50
lea eax, [0x5740d5]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00433650
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00433460
lea eax, [0x573721]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00433650
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004332f0
lea eax, [0x574797]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00433650
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004332f0
call fcn.00432f70
call fcn.00432dc0
lea eax, [0x577c57]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00431580
nop
call fcn.0045aee0
jmp fcn.00416be0