Function at 0x1401dddb0
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 - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
xor r13d, r13d
movss xmm1, dword [0x1402c1abc]
call fcn.1401c2e00
mov rdi, rax
test rax, rax
je 0x1401de4c5
cmp byte [rax + 0xa7], r13b
je 0x1401de4c5
mov rcx, rax
call fcn.14006a560
test al, al
jne 0x1401de4c5
cmp byte [rdi + 0xa5], r13b
je 0x1401de4c5
cmp byte [rdi + 0xa4], r13b
je 0x1401de4c5
mov eax, dword [rsi + 0x54]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm6, dword [0x1402fb394]
comiss xmm6, xmm0
jbe 0x1401de4c5
mov eax, dword [rsi + 0x58]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x1401de4c5
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 0x1401ddebf
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401ddec7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402c1a14]
movss xmm7, dword [0x1402c1a68]
comiss xmm1, xmm0
jbe 0x1401de13a
cmp dword [rbx + 0x2a8], r13d
jbe 0x1401ddef6
cmp dword [rbx + 0x2a4], r13d
je 0x1401de13a
movss xmm0, dword [0x1402fb3b0]
comiss xmm0, dword [rbx + 0x2b0]
jb 0x1401de13a
mov eax, dword [rbx + 0x2a0]
test eax, eax
je 0x1401de13a
dec eax
movss xmm0, dword [rbx + 0x30]
comiss xmm0, dword [rbx + rax*4 + 0x2d8]
jb 0x1401de13a
cmp byte [rsi + 0x48], r13b
jne 0x1401de13a
cmp byte [rsi + 0x49], r13b
je 0x1401de13a
movd xmm0, dword [rsi + 0x50]
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x1401de13a
cmp byte [rbx + 0xe8], r13b
je 0x1401ddf6d
cmp byte [rbx + 0x130], r13b
je 0x1401ddf6d
mov al, 1
jmp 0x1401ddf6f
xor al, al
test al, al
jne 0x1401de13a
lea rdx, [rsi + 0x60]
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
mov ecx, dword [rsi + 0x150]
test ecx, ecx
je 0x1401ddfe0
sub ecx, 1
je 0x1401ddfd9
sub ecx, 1
je 0x1401ddfcb
cmp ecx, 1
je 0x1401ddfd2
mov eax, 5
jmp 0x1401ddfe5
mov eax, 6
jmp 0x1401ddfe5
mov eax, 4
jmp 0x1401ddfe5
mov eax, 3
cmp dword [rbp + 0x158], eax
jl 0x1401de135
movss xmm0, dword [rbp + 0x140]
ucomiss xmm0, dword [0x1402fba30]
jp 0x1401de02e
jne 0x1401de02e
movss xmm0, dword [rbp + 0x144]
ucomiss xmm0, dword [0x1402fba34]
jp 0x1401de02e
jne 0x1401de02e
movss xmm0, dword [rbp + 0x148]
ucomiss xmm0, dword [0x1402fba38]
jp 0x1401de02e
je 0x1401de135
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 0x1401de135
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 0x1401de0aa
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 0x1401de135
mov rax, qword [0x1402fb4f0]
cmp dword [rax + 0x154], 1
je 0x1401de135
mov rax, qword [0x1402fb9c0]
test rax, rax
jne 0x1401de0f9
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 0x1401de135
cvttss2si eax, dword [0x1402fb394]
mov dword [rsi + 0x50], eax
jmp 0x1401de4a7
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 0x1401de255
cmp dword [rdx + 0x2a8], r13d
jbe 0x1401de184
cmp dword [rdx + 0x2a4], r13d
je 0x1401de255
movss xmm0, dword [0x1402fb3b0]
comiss xmm0, dword [rdx + 0x2b0]
jb 0x1401de255
mov eax, dword [rdx + 0x2a0]
test eax, eax
je 0x1401de255
dec eax
movss xmm0, dword [rdx + 0x30]
comiss xmm0, dword [rdx + rax*4 + 0x2d8]
jb 0x1401de255
cmp byte [rsi + 0x48], r13b
jne 0x1401de25f
cmp byte [rsi + 0x49], r13b
je 0x1401de255
movd xmm0, dword [rsi + 0x50]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402fb394]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x1401de255
cmp byte [rdx + 0xe8], r13b
je 0x1401de1fb
cmp byte [rdx + 0x130], r13b
jne 0x1401de255
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 + 0x48], r13b
je 0x1401de4c5
movss xmm6, dword [rsi + 0x60]
movss xmm7, dword [0x1402c1a94]
comiss xmm7, xmm6
jbe 0x1401de3b6
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 0x1401de2b0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401de2b8
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rsi + 0x128]
comiss xmm1, xmm0
jb 0x1401de3b6
lea rdx, [rsi + 0x60]
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
mov ecx, dword [rsi + 0x150]
test ecx, ecx
je 0x1401de332
sub ecx, 1
je 0x1401de32b
sub ecx, 1
je 0x1401de31d
cmp ecx, 1
je 0x1401de324
mov eax, 5
jmp 0x1401de337
mov eax, 6
jmp 0x1401de337
mov eax, 4
jmp 0x1401de337
mov eax, 3
cmp dword [rbp + 0x158], eax
jl 0x1401de3b1
movss xmm0, dword [rbp + 0x140]
ucomiss xmm0, dword [0x1402fba30]
jp 0x1401de378
jne 0x1401de378
movss xmm0, dword [rbp + 0x144]
ucomiss xmm0, dword [0x1402fba34]
jp 0x1401de378
jne 0x1401de378
movss xmm0, dword [rbp + 0x148]
ucomiss xmm0, dword [0x1402fba38]
jp 0x1401de378
je 0x1401de3b1
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 0x1401de3b1
cvttss2si eax, dword [0x1402fb394]
mov dword [rsi + 0x50], eax
jmp 0x1401de4a7
comiss xmm6, xmm7
jbe 0x1401de4c5
lea rdx, [rsi + 0x60]
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
mov ecx, dword [rsi + 0x150]
test ecx, ecx
je 0x1401de428
sub ecx, 1
je 0x1401de421
sub ecx, 1
je 0x1401de413
cmp ecx, 1
je 0x1401de41a
mov eax, 5
jmp 0x1401de42d
mov eax, 6
jmp 0x1401de42d
mov eax, 4
jmp 0x1401de42d
mov eax, 3
cmp dword [rbp + 0x158], eax
jl 0x1401de4a7
movss xmm0, dword [rbp + 0x140]
ucomiss xmm0, dword [0x1402fba30]
jp 0x1401de46e
jne 0x1401de46e
movss xmm0, dword [rbp + 0x144]
ucomiss xmm0, dword [0x1402fba34]
jp 0x1401de46e
jne 0x1401de46e
movss xmm0, dword [rbp + 0x148]
ucomiss xmm0, dword [0x1402fba38]
jp 0x1401de46e
je 0x1401de4a7
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 0x1401de4a7
cvttss2si eax, dword [0x1402fb394]
mov dword [rsi + 0x50], 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 + 0x290]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret