Function at 0x1401632d0
Capabilities:
Log keystrokes
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
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
xor r13d, r13d
movss xmm6, dword [0x1402c1a74]
movaps xmm1, xmm6
call fcn.1401c2fb0
mov rdi, rax
test rax, rax
je 0x1401639da
cmp byte [rax + 0xa7], r13b
je 0x1401639da
mov rcx, rax
call fcn.14006a560
test al, al
jne 0x1401639da
cmp byte [rdi + 0xa5], r13b
je 0x1401639da
cmp byte [rdi + 0xa4], r13b
je 0x1401639da
mov rax, qword [rsi + 0xe0]
movss xmm7, dword [0x1402c1a68]
cmp byte [rax + 0x2b0], r13b
je 0x14016361b
mov rbx, qword [0x1402fb580]
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rbx + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm1, xmm0
movss xmm2, dword [rbx + 0x10]
subss xmm2, dword [rdi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x1401633d0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401633d8
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402c19d0]
comiss xmm1, xmm0
jbe 0x14016361b
cmp dword [rbx + 0x2a8], r13d
jbe 0x1401633ff
cmp dword [rbx + 0x2a4], r13d
je 0x14016361b
movss xmm0, dword [0x1402fb3b0]
comiss xmm0, dword [rbx + 0x2b0]
jb 0x14016361b
mov eax, dword [rbx + 0x2a0]
test eax, eax
je 0x14016361b
dec eax
movss xmm0, dword [rbx + 0x30]
comiss xmm0, dword [rbx + rax*4 + 0x2d8]
jb 0x14016361b
cmp byte [rsi + 0x108], r13b
jne 0x14016361b
movd xmm0, dword [rsi + 0x11c]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402fb394]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x14016361b
cmp byte [rbx + 0xe8], r13b
je 0x14016347a
cmp byte [rbx + 0x130], r13b
je 0x14016347a
mov al, 1
jmp 0x14016347c
xor al, al
test al, al
jne 0x14016361b
lea rdx, [rsi + 0x130]
lea rcx, [rsp + 0x50]
call fcn.140031b20
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rax + 0x40], rdi
mov r8, rax
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1402fb4e8]
call fcn.14015e510
nop
lea rcx, [rbx + 0x90]
call fcn.140034070
nop
cmp dword [rbp + 0x158], 5
jl 0x140163616
movss xmm0, dword [rbp + 0x140]
ucomiss xmm0, dword [0x1402fba30]
jp 0x14016350c
jne 0x14016350c
movss xmm0, dword [rbp + 0x144]
ucomiss xmm0, dword [0x1402fba34]
jp 0x14016350c
jne 0x14016350c
movss xmm0, dword [rbp + 0x148]
ucomiss xmm0, dword [0x1402fba38]
jp 0x14016350c
je 0x140163616
call fcn.14013edd0
mov r15, rax
movsd xmm6, qword [rbp + 0x140]
mov r12d, dword [rbp + 0x148]
mov rcx, qword [0x1402fb490]
cmp byte [rcx + 0x6c], 0
jne 0x140163616
mov r14, qword [0x1402fb580]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r13
mov rdx, qword [0x1402fe798]
sub rdx, qword [0x1402fe790]
je 0x140163588
lea rcx, [rbp + 0x18]
call fcn.140014500
mov rdi, qword [rbp + 0x18]
mov rbx, qword [0x1402fe798]
mov rdx, qword [0x1402fe790]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x18]
lea rcx, [r14 + 0x170]
call fcn.140066940
test al, al
jne 0x140163616
mov rax, qword [0x1402fb4f0]
cmp dword [rax + 0x154], 1
je 0x140163616
mov rax, qword [0x1402fb9c0]
test rax, rax
jne 0x1401635d7
mov ecx, 0x36e490
call fcn.14022869c
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.1401d6670
nop
mov qword [0x1402fb9c0], rax
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], r12d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1401d5b90
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
mov rcx, r15
call fcn.14006d7b0
test al, al
je 0x140163616
cvttss2si eax, dword [0x1402fb394]
mov dword [rsi + 0x11c], eax
jmp 0x1401639bc
mov rdx, rdi
mov rcx, rsi
call fcn.140162480
test al, al
je 0x1401639da
mov rax, qword [rsi + 0xe8]
cmp byte [rax + 0x2b0], r13b
je 0x1401639da
call fcn.14013edd0
call fcn.14013edd0
mov rax, qword [0x1402fb450]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0xf
mov rdx, qword [0x1402fb580]
test cl, 1
jne 0x140163759
cmp dword [rdx + 0x2a8], r13d
jbe 0x14016368c
cmp dword [rdx + 0x2a4], r13d
je 0x140163759
movss xmm0, dword [0x1402fb3b0]
comiss xmm0, dword [rdx + 0x2b0]
jb 0x140163759
mov eax, dword [rdx + 0x2a0]
test eax, eax
je 0x140163759
dec eax
movss xmm0, dword [rdx + 0x30]
comiss xmm0, dword [rdx + rax*4 + 0x2d8]
jb 0x140163759
cmp byte [rsi + 0x108], r13b
jne 0x140163766
movd xmm0, dword [rsi + 0x11c]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402fb394]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x140163759
cmp byte [rdx + 0xe8], r13b
je 0x1401636ff
cmp byte [rdx + 0x130], r13b
jne 0x140163759
call fcn.14013edd0
mov rbx, rax
call fcn.14013edd0
mov rcx, qword [0x1402fb450]
movzx ecx, byte [rcx + 0x2b0]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rbp + 0x18], 1
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x38], r13
mov word [rbp + 0x22], ax
mov qword [rbp + 0x30], r13
mov word [rbp + 0x20], r13w
mov dword [rbp + 0x24], 8
lea r8, [rbp + 0x18]
mov rcx, rbx
call fcn.14006ca60
mov rdx, qword [0x1402fb580]
cmp byte [rsi + 0x108], r13b
je 0x1401639da
movss xmm7, dword [rdx + 0xd4]
movss xmm9, dword [0x1402c1908]
comiss xmm7, dword [0x1402c19c4]
jbe 0x140163786
movaps xmm1, xmm9
jmp 0x140163789
movaps xmm1, xmm7
movss xmm8, dword [rsi + 0x130]
movaps xmm0, xmm6
subss xmm0, xmm1
subss xmm0, dword [0x1402c18cc]
comiss xmm0, xmm8
jbe 0x1401638ce
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rdx + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm1, xmm0
movss xmm2, dword [rdx + 0x10]
subss xmm2, dword [rdi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x1401637e6
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401637ee
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rsi + 0x1f8]
comiss xmm1, xmm0
jb 0x1401638ce
comiss xmm8, dword [0x1402c19f4]
jbe 0x1401638ce
lea rdx, [rsi + 0x130]
lea rcx, [rsp + 0x50]
call fcn.140031b20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rax + 0x40], rdi
mov r8, rax
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1402fb4e8]
call fcn.14015e510
nop
lea rcx, [rbx + 0x90]
call fcn.140034070
nop
cmp dword [rbp + 0x158], 5
jl 0x1401638c9
movss xmm0, dword [rbp + 0x140]
ucomiss xmm0, dword [0x1402fba30]
jp 0x14016388d
jne 0x14016388d
movss xmm0, dword [rbp + 0x144]
ucomiss xmm0, dword [0x1402fba34]
jp 0x14016388d
jne 0x14016388d
movss xmm0, dword [rbp + 0x148]
ucomiss xmm0, dword [0x1402fba38]
jp 0x14016388d
je 0x1401638c9
call fcn.14013edd0
movsd xmm0, qword [rbp + 0x140]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rbp + 0x148]
mov dword [rsp + 0x28], ecx
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.14006e600
test al, al
je 0x1401638c9
cvttss2si eax, dword [0x1402fb394]
mov dword [rsi + 0x11c], eax
jmp 0x1401639bc
comiss xmm7, dword [0x1402c19c4]
ja 0x1401638db
movaps xmm9, xmm7
subss xmm6, xmm9
subss xmm6, dword [0x1402c18cc]
comiss xmm8, xmm6
jbe 0x1401639da
comiss xmm8, dword [0x1402c19f4]
jbe 0x1401639da
lea rdx, [rsi + 0x130]
lea rcx, [rsp + 0x50]
call fcn.140031b20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rax + 0x40], rdi
mov r8, rax
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1402fb4e8]
call fcn.14015e510
nop
lea rcx, [rbx + 0x90]
call fcn.140034070
nop
cmp dword [rbp + 0x158], 5
jl 0x1401639bc
movss xmm0, dword [rbp + 0x140]
ucomiss xmm0, dword [0x1402fba30]
jp 0x140163980
jne 0x140163980
movss xmm0, dword [rbp + 0x144]
ucomiss xmm0, dword [0x1402fba34]
jp 0x140163980
jne 0x140163980
movss xmm0, dword [rbp + 0x148]
ucomiss xmm0, dword [0x1402fba38]
jp 0x140163980
je 0x1401639bc
call fcn.14013edd0
movsd xmm0, qword [rbp + 0x140]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rbp + 0x148]
mov dword [rsp + 0x28], ecx
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.14006e600
test al, al
je 0x1401639bc
cvttss2si eax, dword [0x1402fb394]
mov dword [rsi + 0x11c], eax
lea rcx, [rbp + 0x108]
call fcn.140034070
lea rcx, [rbp + 0x58]
call fcn.140033e60
lea rcx, [rbp + 0x40]
call fcn.140033e60
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1402283f0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret