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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416eb2
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 0x416ddb
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416ddb
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416ddb
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416971
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416971
mov dword [eax + 8], 0xfffffade
jmp 0x416971
inc dword [0x8abeec]
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.004167d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416dca
xor eax, eax
test al, al
jne 0x41696b
nop
lea eax, [0x8ac780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00439a10
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.004167d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x416daa
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0x8ac794], al
mov eax, dword [0x8bef5c]
cmp eax, 1
jne 0x416d94
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x871124]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00439a10
movzx eax, byte [0x8b6ae8]
test al, al
jne 0x416d23
mov eax, dword [0x8abc98]
mov dword [esp + 0x40], eax
mov ecx, dword [0x8abc9c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416a7e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x416ab3
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 [0x8b068c]
cmp eax, ecx
je 0x416a6f
jmp 0x416dfd
call fcn.00418060
lea eax, [0x6b9f1c]
mov dword [esp], eax
call fcn.0044ee90
mov eax, dword [0x8bec10]
mov dword [0x8ac7c0], eax
mov dword [0x8ac7c4], eax
mov ecx, dword [0x8bec18]
cmp eax, ecx
jle 0x416ae8
mov dword [0x8ac7c0], ecx
lea eax, [0x8c2280]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x8ac7f8], eax
mov dword [0x8ac7fc], ecx
mov dword [0x8ac7e8], 0
mov dword [0x8ac7ec], 0
mov eax, dword [esp + 0x14]
mov dword [0x8ac790], eax
call fcn.00451720
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [0x8ac7c8], ecx
mov dword [0x8ac7cc], eax
mov dword [0x8ac7f0], ecx
mov dword [0x8ac7f4], eax
movzx eax, byte [0x8b6ae8]
test al, al
jne 0x416cd4
lea eax, [0x6b9ff4]
mov dword [esp], eax
call fcn.0044ee90
lea eax, [0x6b9f20]
mov dword [esp], eax
call fcn.0044ee90
call fcn.00418f60
inc dword [0x8ac7bc]
lea eax, [0x8bf2a0]
mov dword [esp], eax
call fcn.004151a0
mov eax, dword [0x8c0cec]
mov ecx, dword [0x8c0ce8]
mov dword [0x8ac810], ecx
mov dword [0x8ac814], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416cc6
nop
lea eax, [0x8bec0c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [0x8bec0c]
cmp eax, 1
jne 0x416cbb
mov eax, 1
mov byte [0x8bee54], al
test al, al
je 0x416caf
mov eax, 1
mov byte [0x8bee50], al
nop
mov dword [0x8ac758], 0xffffffff
mov dword [0x8ac764], 0xffffffff
call fcn.0041a050
call fcn.0041d610
lea eax, [0x8bec00]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x8bf2d0], ecx
mov dword [0x8bf2d4], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x44c100]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044ee90
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416c9e
lea eax, [0x8ac780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00439d20
add esp, 0x4c
ret
nop
lea eax, [0x6b9f2c]
mov dword [esp], eax
call fcn.0044ee30
jmp 0x416c7f
movzx eax, byte [0x8bee55]
jmp 0x416bfa
cmp eax, 2
sete al
jmp 0x416be7
mov byte [esp], 0
call fcn.00435fa0
jmp 0x416bbc
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.00444170
jmp 0x416b63
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x8b6b1c]
mov ecx, dword [0x8b6b18]
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.00444170
mov eax, dword [0x8b6b18]
add eax, 1
mov ecx, dword [0x8b6b1c]
mov dword [0x8b6b18], eax
adc ecx, 0
mov dword [0x8b6b1c], ecx
jmp 0x416a57
cmp eax, 2
jne 0x416da3
mov eax, 2
jmp 0x416a21
xor eax, eax
jmp 0x416a21
nop
lea eax, [0x8ac780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00439d20
add esp, 0x4c
ret
call fcn.0041e910
cmp dword [esp], 0xffffffff
setne al
jmp 0x4169a4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416df9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416df9
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.0042b960
lea eax, [0x6a2511]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042c200
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042c040
lea eax, [0x6a1c21]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042c200
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042bf10
lea eax, [0x6a2b07]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042c200
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042bf10
call fcn.0042bb80
call fcn.0042b9d0
lea eax, [0x6a591b]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042ab30
nop
call fcn.0044efb0
jmp fcn.004168f0