Function at 0x180057af0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x140
mov r11, qword [0x18009dea0]
mov rbx, rcx
cmp byte [r11 + 0xc], 0
je 0x180058135
cmp byte [r11 + 0x16], 0
je 0x180057b2a
cmp byte [r11], 0
jne 0x180057b2a
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowCursor]
mov r11, qword [0x18009dea0]
cmp qword [0x18009dcc0], 0
je 0x180058135
movaps xmmword [rsp + 0x130], xmm6
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x120], xmm7
movaps xmmword [rsp + 0x110], xmm8
movaps xmmword [rsp + 0x100], xmm9
movaps xmmword [rsp + 0xf0], xmm10
movaps xmmword [rsp + 0xe0], xmm11
movaps xmmword [rsp + 0xd0], xmm12
movaps xmmword [rsp + 0xc0], xmm13
movaps xmmword [rsp + 0xb0], xmm14
movaps xmmword [rsp + 0xa0], xmm15
call fcn.180054ad0
lea rdx, [rsp + 0x60]
movss xmm10, dword [rax + 4]
movss xmm0, dword [rax + 8]
movss xmm9, dword [rax]
movss dword [rsp + 0x160], xmm10
movss dword [rsp + 0x158], xmm0
call fcn.180054ad0
lea rdx, [rsp + 0x20]
movss xmm13, dword [rax + 0x10]
movss xmm15, dword [rax + 0x14]
movss xmm14, dword [rax + 0x18]
call fcn.180054ad0
cmp byte [r11 + 0x16], 0
movss xmm6, dword [rbx + 0x7c]
movss xmm7, dword [rbx + 0x80]
movss xmm8, dword [rax + 0x20]
movss xmm11, dword [rax + 0x24]
movss xmm12, dword [rax + 0x28]
je 0x180057c39
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057c21
mulss xmm6, dword [0x18009305c]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057c39
mulss xmm6, dword [0x18009308c]
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x1c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mulss xmm9, xmm6
test ax, ax
je 0x180057ca3
mov rax, qword [0x18009dea0]
movaps xmm0, xmm9
movaps xmm1, xmm10
mulss xmm1, xmm6
addss xmm0, dword [rax + 0x4db0]
addss xmm1, dword [rax + 0x4db4]
movss dword [rax + 0x4db0], xmm0
movss xmm0, dword [rsp + 0x158]
mulss xmm0, xmm6
movss dword [rax + 0x4db4], xmm1
addss xmm0, dword [rax + 0x4db8]
movss dword [rax + 0x4db8], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm10, dword [0x180093130]
test ax, ax
je 0x180057d23
mov rax, qword [0x18009dea0]
movss xmm0, dword [rsp + 0x160]
mulss xmm0, xmm6
mulss xmm9, xmm10
mulss xmm0, xmm10
addss xmm9, dword [rax + 0x4db0]
addss xmm0, dword [rax + 0x4db4]
movss dword [rax + 0x4db0], xmm9
movss dword [rax + 0x4db4], xmm0
movss xmm0, dword [rsp + 0x158]
mulss xmm0, xmm6
mulss xmm0, xmm10
addss xmm0, dword [rax + 0x4db8]
movss dword [rax + 0x4db8], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x24]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm9, xmmword [rsp + 0x100]
test ax, ax
je 0x180057da2
mov rax, qword [0x18009dea0]
movaps xmm1, xmm15
mulss xmm1, xmm6
mulss xmm13, xmm6
mulss xmm1, xmm10
movaps xmm0, xmm13
mulss xmm0, xmm10
addss xmm1, dword [rax + 0x4db4]
addss xmm0, dword [rax + 0x4db0]
movss dword [rax + 0x4db4], xmm1
movss dword [rax + 0x4db0], xmm0
movaps xmm0, xmm14
mulss xmm0, xmm6
mulss xmm0, xmm10
addss xmm0, dword [rax + 0x4db8]
movss dword [rax + 0x4db8], xmm0
jmp 0x180057dae
movaps xmm0, xmm6
mulss xmm0, xmm13
movaps xmm13, xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x28]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057e0a
mov rax, qword [0x18009dea0]
mulss xmm15, xmm6
mulss xmm14, xmm6
addss xmm13, dword [rax + 0x4db0]
addss xmm15, dword [rax + 0x4db4]
addss xmm14, dword [rax + 0x4db8]
movss dword [rax + 0x4db0], xmm13
movss dword [rax + 0x4db4], xmm15
movss dword [rax + 0x4db8], xmm14
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm15, xmmword [rsp + 0xa0]
movaps xmm14, xmmword [rsp + 0xb0]
movaps xmm13, xmmword [rsp + 0xc0]
test ax, ax
je 0x180057e8c
mov rax, qword [0x18009dea0]
movaps xmm1, xmm11
mulss xmm8, xmm6
mulss xmm1, xmm6
movaps xmm0, xmm8
addss xmm0, dword [rax + 0x4db0]
addss xmm1, dword [rax + 0x4db4]
movss dword [rax + 0x4db0], xmm0
movaps xmm0, xmm12
mulss xmm0, xmm6
movss dword [rax + 0x4db4], xmm1
addss xmm0, dword [rax + 0x4db8]
movss dword [rax + 0x4db8], xmm0
jmp 0x180057e98
movaps xmm0, xmm6
mulss xmm0, xmm8
movaps xmm8, xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057f03
mov rax, qword [0x18009dea0]
mulss xmm11, xmm6
mulss xmm12, xmm6
mulss xmm11, xmm10
mulss xmm12, xmm10
addss xmm11, dword [rax + 0x4db4]
mulss xmm8, xmm10
addss xmm12, dword [rax + 0x4db8]
addss xmm8, dword [rax + 0x4db0]
movss dword [rax + 0x4db4], xmm11
movss dword [rax + 0x4db8], xmm12
movss dword [rax + 0x4db0], xmm8
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm12, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm10, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x110]
test ax, ax
je 0x180057f57
mov rax, qword [0x18009dea0]
movss xmm0, dword [rax + 0x4dc0]
subss xmm0, xmm7
movss dword [rax + 0x4dc0], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x34]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057f86
mov rax, qword [0x18009dea0]
movaps xmm0, xmm7
addss xmm0, dword [rax + 0x4dc0]
movss dword [rax + 0x4dc0], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x44]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057fb6
mov rax, qword [0x18009dea0]
movss xmm0, dword [rax + 0x4dc4]
subss xmm0, xmm7
movss dword [rax + 0x4dc4], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x48]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180057fe5
mov rax, qword [0x18009dea0]
movaps xmm0, xmm7
addss xmm0, dword [rax + 0x4dc4]
movss dword [rax + 0x4dc4], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180058015
mov rax, qword [0x18009dea0]
movss xmm0, dword [rax + 0x4dbc]
subss xmm0, xmm7
movss dword [rax + 0x4dbc], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x3c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180058041
mov rax, qword [0x18009dea0]
addss xmm7, dword [rax + 0x4dbc]
movss dword [rax + 0x4dbc], xmm7
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x50]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm6, dword [0x180093000]
movaps xmm7, xmmword [rsp + 0x120]
test ax, ax
je 0x180058081
mov rax, qword [0x18009dea0]
movss xmm0, dword [rax + 0x4dc8]
subss xmm0, xmm6
movss dword [rax + 0x4dc8], xmm0
mov rax, qword [0x18009dea8]
mov ecx, dword [rax + 0x4c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x18009dea0]
test ax, ax
je 0x1800580b1
movss xmm0, dword [rcx + 0x4dc8]
addss xmm0, xmm6
movss dword [rcx + 0x4dc8], xmm0
cmp byte [rcx], 0
movaps xmm6, xmmword [rsp + 0x130]
jne 0x180058135
cmp byte [rcx + 0x16], 0
je 0x180058135
mov rdx, qword [0x18009dea8]
mov eax, dword [0x18009de94]
cmp byte [rdx + 0x58], 0
jne 0x1800580d9
neg eax
movss xmm1, dword [0x1800930c0]
movss xmm2, dword [0x1800930f4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
divss xmm0, xmm2
addss xmm0, dword [rcx + 0x4dbc]
movss dword [rcx + 0x4dbc], xmm0
cmp byte [rdx + 0x59], 0
mov eax, dword [0x18009de90]
je 0x180058116
neg eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
divss xmm0, xmm2
addss xmm0, dword [rcx + 0x4dc0]
movss dword [rcx + 0x4dc0], xmm0
add rsp, 0x140
pop rbx
ret