Function at 0x18001aaa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x180132408]
xor rax, rsp
mov qword [rbp + 0x30], rax
cmp byte [0x1801af02d], 0
je 0x18001b325
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001b325
movss xmm0, dword [0x180102720]
mov qword [rsp + 0x210], rbx
movabs rbx, 0xe2587f8cbbd87b1d
mov qword [rsp + 0x218], rsi
xor esi, esi
comiss xmm0, dword [0x18014ff4c]
mov qword [rsp + 0x220], rdi
jbe 0x18001ab7f
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rsi
mov qword [0x18014c770], rax
mov dword [rsp + 0x30], 0x105
mov rax, qword [rsp + 0x30]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], esi
je 0x18001ab7f
movss xmm0, dword [0x18014ff4c]
addss xmm0, dword [0x18010208c]
movss dword [0x18014ff4c], xmm0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rsi
mov qword [0x18014c770], rax
mov dword [rsp + 0x30], 0x106
mov rax, qword [rsp + 0x30]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], esi
je 0x18001abe9
movss xmm0, dword [0x18014ff4c]
addss xmm0, dword [0x180103cdc]
movss dword [0x18014ff4c], xmm0
movabs rbx, 0xd80958fc74e988a6
mov dword [rbp - 0x30], 0xa
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], esi
mov dword [0x18014c6a8], esi
call fcn.18003c7d0
mov qword [rsp + 0x30], rsi
mov ecx, dword [rax]
movabs rax, 0x23f8f5fc7e8c4a6b
mov qword [0x1801b1910], rax
mov dword [rsp + 0x30], ecx
mov rax, qword [rsp + 0x30]
mov qword [0x18014c770], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rsi
mov qword [0x18014c778], rax
mov dword [rsp + 0x30], 0xffffffff
mov rax, qword [rsp + 0x30]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], esi
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov dword [rsp + 0x70], 0xa
mov dword [0x18014c698], esi
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], rbx
call fcn.18003c7d0
mov qword [rsp + 0x30], rsi
mov ecx, dword [rax]
movabs rax, 0xcff869cbfa210d82
mov qword [0x1801b1910], rax
mov dword [rsp + 0x30], ecx
mov rax, qword [rsp + 0x30]
mov qword [0x18014c770], rax
lea rax, [rsp + 0x70]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], esi
mov dword [0x18014c698], 2
call fcn.18003c7d0
movsxd rdi, dword [rax]
test rdi, rdi
jle 0x18001b30d
mov qword [rsp + 0x1f8], r12
mov rbx, rsi
mov qword [rsp + 0x1f0], r13
movabs r12, 0x524ac5ecea15343e
mov qword [rsp + 0x1e8], r14
movabs r13, 0x9a9112a0fe9a4713
mov qword [rsp + 0x1e0], r15
movabs r14, 0x1c99bb7b6e96d16f
movaps xmmword [rsp + 0x1d0], xmm6
movabs r15, 0x997abd671d25ca0b
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
movaps xmmword [rsp + 0x190], xmm10
movaps xmmword [rsp + 0x180], xmm11
xorps xmm11, xmm11
movaps xmmword [rsp + 0x170], xmm12
movaps xmmword [rsp + 0x160], xmm13
movaps xmmword [rsp + 0x150], xmm14
movss xmm14, dword [0x180101e8c]
movaps xmmword [rsp + 0x140], xmm15
movss xmm15, dword [0x180106440]
mov eax, dword [rsp + rbx*8 + 0x78]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [0x18014c770], rax
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], r12
mov dword [0x18014c698], 1
call fcn.18003c7d0
cmp dword [rax], esi
je 0x18001ae60
mov eax, dword [rsp + rbx*8 + 0x78]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [0x18014c770], rax
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], r15
mov qword [0x18014c778], rsi
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], esi
je 0x18001ae60
mov eax, dword [rsp + rbx*8 + 0x78]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [0x18014c770], rax
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rsi
mov dword [0x18014c698], 2
call fcn.18003c7d0
mov ecx, dword [rax]
mov dword [rsp + rbx*8 + 0x78], ecx
movabs rax, 0x837765a25378f0bb
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], rax
mov qword [0x18014c770], rsi
mov dword [0x18014c698], 1
call fcn.18003c7d0
xorps xmm10, xmm10
xorps xmm8, xmm8
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
mulss xmm0, xmm14
mulss xmm1, xmm14
cvtss2sd xmm10, xmm0
cvtss2sd xmm8, xmm1
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
andps xmm1, xmmword [0x180106410]
cvtps2pd xmm7, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm6, dword [0x18014ff4c]
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
xorps xmm1, xmm15
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm7
cvtpd2ps xmm9, xmm2
mulss xmm9, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm10
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm7
cvtpd2ps xmm8, xmm2
mulss xmm8, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm7, xmm7
mov dword [0x18014c698], esi
cvtsd2ss xmm7, xmm0
movabs rax, 0x14d6f5678d8f1b37
mov dword [0x18014c6a8], esi
mov qword [0x1801b1910], rax
mulss xmm7, xmm6
call fcn.18003c7d0
mov qword [rsp + 0x30], rsi
movups xmm10, xmmword [rax]
movsd xmm12, qword [rax + 0x10]
movabs rax, 0x3fef770d40960d5a
movaps xmm13, xmm10
mov qword [0x1801b1910], rax
mov eax, dword [rsp + rbx*8 + 0x78]
addss xmm13, xmm9
mov dword [rsp + 0x30], eax
addss xmm12, xmm7
mov rax, qword [rsp + 0x30]
shufps xmm10, xmm10, 0xaa
mov qword [0x18014c770], rax
addss xmm10, xmm8
mov dword [0x18014c6a8], esi
mov qword [0x18014c778], rsi
mov dword [0x18014c698], 2
call fcn.18003c7d0
mov qword [rsp + 0x30], rsi
movss dword [rsp + 0x30], xmm13
movups xmm7, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
mov rax, qword [0x180150098]
movups xmmword [rsp + 0x38], xmm7
movsd qword [rsp + 0x48], xmm0
movzx r8d, byte [rax + 0xe2]
movzx edx, byte [rax + 0xe1]
movzx ecx, byte [rax + 0xe0]
movabs rax, 0x799017f9e3b10112
mov qword [0x1801b1910], rax
mov rax, qword [rsp + 0x30]
mov dword [0x18014c6a8], esi
mov qword [0x18014c770], rax
mov qword [rsp + 0x30], rsi
movss dword [rsp + 0x30], xmm10
mov rax, qword [rsp + 0x30]
mov qword [0x18014c778], rax
mov qword [rsp + 0x30], rsi
movss dword [rsp + 0x30], xmm12
mov rax, qword [rsp + 0x30]
mov qword [0x18014c780], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], 0x40800000
mov rax, qword [rsp + 0x30]
mov qword [0x18014c788], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], ecx
mov rax, qword [rsp + 0x30]
mov qword [0x18014c790], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], edx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x30], r8d
mov qword [0x18014c798], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rsi
mov qword [0x18014c7a0], rax
mov dword [rsp + 0x30], 0x3f000000
mov rax, qword [rsp + 0x30]
mov qword [0x18014c7a8], rax
mov dword [0x18014c698], 8
call fcn.18003c7d0
mov ecx, dword [rsp + rbx*8 + 0x78]
call fcn.18002a830
mov ecx, dword [rbp + rbx*8 - 0x28]
call fcn.18002a830
comiss xmm13, xmm11
jbe 0x18001b0fb
comiss xmm7, xmm11
jbe 0x18001b0fb
movaps xmm6, xmm13
subss xmm6, xmm7
movss dword [0x1801b1cbc], xmm6
jmp 0x18001b103
movss xmm6, dword [0x1801b1cbc]
comiss xmm11, xmm13
jbe 0x18001b11f
comiss xmm11, xmm7
jbe 0x18001b11f
movaps xmm6, xmm13
subss xmm6, xmm7
movss dword [0x1801b1cbc], xmm6
comiss xmm13, xmm11
jbe 0x18001b13b
comiss xmm11, xmm7
jbe 0x18001b13b
movaps xmm6, xmm13
addss xmm6, xmm7
movss dword [0x1801b1cbc], xmm6
comiss xmm11, xmm13
jbe 0x18001b157
comiss xmm7, xmm11
jbe 0x18001b157
movaps xmm6, xmm13
addss xmm6, xmm7
movss dword [0x1801b1cbc], xmm6
comiss xmm10, xmm11
movss xmm0, dword [rsp + 0x40]
movaps xmm8, xmm6
jbe 0x18001b17d
comiss xmm0, xmm11
jbe 0x18001b17d
movaps xmm6, xmm10
subss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm11, xmm10
jbe 0x18001b199
comiss xmm11, xmm0
jbe 0x18001b199
movaps xmm6, xmm10
subss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm10, xmm11
jbe 0x18001b1b5
comiss xmm11, xmm0
jbe 0x18001b1b5
movaps xmm6, xmm10
addss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm11, xmm10
jbe 0x18001b1d1
comiss xmm0, xmm11
jbe 0x18001b1d1
movaps xmm6, xmm10
addss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm12, xmm11
movss xmm0, dword [rsp + 0x48]
movaps xmm7, xmm6
jbe 0x18001b1f6
comiss xmm0, xmm11
jbe 0x18001b1f6
movaps xmm6, xmm12
subss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm11, xmm12
jbe 0x18001b212
comiss xmm11, xmm0
jbe 0x18001b212
movaps xmm6, xmm12
subss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm12, xmm11
jbe 0x18001b22e
comiss xmm11, xmm0
jbe 0x18001b22e
movaps xmm6, xmm12
addss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
comiss xmm11, xmm12
jbe 0x18001b24a
comiss xmm0, xmm11
jbe 0x18001b24a
movaps xmm6, xmm12
addss xmm6, xmm0
movss dword [0x1801b1cbc], xmm6
mov edx, dword [rbp + rbx*8 - 0x28]
addss xmm7, xmm7
addss xmm8, xmm8
mov rcx, r14
addss xmm6, xmm6
movaps xmm3, xmm7
movaps xmm2, xmm8
movss dword [rsp + 0x20], xmm6
call fcn.18002fce0
mov edx, dword [rsp + rbx*8 + 0x78]
movaps xmm3, xmm7
movaps xmm2, xmm8
movss dword [rsp + 0x20], xmm6
mov rcx, r14
call fcn.18002fce0
inc rbx
cmp rbx, rdi
jl 0x18001ada1
movaps xmm15, xmmword [rsp + 0x140]
movaps xmm14, xmmword [rsp + 0x150]
movaps xmm13, xmmword [rsp + 0x160]
movaps xmm12, xmmword [rsp + 0x170]
movaps xmm11, xmmword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
mov r15, qword [rsp + 0x1e0]
mov r14, qword [rsp + 0x1e8]
mov r13, qword [rsp + 0x1f0]
mov r12, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x218]
mov rbx, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x220]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800cdb80
add rsp, 0x200
pop rbp
ret