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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416f53
sub esp, 0x5c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x41697f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x41697f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x41697f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4169a7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4169a7
mov dword [eax + 8], 0xfffffade
jmp 0x4169a7
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41699d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41699d
mov dword [eax + 8], 0xfffffade
add esp, 0x5c
ret
inc dword [0xbbe6ec]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.00416790
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4169d8
xor eax, eax
jmp 0x4169e4
call fcn.004249c0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x4169a1
lea eax, [0xbbeb98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00449b90
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.00416790
movzx eax, byte [esp + 0x10]
test al, al
je 0x416b45
mov eax, dword [esp + 0x60]
cmp eax, 2
sete cl
mov byte [0xbbebac], cl
mov ecx, dword [0xbe56f8]
cmp ecx, 1
jne 0x416a5e
mov ecx, 1
jmp 0x416a6c
cmp ecx, 2
jne 0x416a6a
mov ecx, 2
jmp 0x416a6c
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea eax, [0xb881c8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00449b90
lea eax, [0xb881e8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00449b90
movzx eax, byte [0xbc9828]
test al, al
je 0x416b2d
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [0xbc9858]
mov ecx, dword [0xbc985c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00455800
mov eax, dword [0xbc9858]
add eax, 1
mov ecx, dword [0xbc985c]
mov dword [0xbc9858], eax
adc ecx, 0
mov dword [0xbc985c], ecx
mov eax, dword [0xbbe318]
mov dword [esp + 0x50], eax
mov ecx, dword [0xbbe31c]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x416b74
nop
lea eax, [0xbbeb98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00449ea0
add esp, 0x5c
ret
mov ebx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jge 0x416ba9
mov dword [esp + 0x30], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401fc0
mov eax, dword [esp + 4]
mov ecx, dword [0xbc5280]
cmp ecx, eax
je 0x416b65
jmp 0x416e9c
call fcn.00418980
lea eax, [0xa028c4]
mov dword [esp], eax
call fcn.004617c0
mov eax, dword [0xbe5240]
mov dword [0xbbebd8], eax
mov dword [0xbbebdc], eax
mov ecx, dword [0xbe525c]
cmp ecx, eax
jge 0x416bde
mov dword [0xbbebd8], ecx
lea eax, [0xbe5f60]
mov dword [esp], eax
call fcn.00402200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0xbbec14], eax
mov dword [0xbbec10], ecx
mov dword [0xbbec00], 0
mov dword [0xbbec04], 0
mov eax, dword [esp + 0x20]
mov dword [0xbbeba8], eax
call fcn.00463c00
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [0xbbebe4], eax
mov dword [0xbbebe0], ecx
mov dword [0xbbec0c], eax
mov dword [0xbbec08], ecx
movzx eax, byte [0xbc9828]
test al, al
je 0x416c9f
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00455800
lea eax, [0xa0298c]
mov dword [esp], eax
call fcn.004617c0
lea eax, [0xa028c8]
mov dword [esp], eax
call fcn.004617c0
call fcn.00419a10
inc dword [0xbbebd4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0xbe5240]
lea ebx, [0xbe5ee0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.0041ecd0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [0xbe57a0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.0041a050
mov eax, dword [esp + 0x20]
test eax, eax
je 0x416d42
mov byte [esp], 0
call fcn.00445de0
lea eax, [0xbe523c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021d0
mov eax, dword [0xbe523c]
cmp eax, 1
jne 0x416d6a
mov eax, 1
jmp 0x416d70
cmp eax, 2
sete al
mov byte [0xbe5554], al
test al, al
je 0x416d81
mov eax, 1
jmp 0x416d88
movzx eax, byte [0xbe5555]
mov byte [0xbe5550], al
nop
mov dword [0xbbeb58], 0xffffffff
mov dword [0xbbeb64], 0xffffffff
call fcn.0041ade0
call fcn.0041eb50
lea eax, [0xbe5234]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004021d0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [0x416f60]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call fcn.004617c0
lea eax, [0xb881e8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00449ea0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x416e66
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416e5e
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x416e6c
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x416e6c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x416e7c
lea eax, [0xa028d4]
mov dword [esp], eax
call fcn.00461760
nop
lea eax, [0xbbeb98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00449ea0
add esp, 0x5c
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
call fcn.00439390
lea eax, [0x688af8]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00439c70
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439a70
lea eax, [0x688146]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00439c70
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00439910
lea eax, [0x689166]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00439c70
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00439910
call fcn.004395b0
call fcn.00439400
lea eax, [0x68c11f]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00437790
nop
call fcn.004618d0
jmp fcn.00416910