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 0x4171a2
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 0x4170cb
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x4170cb
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x4170cb
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 [0x8ae1ec]
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.00416ac0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4170ba
xor eax, eax
test al, al
jne 0x416c5b
nop
lea eax, [0x8aea80]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00439f20
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.00416ac0
movzx eax, byte [esp + 0x10]
test al, al
je 0x41709a
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0x8aea94], al
mov eax, dword [0x8c125c]
cmp eax, 1
jne 0x417084
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x873128]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00439f20
movzx eax, byte [0x8b8de8]
test al, al
jne 0x417013
mov eax, dword [0x8adf98]
mov dword [esp + 0x40], eax
mov ecx, dword [0x8adf9c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416d6e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x416da3
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 [0x8b298c]
cmp eax, ecx
je 0x416d5f
jmp 0x4170ed
call fcn.00418380
lea eax, [0x6bb090]
mov dword [esp], eax
call fcn.0044f3c0
mov eax, dword [0x8c0f10]
mov dword [0x8aeac0], eax
mov dword [0x8aeac4], eax
mov ecx, dword [0x8c0f18]
cmp eax, ecx
jle 0x416dd8
mov dword [0x8aeac0], ecx
lea eax, [0x8c4580]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x8aeaf8], eax
mov dword [0x8aeafc], ecx
mov dword [0x8aeae8], 0
mov dword [0x8aeaec], 0
mov eax, dword [esp + 0x14]
mov dword [0x8aea90], eax
call fcn.00451c50
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [0x8aeac8], ecx
mov dword [0x8aeacc], eax
mov dword [0x8aeaf0], ecx
mov dword [0x8aeaf4], eax
movzx eax, byte [0x8b8de8]
test al, al
jne 0x416fc4
lea eax, [0x6bb168]
mov dword [esp], eax
call fcn.0044f3c0
lea eax, [0x6bb094]
mov dword [esp], eax
call fcn.0044f3c0
call fcn.00419280
inc dword [0x8aeabc]
lea eax, [0x8c15a0]
mov dword [esp], eax
call fcn.00415310
mov eax, dword [0x8c2fec]
mov ecx, dword [0x8c2fe8]
mov dword [0x8aeb10], ecx
mov dword [0x8aeb14], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416fb6
nop
lea eax, [0x8c0f0c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [0x8c0f0c]
cmp eax, 1
jne 0x416fab
mov eax, 1
mov byte [0x8c1154], al
test al, al
je 0x416f9f
mov eax, 1
mov byte [0x8c1150], al
nop
mov dword [0x8aea58], 0xffffffff
mov dword [0x8aea64], 0xffffffff
call fcn.0041a370
call fcn.0041d950
lea eax, [0x8c0f00]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x8c15d0], ecx
mov dword [0x8c15d4], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x44c620]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044f3c0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416f8e
lea eax, [0x8aea80]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043a230
add esp, 0x4c
ret
nop
lea eax, [0x6bb0a0]
mov dword [esp], eax
call fcn.0044f360
jmp 0x416f6f
movzx eax, byte [0x8c1155]
jmp 0x416eea
cmp eax, 2
sete al
jmp 0x416ed7
mov byte [esp], 0
call fcn.00436490
jmp 0x416eac
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.00444680
jmp 0x416e53
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x8b8e1c]
mov ecx, dword [0x8b8e18]
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.00444680
mov eax, dword [0x8b8e18]
add eax, 1
mov ecx, dword [0x8b8e1c]
mov dword [0x8b8e18], eax
adc ecx, 0
mov dword [0x8b8e1c], ecx
jmp 0x416d47
cmp eax, 2
jne 0x417093
mov eax, 2
jmp 0x416d11
xor eax, eax
jmp 0x416d11
nop
lea eax, [0x8aea80]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043a230
add esp, 0x4c
ret
call fcn.0041ec60
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 0x4170e9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4170e9
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.0042bd10
lea eax, [0x6a35f6]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042c6e0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042c520
lea eax, [0x6a2d10]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042c6e0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042c3f0
lea eax, [0x6a3be0]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c6e0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042c3f0
call fcn.0042bf30
call fcn.0042bd80
lea eax, [0x6a69f4]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042aee0
nop
call fcn.0044f4e0
jmp fcn.00416be0