Function at 0x1000cd90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100de4ad
push eax
mov dword fs:[0], esp
sub esp, 0x6c
cmp byte [0x1019c47e], 0
je 0x1000cfca
mov ecx, dword [0x1019c970]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1000cfca
mov ecx, dword [0x1019c970]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1000cfca
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10087df0
cmp eax, 8
je 0x1000cfca
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10087df0
cmp eax, 0xa
je 0x1000cfca
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10087df0
cmp eax, 9
je 0x1000cfca
test byte [0x1019c8a4], 1
jne 0x1000cfca
push esi
push dword [0x1019c498]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
test ax, ax
jne 0x1000cfc9
push dword [0x1019c4d4]
call esi
test ax, ax
jne 0x1000cfc9
push dword [0x1019c478]
call esi
test ax, ax
jne 0x1000cfc9
push dword [0x1019c470]
call esi
test ax, ax
jne 0x1000cfc9
push dword [0x1019c4cc]
call esi
test ax, ax
jne 0x1000cfc9
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm0
mov dword [ebp - 0x78], vtable.CUserCmd.0
mov eax, dword [esi + 4]
movq xmm0, qword [esi + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x48], eax
mov al, byte [esi + 0x34]
mov byte [ebp - 0x44], al
mov eax, dword [esi + 0x38]
movq qword [ebp - 0x6c], xmm0
movq xmm0, qword [esi + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x40]
movq qword [ebp - 0x60], xmm0
movss xmm0, dword [esi + 0x24]
mov dword [ebp - 0x38], eax
movzx eax, word [esi + 0x44]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [esi + 0x28]
mov word [ebp - 0x34], ax
movzx eax, word [esi + 0x46]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [esi + 0x2c]
mov word [ebp - 0x32], ax
mov al, byte [esi + 0x48]
movss dword [ebp - 0x4c], xmm0
movq xmm0, qword [esi + 0x4c]
mov byte [ebp - 0x30], al
mov eax, dword [esi + 0x54]
movq qword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x60]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [0x1019c974]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1015c018]
push 0
mov eax, dword [eax]
call eax
nop dword [eax + eax]
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10011db0
test byte [eax], 1
jne 0x1000cfbe
mov ecx, dword [0x1019c930]
or dword [esi + 0x30], 4
push esi
call fcn.1002ba10
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10011db0
test byte [eax], 1
jne 0x1000cfd8
mov ecx, dword [0x1019c930]
call fcn.10014380
mov eax, dword [0x1019c830]
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [0x100e45a4]
addss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
movss dword [ebp - 0x10], xmm0
ja 0x1000cf60
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.1000cbd0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.100120b0
mov ecx, dword [0x1019c930]
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x10], xmm0
call fcn.10014380
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, dword [0x100e4654]
lahf
test ah, 0x44
jnp 0x1000d0b1
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.1000cbd0
mov eax, dword [0x1019c974]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1015c018]
push 0
mov eax, dword [eax]
call eax
nop
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10011db0
test byte [eax], 1
jne 0x1000d0b1
mov ecx, dword [0x1019c930]
and dword [esi + 0x30], 0xfffffffb
push esi
call fcn.1002ba10
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.10011db0
test byte [eax], 1
jne 0x1000d096
mov eax, dword [0x1019c830]
movss xmm0, dword [ebp - 0x14]
movss xmm1, dword [0x100e45a4]
addss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
movss dword [ebp - 0x14], xmm0
ja 0x1000d030
or dword [esi + 0x30], 4
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1019c324]
mov ecx, dword [eax]
call fcn.100120b0
movss xmm1, dword [ebp - 0x10]
comiss xmm1, dword [eax + 8]
jbe 0x1000cfc9
or dword [esi + 0x30], 4
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret