Function at 0x180042330
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x1800663c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x180067200], 0
je 0x180042616
mov qword [r11 + 8], rbx
mov qword [r11 - 8], rdi
call fcn.1800496f0
mov rcx, qword [0x180066eb0]
lea rdx, str.com_craftrise_client_S
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [0x180066eb0]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18005baec]
mov qword [0x180067370], rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
mov rdx, rax
call r10
mov rbx, rax
call fcn.1800496f0
mov rcx, qword [0x180066eb0]
mov r8, rbx
mov rdx, rax
call fcn.18003fb90
test rdi, rdi
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x80]
mov rbx, rax
je 0x18004260e
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1800425c9
mov rcx, qword [0x180066eb0]
mov rdx, rbx
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
mov rax, qword [rcx]
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x30], xmm10
mov r8, qword [rax + 0xf8]
call r8
mov rcx, qword [0x180066eb0]
lea r9, [0x18005b2c0]
lea r8, [0x18005bf60]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x2f0]
mov rdx, rax
call r10
mov rcx, qword [0x180066eb0]
mov r8, rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x330]
mov rdx, rbx
call r10
mov rcx, qword [0x180066eb0]
mov rdx, rbx
movaps xmm9, xmm0
mov rax, qword [rcx]
mov r8, qword [rax + 0xf8]
call r8
mov rcx, qword [0x180066eb0]
lea r9, [0x18005b2c0]
lea r8, [0x18005b2d0]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x2f0]
mov rdx, rax
call r10
mov rcx, qword [0x180066eb0]
mov r8, rax
mulss xmm9, dword [0x18005c8dc]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x330]
mov rdx, rbx
call r9
movaps xmm7, xmm0
movaps xmm0, xmm9
mulss xmm7, dword [0x18005c8dc]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm10, xmm0
movaps xmm0, xmm7
xorps xmm10, xmmword [0x18005cfe0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm8, dword [0x18005c90c]
movaps xmm6, xmm0
mulss xmm6, xmm10
movaps xmm0, xmm7
mulss xmm6, xmm8
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, xmm8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x180042556
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
addss xmm6, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
addss xmm7, xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x18004258b
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm0, xmmword [0x18005cfe0]
mulss xmm0, xmm8
mulss xmm10, xmm8
addss xmm6, xmm0
addss xmm7, xmm10
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
cvtss2sd xmm1, xmm6
call fcn.1800491a0
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
cvtss2sd xmm1, xmm7
call fcn.180049360
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1800425e5
movsd xmm1, qword [0x18005c990]
jmp 0x180042604
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x180042601
movsd xmm1, qword [0x18005cae8]
jmp 0x180042604
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
call fcn.180049280
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004f720
add rsp, 0x88
ret