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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417561
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 0x41748a
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x41748a
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x41748a
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417019
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417019
mov dword [eax + 8], 0xfffffade
jmp 0x417021
inc dword [0xb4126c]
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.00416e80
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417479
xor eax, eax
test al, al
jne 0x41701b
nop
lea eax, [0xb41e00]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004413f0
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.00416e80
movzx eax, byte [esp + 0x10]
test al, al
je 0x417459
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0xb41e14], al
mov eax, dword [0xb5365c]
cmp eax, 1
jne 0x417443
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0xb05150]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004413f0
movzx eax, byte [0xb4b188]
test al, al
jne 0x4173d2
mov eax, dword [0xb41010]
mov dword [esp + 0x40], eax
mov ecx, dword [0xb41014]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x41712e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x417163
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.00401fc0
mov eax, dword [esp + 4]
mov ecx, dword [0xb44d88]
cmp eax, ecx
je 0x41711f
jmp 0x4174ac
call fcn.00418710
lea eax, [0x806070]
mov dword [esp], eax
call fcn.00457cc0
mov eax, dword [0xb532c0]
mov dword [0xb41e40], eax
mov dword [0xb41e44], eax
mov ecx, dword [0xb532c8]
cmp eax, ecx
jle 0x417198
mov dword [0xb41e40], ecx
lea eax, [0xb56b00]
mov dword [esp], eax
call fcn.004021d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xb41e78], eax
mov dword [0xb41e7c], ecx
mov dword [0xb41e68], 0
mov dword [0xb41e6c], 0
mov eax, dword [esp + 0x14]
mov dword [0xb41e10], eax
call fcn.0045a630
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0xb41e48], eax
mov dword [0xb41e4c], ecx
mov dword [0xb41e70], eax
mov dword [0xb41e74], ecx
movzx eax, byte [0xb4b188]
test al, al
jne 0x417384
lea eax, [0x806158]
mov dword [esp], eax
call fcn.00457cc0
lea eax, [0x806074]
mov dword [esp], eax
call fcn.00457cc0
call fcn.004195a0
inc dword [0xb41e3c]
lea eax, [0xb53a20]
mov dword [esp], eax
call fcn.004157f0
mov eax, dword [0xb5556c]
mov ecx, dword [0xb55568]
mov dword [0xb41e90], ecx
mov dword [0xb41e94], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417376
nop
lea eax, [0xb532bc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021b0
mov eax, dword [0xb532bc]
cmp eax, 1
jne 0x41736b
mov eax, 1
mov byte [0xb53504], al
test al, al
je 0x41735f
mov eax, 1
mov byte [0xb53500], al
nop
mov dword [0xb41dd8], 0xffffffff
mov dword [0xb41de4], 0xffffffff
call fcn.00419a00
call fcn.0041d350
lea eax, [0xb532b0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0xb53a50], ecx
mov dword [0xb53a54], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x4551a0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00457cc0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41734e
lea eax, [0xb41e00]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441700
add esp, 0x4c
ret
nop
lea eax, [0x806088]
mov dword [esp], eax
call fcn.00457c60
jmp 0x41732f
movzx eax, byte [0xb53505]
jmp 0x4172aa
cmp eax, 2
sete al
jmp 0x417297
mov byte [esp], 0
call fcn.0043d9b0
jmp 0x41726c
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.0044d240
jmp 0x417213
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xb4b1bc]
mov ecx, dword [0xb4b1b8]
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.0044d240
mov eax, dword [0xb4b1b8]
add eax, 1
mov ecx, dword [0xb4b1bc]
mov dword [0xb4b1b8], eax
adc ecx, 0
mov dword [0xb4b1bc], ecx
jmp 0x417107
cmp eax, 2
jne 0x417452
mov eax, 2
jmp 0x4170d1
xor eax, eax
jmp 0x4170d1
nop
lea eax, [0xb41e00]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00441700
add esp, 0x4c
ret
call fcn.0041f590
cmp dword [esp], 0xffffffff
setne al
jmp 0x417054
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4174a8
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4174a8
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.00432510
lea eax, [0x7e6916]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00432db0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00432bf0
lea eax, [0x7e543a]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432db0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7e76f3]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00432db0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
call fcn.00432730
call fcn.00432580
lea eax, [0x7ed925]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430c90
nop
call fcn.00457de0
jmp fcn.00416fa0