Function at 0x100b1660
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x102e09c4], 0xffffffff
push ebx
push esi
push edi
je 0x100b23b5
mov eax, dword [0x11473344]
test eax, eax
je 0x100b23b5
cmp dword [0x114733c8], 0
je 0x100b23b5
cmp eax, 2
jne 0x100b23b5
call fcn.1007ead0
test al, al
jne 0x100b23b5
call fcn.1007f000
test al, al
jne 0x100b23b5
cmp dword [0x102e0a04], 0
je 0x100b1721
mov ecx, dword [0x879340c]
mov eax, dword [0x1010cba8]
cmp ecx, eax
je 0x100b16e5
sub ecx, dword [0x102e0a34]
test ecx, ecx
jle 0x100b16e5
add eax, 0xffffff82
cmp ecx, eax
cmovg ecx, eax
mov dword [0x102e09c8], ecx
jmp 0x100b16ef
mov dword [0x102e09c8], 0
mov eax, dword [0x8793410]
cmp eax, 0x1e0
je 0x100b1717
sub eax, dword [0x102e0a38]
cmp eax, 4
jle 0x100b1717
mov ecx, 0x12e
cmp eax, ecx
cmovg eax, ecx
mov dword [0x102e09cc], eax
jmp 0x100b1721
mov dword [0x102e09cc], 4
cmp dword [0x1010dff8], 0
mov eax, 0x790b10
jne 0x100b1793
cmp dword [0x114e9960], 0
jne 0x100b1793
push 0x7e
push 0x74
push dword [0x102e09cc]
push dword [0x102e09c8]
call eax
add esp, 0x10
cmp al, 1
jne 0x100b1793
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100b1793
cmp dword [0x102e0a04], 0
jne 0x100b1787
mov eax, dword [0x879340c]
sub eax, dword [0x102e09c8]
mov dword [0x102e0a34], eax
mov eax, dword [0x8793410]
sub eax, dword [0x102e09cc]
mov dword [0x102e0a38], eax
mov dword [0x102e0a04], 1
jmp 0x100b179d
mov dword [0x102e0a04], 0
mov ebx, dword [0x7bc4f04]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x100b23b5
movd xmm0, dword [ebx + 0xac]
mov ecx, 0x100
cvtdq2pd xmm0, xmm0
mov edx, dword [0x102e09f8]
mulsd xmm0, qword [0x101036a8]
cvtpd2ps xmm0, xmm0
movss dword [0x102e09f0], xmm0
mov eax, dword [0x7bc4f04]
sub ecx, dword [eax + 0xb0]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x101036a8]
cvtpd2ps xmm0, xmm0
movss dword [0x102e09f4], xmm0
cmp edx, 1
jne 0x100b180f
movsd xmm0, qword [0x10103848]
jmp 0x100b1826
cmp edx, 2
jne 0x100b181e
movsd xmm0, qword [0x101038a0]
jmp 0x100b1826
movsd xmm0, qword [0x101038e8]
mov eax, dword [0x102e09cc]
cvtpd2ps xmm0, xmm0
push 1
movss dword [ebp - 8], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10104730]
mov eax, dword [0x102e09c8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10104730]
mov eax, 0x635fd0
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
call eax
movss xmm0, dword [0x102e0a00]
movss dword [esp], xmm0
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
cmp dword [0x102e1764], 0
mov esi, 0x637c60
jne 0x100b1984
movss xmm0, dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x10]
addss xmm1, dword [0x10103e90]
subss xmm0, dword [0x10103ef0]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movss dword [ebp - 0x14], xmm1
mov dword [esp + 0x1c], 0x3d34394b
mov dword [esp + 0x18], 0x3f2b020b
mov dword [esp + 0x14], 0x3b23d705
mov dword [esp + 0x10], 0x3ea6e977
mov dword [esp + 0xc], 0x41a00000
mov dword [esp + 8], 0x42f00000
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call esi
add esp, 0x30
push dword [ebx + 0xb0]
push dword [ebx + 0xac]
push dword [0xe61e18]
call fcn.1003a860
movss xmm0, dword [ebp - 0xc]
add esp, 4
subss xmm0, dword [0x10103ed4]
push eax
push str._s____d____d__
push 3
push 0
push 0xb4ffffff
push dword [0xe8c58c]
cvttss2si eax, xmm0
push 0x78
push eax
cvttss2si eax, dword [ebp - 0x14]
push eax
push 0x102bc710
call fcn.1007a400
add esp, 0x30
movss xmm0, dword [ebp - 8]
sub esp, 0x20
movss xmm3, dword [ebp - 0xc]
movss xmm2, dword [ebp - 0x10]
addss xmm3, dword [0x10103e8c]
addss xmm2, dword [0x10103eb0]
mov dword [esp + 0x1c], 0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x102e09f4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102e09f0]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42dc0000
call fcn.10080f40
movss xmm0, dword [ebp - 0xc]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3e93f7cc
mov dword [esp + 0x18], 0x3f13f7ce
mov dword [esp + 0x14], 0x3d800000
mov dword [esp + 0x10], 0x3ebd70a2
mov dword [esp + 0xc], 0x42f80000
mov dword [esp + 8], 0x42f80000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x10103e88]
movss dword [esp], xmm0
push 0x7ae7
call esi
movss xmm0, dword [ebp - 0x10]
add esp, 0x2c
addss xmm0, dword [0x10103ee4]
mov dword [esp], 0
push 1
cvttss2si eax, xmm0
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x10103fec]
mov dword [esp + 0x18], 0x3e1ba5de
mov dword [esp + 0x14], 0x3eff7cee
lea edi, [eax - 5]
mov dword [esp + 0x10], 0x3f560419
movd xmm2, edi
cvttss2si ebx, xmm0
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
mov dword [ebp - 4], eax
mov eax, 0x637c60
cvtdq2ps xmm2, xmm2
mov dword [ebp - 8], ebx
lea esi, [ebx - 3]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push 0x7ae7
call eax
push 0x1a
push 0x1a
push ebx
push dword [ebp - 4]
mov eax, 0x790b10
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x40
test al, al
je 0x100b1c10
cmp dword [0x1010dff8], 0
jne 0x100b1bdf
cmp dword [0x114e9960], 0
jne 0x100b1bdf
cmp byte [0x8793386], 0
je 0x100b1bdf
movd xmm0, dword [ebp - 8]
mov eax, 0x637c60
movd xmm1, dword [ebp - 4]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3edcfab0
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call eax
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
add esp, 0x3c
call ebx
mov ecx, dword [0x102e0a2c]
add ecx, 0x64
cmp eax, ecx
jb 0x100b1c79
mov eax, dword [0x102e09f8]
cmp eax, 1
jne 0x100b1bc4
mov dword [0x102e09f8], 2
call ebx
mov dword [0x102e0a2c], eax
jmp 0x100b1c79
cmp eax, 2
jne 0x100b1bd3
mov dword [0x102e09f8], 3
call ebx
mov dword [0x102e0a2c], eax
jmp 0x100b1c79
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3edcfab0
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100b1c3f
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3edcfab0
mov dword [esp + 0x10], 0
movd xmm0, dword [ebp - 8]
mov eax, 0x637c60
movd xmm1, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
cvtdq2ps xmm1, xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call eax
add esp, 0x30
movss xmm0, dword [ebp - 0x10]
mov eax, 0x637c60
addss xmm0, dword [0x10103ff8]
push ecx
mov dword [esp], 0
push 1
push 1
cvttss2si ebx, xmm0
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
movd xmm1, esi
mov dword [ebp - 0x14], ebx
add ebx, 0xfffffffb
mov dword [esp + 0x14], 0x3eff7cee
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0x7ae7
call eax
mov esi, dword [ebp - 0x14]
mov eax, 0x790b10
push 0x1a
push 0x1a
push dword [ebp - 8]
push esi
call eax
add esp, 0x40
test al, al
je 0x100b1e32
cmp dword [0x1010dff8], 0
jne 0x100b1e01
cmp dword [0x114e9960], 0
jne 0x100b1e01
cmp byte [0x8793386], 0
je 0x100b1e01
movd xmm1, dword [ebp - 8]
mov eax, 0x637c60
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movd xmm0, esi
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3ebced91
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0x7ae7
call eax
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x3c
call esi
mov ecx, dword [0x102e0a2c]
add ecx, 0x64
cmp eax, ecx
jb 0x100b1e9a
mov eax, dword [0x102e09f8]
cmp eax, 3
jne 0x100b1de6
mov dword [0x102e09f8], 2
call esi
mov dword [0x102e0a2c], eax
jmp 0x100b1e9a
cmp eax, 2
jne 0x100b1df5
mov dword [0x102e09f8], 1
call esi
mov dword [0x102e0a2c], eax
jmp 0x100b1e9a
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3ebced91
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100b1e61
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3ebced91
mov dword [esp + 0x10], 0
movd xmm1, dword [ebp - 8]
mov eax, 0x637c60
movd xmm0, esi
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
movss xmm0, dword [ebp - 0xc]
mov eax, 0x637c60
addss xmm0, dword [0x10103e90]
push ecx
mov dword [esp], 0
push 1
push 1
cvttss2si esi, xmm0
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
mov dword [esp + 0x14], 0x3eff7cee
mov dword [ebp - 8], esi
add esi, 0xfffffffd
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
mov edi, dword [ebp - 8]
mov eax, 0x790b10
push 0x1a
push 0x1a
push edi
push dword [ebp - 4]
call eax
add esp, 0x40
test al, al
je 0x100b2067
cmp dword [0x1010dff8], 0
jne 0x100b2036
cmp dword [0x114e9960], 0
jne 0x100b2036
cmp byte [0x8793386], 0
je 0x100b2036
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x102e0a2c]
add ecx, 0x64
cmp eax, ecx
jb 0x100b20cf
movss xmm0, dword [0x102e0a00]
comiss xmm0, dword [0x101036cc]
jb 0x100b1f8d
mov dword [0x102e0a00], 0x3f000000
jmp 0x100b1fae
ucomiss xmm0, dword [0x10103664]
mov dword [0x102e0a00], 0x3f400000
lahf
test ah, 0x44
jnp 0x100b1fae
mov dword [0x102e0a00], 0x3f800000
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov dword [esp + 8], 0
add esp, 8
movd xmm0, edi
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f2e9796
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102e0a2c], eax
jmp 0x100b20cf
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f2e9796
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100b2096
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f2e9796
mov dword [esp + 0x10], 0
movd xmm0, edi
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call eax
add esp, 0x30
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, 0x637c60
mov dword [esp + 0x1c], 0x3d978d45
mov dword [esp + 0x18], 0x3e1ba5de
mov dword [esp + 0x14], 0x3eff7cee
mov dword [esp + 0x10], 0x3f560419
mov dword [esp + 0xc], 0x41d00000
mov dword [esp + 8], 0x41d00000
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7ae7
call esi
mov ebx, dword [ebp - 0x14]
mov eax, 0x790b10
push 0x1a
push 0x1a
push edi
push ebx
call eax
add esp, 0x40
test al, al
je 0x100b2296
cmp dword [0x1010dff8], 0
jne 0x100b2265
cmp dword [0x114e9960], 0
jne 0x100b2265
cmp byte [0x8793386], 0
je 0x100b2265
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102e0a2c]
add ecx, 0x64
cmp eax, ecx
jb 0x100b22f8
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
mov dword [esp + 8], 0
add esp, 8
movd xmm0, edi
mov eax, 0x637c60
movd xmm1, ebx
cvtdq2ps xmm0, xmm0
push 1
push 1
sub esp, 0x20
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f1e9107
mov dword [esp + 0x10], 0x3e7ffffd
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call eax
add esp, 0x30
push 0x102e161b
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x100b2259
cmp dword [0x102e0a30], 0
jne 0x100b2241
push str.CameraActive
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [0x102e0a30], 1
call esi
mov dword [0x102e0a2c], eax
jmp 0x100b22f8
push str.CameraRestore
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [0x102e0a30], 0
call esi
mov dword [0x102e0a2c], eax
jmp 0x100b22f8
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f1e9107
mov dword [esp + 0x10], 0x3dfdf3b2
jmp 0x100b22c5
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3d8726c2
mov dword [esp + 0x18], 0x3df9db14
mov dword [esp + 0x14], 0x3f1e9107
mov dword [esp + 0x10], 0
movd xmm0, edi
movd xmm1, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41926666
mov dword [esp + 8], 0x41926666
cvtdq2ps xmm1, xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0x7ae7
call esi
add esp, 0x30
mov ecx, 0x102e09c0
call fcn.100b0410
mov ecx, dword [0x102e0a24]
cmp ecx, 0xffffffff
je 0x100b232e
mov eax, dword [0x102e0a28]
cmp eax, 0xffffffff
je 0x100b232e
add eax, 0xfffffff4
push 0x102e0a08
push eax
lea eax, [ecx - 0x14]
push eax
mov eax, 0x597220
call eax
add esp, 0xc
mov eax, dword [ebp - 0x18]
sub esp, 0x24
movss xmm0, dword [eax + 0x418]
mov eax, 0x637e80
cvtps2pd xmm0, xmm0
mov dword [esp + 0x20], 0x3f0c0000
mov dword [esp + 0x1c], 0x3f0c0000
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
addsd xmm0, qword [0x10103bf8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x10103f78]
mov dword [esp + 0xc], 0x41100000
mov dword [esp + 8], 0x41100000
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x10103fa4]
movss dword [esp], xmm0
push 0xf052
call eax
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret