Function at 0x180042dc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x18006c19c], 0
je 0x1800430be
mov qword [r11 + 8], rbx
mov qword [r11 - 8], rdi
call fcn.18004e3d0
mov rcx, qword [0x18006be50]
lea rdx, str.com_craftrise_client_S
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [0x18006be50]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18006043c]
mov qword [0x18006c318], rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
mov rdx, rax
call r10
mov rbx, rax
call fcn.18004e3d0
mov rcx, qword [0x18006be50]
mov r8, rbx
mov rdx, rax
call fcn.1800400b0
test rdi, rdi
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x80]
mov rbx, rax
je 0x1800430b6
mov ecx, 0x57
movaps xmmword [rsp + 0x70], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004305d
mov rcx, qword [0x18006be50]
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 [0x18006be50]
lea r9, [0x18005fb88]
lea r8, [0x1800608e0]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x2f0]
mov rdx, rax
call r10
mov rcx, qword [0x18006be50]
mov r8, rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x330]
mov rdx, rbx
call r10
mov rcx, qword [0x18006be50]
mov rdx, rbx
movaps xmm9, xmm0
mov rax, qword [rcx]
mov r8, qword [rax + 0xf8]
call r8
mov rcx, qword [0x18006be50]
lea r9, [0x18005fb88]
lea r8, [0x18005fba8]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x2f0]
mov rdx, rax
call r10
mov rcx, qword [0x18006be50]
mov r8, rax
mulss xmm9, dword [0x180061718]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x330]
mov rdx, rbx
call r9
movaps xmm7, xmm0
movaps xmm0, xmm9
mulss xmm7, dword [0x180061718]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm10, xmm0
movaps xmm0, xmm7
xorps xmm10, xmmword [0x180061df0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm0
movaps xmm0, xmm7
mulss xmm8, xmm10
mulss xmm8, dword [0x18006b4c4]
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 [0x18006b4c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180042fe8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, dword [0x18006b4c4]
addss xmm8, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, dword [0x18006b4c4]
addss xmm7, xmm0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180043023
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm0, xmmword [0x180061df0]
mulss xmm0, dword [0x18006b4c4]
mulss xmm10, dword [0x18006b4c4]
addss xmm8, xmm0
addss xmm7, xmm10
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
cvtss2sd xmm1, xmm8
call fcn.18004dd80
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
cvtss2sd xmm1, xmm7
call fcn.18004df40
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 [0x1800619a0]
test ax, ax
je 0x18004307f
movsd xmm1, qword [0x180061980]
jmp 0x180043082
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18004de60
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18004de60
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18004de60
movaps xmm6, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180054400
add rsp, 0x88
ret