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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b5b18
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x60
push esi
push edi
mov edi, dword [0x10400584]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x4c]
add ecx, 0x32
cmp eax, ecx
jle 0x1000bece
mov dword [edi + 0x50], 0
mov eax, dword [0x1040061c]
mov ecx, dword [eax]
call fcn.10005530
mov ecx, dword [eax]
mov dword [edi + 0x64], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x68], ecx
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [edi + 0x6c], eax
mov eax, dword [ebx + 8]
push eax
call fcn.1000b590
test al, al
jne 0x1000bf21
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov byte [edi + 0x54], al
mov byte [edi + 0x5c], al
mov dword [edi + 0x48], 0
jmp 0x1000c615
mov eax, dword [0x1040061c]
mov ecx, dword [eax]
call fcn.1000b3b0
mov ecx, dword [0x103f34d8]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
test ecx, ecx
je 0x1000c615
mov eax, dword [0x104005f8]
mov eax, dword [eax]
mov esi, dword [eax + 8]
call fcn.1000ae30
mov ecx, dword [0x104005f8]
movsx eax, word [eax]
push eax
call esi
test eax, eax
je 0x1000c615
cmp byte [edi + 8], 0
je 0x1000c0e2
mov eax, dword [0x1040061c]
mov ecx, dword [0x103f281c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1040fb5c]
cmp eax, dword [ecx + 4]
jle 0x1000c0be
push 0x1040fb5c
call fcn.10078d0c
add esp, 4
cmp dword [0x1040fb5c], 0xffffffff
jne 0x1000c0be
mov dword [ebp - 4], 0
call fcn.10004740
push 0x11
push str.m_flFlashMaxAlpha
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov esi, eax
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.100048b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push 0xb
push str.DT_CSPlayer
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
call fcn.100048b0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
call fcn.100751d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
mov dword [0x1040fb58], eax
cmp edx, 0x10
jb 0x1000c060
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c056
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c62a
push edx
push ecx
call fcn.10078b5e
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1000c098
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c08e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c62f
push edx
push ecx
call fcn.10078b5e
add esp, 8
push 0x1040fb5c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10078cc2
add esp, 4
mov eax, dword [0x1040fb58]
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [eax + ecx - 8]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x103b72a8]
seta al
test al, al
jne 0x1000c615
mov esi, dword [ebx + 8]
mov ecx, edi
mov dword [ebp - 0x18], 0x7f7fffff
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [esi + 0x14]
movq xmm0, qword [esi + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
movq qword [ebp - 0x3c], xmm0
push eax
lea eax, [ebp - 0x14]
movq xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x48], xmm0
call fcn.1000b740
test eax, eax
je 0x1000c186
cmp dword [edi + 4], 0
jne 0x1000c14f
cmp byte [edi + 0x54], 0
jne 0x1000c155
cmp dword [edi + 0x18], 0
jle 0x1000c14f
cmp dword [edi + 0x50], 0
jne 0x1000c14f
mov byte [edi + 0x54], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [edi + 0x18]
mov dword [edi + 0x58], eax
cmp byte [edi + 0x54], 0
je 0x1000c16e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 0x58], eax
jg 0x1000c164
mov byte [edi + 0x54], 0
cmp byte [edi + 0x54], 0
je 0x1000c16e
and dword [esi + 0x30], 0xfffffffe
cmp byte [edi + 0x40], 0
je 0x1000c186
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000c186
or dword [esi + 0x30], 1
test byte [esi + 0x30], 1
movss xmm5, dword [0x103b734c]
movss xmm4, dword [0x103b7378]
je 0x1000c385
cmp byte [edi + 0x24], 0
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x14], eax
je 0x1000c385
mov eax, dword [edi + 0x28]
dec eax
cmp dword [edi + 0x50], eax
jl 0x1000c385
cmp dword [edi + 0x30], 0
jne 0x1000c1cd
cmp dword [edi + 0x34], 0
je 0x1000c385
mov eax, dword [0x103f281c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10400e40]
cmp eax, dword [ecx + 4]
jle 0x1000c231
push 0x10400e40
call fcn.10078d0c
add esp, 4
cmp dword [0x10400e40], 0xffffffff
jne 0x1000c231
mov dword [ebp - 4], 3
mov ecx, dword [0x103f38c8]
push str.weapon_recoil_scale
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10400e40
mov dword [0x10400e38], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10078cc2
add esp, 4
mov ecx, dword [0x10400e38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp dword [ebp - 0x14], 0
movd xmm3, dword [edi + 0x34]
movd xmm2, dword [edi + 0x30]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm2, xmm2
divss xmm3, dword [0x103b7354]
divss xmm2, dword [0x103b7354]
fstp dword [ebp - 0x18]
mulss xmm3, dword [ebp - 0x18]
mulss xmm2, dword [ebp - 0x18]
je 0x1000c27d
movss xmm0, dword [edi + 0x68]
movss xmm1, dword [edi + 0x64]
jmp 0x1000c29b
cmp dword [edi + 0x2c], 0
jne 0x1000c375
movss xmm0, dword [edi + 0x68]
movss xmm1, dword [edi + 0x64]
subss xmm0, dword [edi + 0x74]
subss xmm1, dword [edi + 0x70]
mulss xmm3, xmm1
xorps xmm1, xmm1
mulss xmm2, xmm0
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1000c2bc
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1000c375
movss xmm0, dword [edi + 0x6c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000c375
movss xmm0, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
subss xmm0, xmm3
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x38]
subss xmm0, xmm2
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
call fcn.10027da0
movss xmm2, dword [ebp - 0x3c]
movss xmm5, dword [0x103b734c]
comiss xmm2, xmm5
movss dword [ebp - 0x14], xmm2
jbe 0x1000c31c
movaps xmm2, xmm5
jmp 0x1000c32c
movss xmm0, dword [0x103b7464]
comiss xmm0, xmm2
jbe 0x1000c336
movaps xmm2, xmm0
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x14], xmm2
movss xmm1, dword [ebp - 0x38]
movss xmm4, dword [0x103b7378]
comiss xmm1, xmm4
movss dword [ebp - 0x18], xmm1
jbe 0x1000c352
movaps xmm1, xmm4
jmp 0x1000c362
movss xmm0, dword [0x103b746c]
comiss xmm0, xmm1
jbe 0x1000c36c
movaps xmm1, xmm0
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x18], xmm1
mov dword [ebp - 0x34], 0
jmp 0x1000c399
movss xmm4, dword [0x103b7378]
movss xmm5, dword [0x103b734c]
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x14], xmm0
mov eax, dword [edi + 0x64]
mov ecx, edi
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0x68]
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x78], eax
call fcn.1000b6c0
test al, al
jne 0x1000c4cd
movss xmm0, dword [0x103b71f0]
lea edx, [ebp - 0x20]
maxss xmm0, dword [edi + 0x14]
movss xmm2, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
mulss xmm2, dword [0x103b7150]
movss dword [ebp - 0x2c], xmm0
call fcn.100272e0
movss xmm2, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
mulss xmm2, dword [0x103b7150]
lea ecx, [ebp - 0x24]
call fcn.100272e0
movss xmm1, dword [ebp - 0x24]
lea edx, [ebp - 0x24]
movss xmm2, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mulss xmm1, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x28]
mulss xmm2, dword [0x103b7150]
movss xmm7, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x103b79f0]
mulss xmm7, dword [ebp - 0x20]
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x30], xmm0
call fcn.100272e0
movss xmm2, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
mulss xmm2, dword [0x103b7150]
lea ecx, [ebp - 0x20]
call fcn.100272e0
movss xmm0, dword [ebp - 0x28]
lea edx, [ebp - 0x3c]
mulss xmm0, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
movss xmm2, dword [ebp - 0x2c]
subss xmm0, xmm7
divss xmm0, xmm2
addss xmm0, xmm7
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [ebp - 0x24]
subss xmm0, dword [ebp - 0x1c]
divss xmm0, xmm2
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x103b79f0]
subss xmm0, dword [ebp - 0x30]
divss xmm0, xmm2
addss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x40], xmm0
call fcn.10027470
movss xmm4, dword [0x103b7378]
movss xmm5, dword [0x103b734c]
lea ecx, [ebp - 0x3c]
call fcn.10027da0
movss xmm1, dword [ebp - 0x3c]
comiss xmm1, xmm5
jbe 0x1000c4e4
movaps xmm1, xmm5
jmp 0x1000c4f4
movss xmm0, dword [0x103b7464]
comiss xmm0, xmm1
jbe 0x1000c4f9
movaps xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ebp - 0x38]
comiss xmm0, xmm4
jbe 0x1000c508
movaps xmm0, xmm4
jmp 0x1000c518
movss xmm2, dword [0x103b746c]
comiss xmm2, xmm0
jbe 0x1000c51d
movaps xmm0, xmm2
movss dword [ebp - 0x38], xmm0
mov ecx, edi
mov dword [ebp - 0x34], 0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
mov dword [esi + 0x14], 0
call fcn.1000b6c0
test al, al
jne 0x1000c54f
mov ecx, dword [0x103f34d4]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov eax, dword [0x1040061c]
mov ecx, dword [eax]
call fcn.1000b3b0
mov ecx, dword [0x103f34d8]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, dword [0x104005f8]
mov ecx, dword [ecx]
mov esi, dword [ecx + 8]
mov ecx, eax
call fcn.1000ae30
mov ecx, dword [0x104005f8]
movsx eax, word [eax]
push eax
call esi
mov eax, dword [eax + 0xcc]
sub eax, 1
jne 0x1000c600
cmp byte [edi + 0xa], al
je 0x1000c600
mov eax, dword [0x1040061c]
mov ecx, dword [eax]
call fcn.1000b250
movd xmm0, dword [eax]
mov eax, dword [0x103f3530]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x1040061c]
movss dword [ebp - 0x30], xmm0
mov ecx, dword [eax]
call fcn.1000b3b0
mov ecx, dword [0x103f34d8]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
call fcn.1000af90
xorps xmm1, xmm1
movss xmm0, dword [eax]
subss xmm0, dword [ebp - 0x30]
mov eax, dword [ebx + 8]
comiss xmm0, xmm1
jbe 0x1000c603
and dword [eax + 0x30], 0xfffffffe
jmp 0x1000c603
mov eax, dword [ebx + 8]
test byte [eax + 0x30], 1
je 0x1000c615
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [edi + 0x50]
mov dword [edi + 0x4c], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10093a9a
call fcn.10093a9a
int3