Function at 0x180042980
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x18006a3c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x18006b195], 0
je 0x180042c7e
mov qword [r11 + 8], rbx
mov qword [r11 - 8], rdi
call fcn.18004d580
mov rcx, qword [0x18006ae60]
lea rdx, str.com_craftrise_client_S
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [0x18006ae60]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18005f43c]
mov qword [0x18006b330], rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
mov rdx, rax
call r10
mov rbx, rax
call fcn.18004d580
mov rcx, qword [0x18006ae60]
mov r8, rbx
mov rdx, rax
call fcn.18003fc70
test rdi, rdi
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x80]
mov rbx, rax
je 0x180042c76
mov ecx, 0x57
movaps xmmword [rsp + 0x70], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180042c1d
mov rcx, qword [0x18006ae60]
mov rdx, rbx
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
mov rax, qword [rcx]
movaps xmmword [rsp + 0x30], xmm10
mov r8, qword [rax + 0xf8]
call r8
mov rcx, qword [0x18006ae60]
lea r9, [0x18005eb98]
lea r8, [0x18005f8c8]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x2f0]
mov rdx, rax
call r10
mov rcx, qword [0x18006ae60]
mov r8, rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x330]
mov rdx, rbx
call r10
mov rcx, qword [0x18006ae60]
mov rdx, rbx
movaps xmm9, xmm0
mov rax, qword [rcx]
mov r8, qword [rax + 0xf8]
call r8
mov rcx, qword [0x18006ae60]
lea r9, [0x18005eb98]
lea r8, [0x18005ebb8]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x2f0]
mov rdx, rax
call r10
mov rcx, qword [0x18006ae60]
mov r8, rax
mulss xmm9, dword [0x180060654]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x330]
mov rdx, rbx
call r9
movaps xmm7, xmm0
movaps xmm0, xmm9
mulss xmm7, dword [0x180060654]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm10, xmm0
movaps xmm0, xmm7
xorps xmm10, xmmword [0x180060db0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm0
movaps xmm0, xmm7
mulss xmm8, xmm10
mulss xmm8, dword [0x18006a4c4]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm7, xmm0
mov ecx, 0x41
mulss xmm7, dword [0x18006a4c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180042ba8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, dword [0x18006a4c4]
addss xmm8, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, dword [0x18006a4c4]
addss xmm7, xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180042be3
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm0, xmmword [0x180060db0]
mulss xmm0, dword [0x18006a4c4]
mulss xmm10, dword [0x18006a4c4]
addss xmm8, xmm0
addss xmm7, xmm10
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
cvtss2sd xmm1, xmm8
call fcn.18004cf20
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
cvtss2sd xmm1, xmm7
call fcn.18004d0e0
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsd xmm6, qword [0x1800608e8]
test ax, ax
je 0x180042c3f
movsd xmm1, qword [0x1800608c8]
jmp 0x180042c42
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18004d000
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18004d000
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18004d000
movaps xmm6, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800535b0
add rsp, 0x88
ret