Function at 0x1800406a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180054020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rbx, qword [0x180054a78]
xor esi, esi
cmp byte [0x1800542b5], sil
je 0x18004074c
add eax, 0xfffffe70
mov qword [rbx + 0x4778], rsi
or dword [rbx + 0x4760], 1
lea ecx, [rdi - 0x258]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
mov dword [rbx + 0x4764], 1
mov byte [0x1800542b5], sil
movd xmm1, eax
mulss xmm2, dword [0x18004c1d0]
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x4770], xmm2
mulss xmm1, dword [0x18004c1d0]
movss dword [rbx + 0x4774], xmm1
movss xmm1, dword [rbx + 0x37f8]
lea rcx, [rbx + 0x47e0]
movss xmm0, dword [rbx + 0x37fc]
lea rdx, [rbp + 0x27]
movss dword [rbp + 0x2b], xmm1
movss dword [rbp + 0x2f], xmm0
mov dword [rbp + 0x27], 5
call fcn.18001c320
xor edx, edx
mov dword [rbx + 0x37f8], 0x44160000
mov r8d, 0x120
mov dword [rbx + 0x37fc], 0x43c80000
lea rcx, str.Luna
call fcn.180010750
lea rcx, [0x18004bf6c]
call fcn.180039700
movss xmm6, dword [0x18004c2d8]
test al, al
je 0x18004089b
lea rdx, [0x1800542a8]
lea rcx, [0x18004bf74]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bf7c]
lea rdx, [0x1800542a9]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bf84]
lea rdx, [0x1800542a2]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bf8c]
lea rdx, [0x1800542aa]
call fcn.180031f00
lea rdx, [0x180054a71]
lea rcx, [0x18004bf94]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bf9c]
lea rdx, [0x1800542a3]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bfa8]
lea rdx, [0x180054ac8]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bfb8]
lea rdx, [0x1800542a1]
call fcn.180031f00
lea rcx, [0x18004bfc8]
mov qword [rsp + 0xa0], r14
call fcn.180039700
test al, al
je 0x180040bd0
lea rdx, [0x180054ac9]
lea rcx, [0x18004bfd0]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bfe0]
lea rdx, [0x180054ad1]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004bff0]
lea rdx, [0x180054a73]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004c000]
lea rdx, [0x180054aca]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004c010]
lea rdx, [0x180054ad0]
call fcn.180031f00
movss xmm0, dword [0x18004c2b4]
lea rax, [rbp + 0x37]
lea r9, [rbp + 0x27]
movss dword [rbp + 0x37], xmm0
lea r8, [0x1800542b0]
mov qword [rsp + 0x20], rax
lea rcx, [0x18004c018]
mov dword [rbp + 0x27], 0x3f800000
call fcn.1800332d0
movss xmm0, dword [0x18004c28c]
lea rax, [rbp + 0x27]
lea r9, [rbp + 0x37]
movss dword [rbp + 0x27], xmm0
lea r8, [0x1800542ac]
mov qword [rsp + 0x20], rax
lea rcx, [0x18004c028]
mov dword [rbp + 0x37], 0x3f800000
call fcn.1800332d0
call fcn.1800330f0
mov ecx, dword [0x180054c2c]
test ecx, ecx
je 0x1800409e8
sub ecx, 1
je 0x1800409dc
sub ecx, 1
je 0x1800409d0
cmp ecx, 1
jne 0x1800409f2
mov dword [0x180054acc], esi
jmp 0x1800409f2
mov dword [0x180054acc], 3
jmp 0x1800409f2
mov dword [0x180054acc], 2
jmp 0x1800409f2
mov dword [0x180054acc], 1
lea rcx, str.:
call fcn.1800307e0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
cmp qword [0x180054b98], 0x10
lea rdi, [0x180054b80]
mov rcx, rdi
mov qword [rbp + 0x27], rsi
cmovae rcx, qword [0x180054b80]
lea rdx, [rbp + 0x27]
call fcn.180031120
movabs rbx, 0x2eae94e9898ce68b
movabs r14, 0xb8e4898ce6b7afe8
test al, al
je 0x180040a8d
cmp qword [0x180054b98], 0x10
mov rax, rdi
cmovae rax, qword [0x180054b80]
cmp qword [0x180054b90], 0x12
jne 0x180040a78
cmp qword [rax], r14
jne 0x180040a78
cmp qword [rax + 8], rbx
jne 0x180040a78
cmp word [rax + 0x10], 0x2e2e
je 0x180040a8d
mov r8d, 0x12
lea rdx, str....
mov rcx, rdi
call fcn.180003b30
cmp qword [0x180054b98], 0x10
mov rax, rdi
cmovae rax, qword [0x180054b80]
cmp qword [0x180054b90], 0x12
jne 0x180040bd0
cmp qword [rax], r14
jne 0x180040bd0
cmp qword [rax + 8], rbx
jne 0x180040bd0
cmp word [rax + 0x10], 0x2e2e
jne 0x180040bd0
mov ebx, esi
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x180040aee
inc ebx
cmp ebx, 0x100
jl 0x180040ad0
jmp 0x180040bd0
movzx edx, bl
mov dword [0x1800542a4], ebx
lea rcx, [rbp + 7]
call fcn.180040460
mov rbx, rax
cmp rdi, rax
je 0x180040b82
mov rdx, qword [0x180054b98]
cmp rdx, 0x10
jb 0x180040b45
mov rcx, qword [0x180054b80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040b40
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040bb4
call fcn.1800428b4
mov qword [0x180054b90], rsi
mov qword [0x180054b98], 0xf
mov byte [0x180054b80], sil
movups xmm0, xmmword [rbx]
movups xmmword [0x180054b80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x180054b90], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x180040bc0
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040bbb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180040bbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800428b4
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], sil
mov rbx, qword [0x180054a78]
mov rax, qword [rbx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rbx + 0x3ea0]
cmp byte [rax + 0x9b], sil
jne 0x180040cc7
movsxd rcx, dword [rax + 0xd0]
xor edx, edx
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x18004c06c]
call fcn.180006d60
mov edi, eax
cmp dword [rbx + 0x3ed4], eax
jne 0x180040c37
lea r8, [0x18004c06c]
mov edx, 0xb
mov ecx, eax
call fcn.18001bc70
xor r9d, r9d
lea r8, [0x18004c06c]
mov ecx, edi
lea edx, [r9 + 0x1a]
call fcn.180039040
test al, al
je 0x180040cc7
lea rdx, [0x180054acb]
lea rcx, [0x18004c078]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004c088]
lea rdx, [0x180054a72]
call fcn.180031f00
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.1800149c0
lea rcx, [0x18004c094]
mov qword [rbp + 0x27], rsi
lea rdx, [rbp + 0x27]
call fcn.180031120
test al, al
je 0x180040cc7
xor edx, edx
xor ecx, ecx
call fcn.18003bec0
cmp dword [0x180054bc8], esi
je 0x180040cc7
mov rcx, qword [0x180054bc0]
xor edx, edx
mov rcx, qword [rcx + 0x40]
call fcn.18003bec0
call fcn.180012b10
mov ecx, 2
call fcn.180007880
mov r14, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180042310
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret