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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416d12
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 0x416c3b
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416c3b
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416c3b
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4167d1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4167d1
mov dword [eax + 8], 0xfffffade
jmp 0x4167d1
inc dword [0x810ffc]
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.00416630
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416c2a
xor eax, eax
test al, al
jne 0x4167cb
nop
lea eax, [0x811780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00439890
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.00416630
movzx eax, byte [esp + 0x10]
test al, al
je 0x416c0a
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0x811794], al
mov eax, dword [0x823f5c]
cmp eax, 1
jne 0x416bf4
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x7d811c]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00439890
movzx eax, byte [0x81bae8]
test al, al
jne 0x416b83
mov eax, dword [0x810e40]
mov dword [esp + 0x40], eax
mov ecx, dword [0x810e44]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4168de
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x416913
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 [0x81568c]
cmp eax, ecx
je 0x4168cf
jmp 0x416c5d
call fcn.00417ef0
lea eax, [0x65e0f0]
mov dword [esp], eax
call fcn.0044e980
mov eax, dword [0x823c0c]
mov dword [0x8117c0], eax
mov dword [0x8117c4], eax
mov ecx, dword [0x823c14]
cmp eax, ecx
jle 0x416948
mov dword [0x8117c0], ecx
lea eax, [0x827280]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x8117f8], eax
mov dword [0x8117fc], ecx
mov dword [0x8117e8], 0
mov dword [0x8117ec], 0
mov eax, dword [esp + 0x14]
mov dword [0x811790], eax
call fcn.004511f0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [0x8117c8], ecx
mov dword [0x8117cc], eax
mov dword [0x8117f0], ecx
mov dword [0x8117f4], eax
movzx eax, byte [0x81bae8]
test al, al
jne 0x416b34
lea eax, [0x65e1c8]
mov dword [esp], eax
call fcn.0044e980
lea eax, [0x65e0f4]
mov dword [esp], eax
call fcn.0044e980
call fcn.00418df0
inc dword [0x8117bc]
lea eax, [0x8242a0]
mov dword [esp], eax
call fcn.00414e80
mov eax, dword [0x825cec]
mov ecx, dword [0x825ce8]
mov dword [0x811810], ecx
mov dword [0x811814], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416b26
nop
lea eax, [0x823c08]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [0x823c08]
cmp eax, 1
jne 0x416b1b
mov eax, 1
mov byte [0x823e54], al
test al, al
je 0x416b0f
mov eax, 1
mov byte [0x823e50], al
nop
mov dword [0x811758], 0xffffffff
mov dword [0x811764], 0xffffffff
call fcn.00419ee0
call fcn.0041d4c0
lea eax, [0x823bfc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x8242d0], ecx
mov dword [0x8242d4], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x44bbe0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044e980
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416afe
lea eax, [0x811780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00439ba0
add esp, 0x4c
ret
nop
lea eax, [0x65e100]
mov dword [esp], eax
call fcn.0044e920
jmp 0x416adf
movzx eax, byte [0x823e55]
jmp 0x416a5a
cmp eax, 2
sete al
jmp 0x416a47
mov byte [esp], 0
call fcn.00435ea0
jmp 0x416a1c
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.00443c40
jmp 0x4169c3
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x81bb1c]
mov ecx, dword [0x81bb18]
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.00443c40
mov eax, dword [0x81bb18]
add eax, 1
mov ecx, dword [0x81bb1c]
mov dword [0x81bb18], eax
adc ecx, 0
mov dword [0x81bb1c], ecx
jmp 0x4168b7
cmp eax, 2
jne 0x416c03
mov eax, 2
jmp 0x416881
xor eax, eax
jmp 0x416881
nop
lea eax, [0x811780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00439ba0
add esp, 0x4c
ret
call fcn.0041e7d0
cmp dword [esp], 0xffffffff
setne al
jmp 0x416804
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416c59
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416c59
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.0042b720
lea eax, [0x6486d2]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042c0f0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042bf30
lea eax, [0x647e6b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042c0f0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042be00
lea eax, [0x648c98]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c0f0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042be00
call fcn.0042b940
call fcn.0042b790
lea eax, [0x64b7d7]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042a8f0
nop
call fcn.0044eaa0
jmp fcn.00416750