Function at 0x14002c560
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
mov rax, qword [0x140112040]
xor rax, rsp
mov qword [rbp - 9], rax
xor esi, esi
mov rcx, qword [0x140285d18]
test rcx, rcx
je 0x14002c5e3
cmp dword [0x140285b6c], esi
je 0x14002c5e3
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rbp - 0x29]
mov rdx, qword [0x140286be0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140285d18]
test eax, eax
je 0x14002c5e3
mov rdx, qword [rbp - 0x29]
jmp 0x14002c5ea
mov rdx, rsi
mov qword [rbp - 0x29], rdx
test rcx, rcx
je 0x14002c61a
cmp dword [0x140285b6c], esi
je 0x14002c61a
add rdx, 8
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14002c61a
mov rbx, qword [rbp - 0x39]
jmp 0x14002c621
mov rbx, rsi
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x14002ca2a
cmp byte [0x140286fd0], sil
je 0x14002ca2a
mov eax, dword [0x140286fe4]
test eax, eax
jne 0x14002c649
mov dword [0x140286900], esi
jmp 0x14002c69c
cmp eax, 1
jne 0x14002c65a
mov dword [0x140286900], 7
jmp 0x14002c69c
cmp eax, 2
jne 0x14002c66b
mov dword [0x140286900], 6
jmp 0x14002c69c
cmp eax, 3
jne 0x14002c67c
mov dword [0x140286900], 5
jmp 0x14002c69c
cmp eax, 4
jne 0x14002c68d
mov dword [0x140286900], 3
jmp 0x14002c69c
cmp eax, 5
jne 0x14002c69c
mov dword [0x140286900], 4
lea rcx, [0x140286b40]
call fcn.14002c0f0
mov rdi, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test rdi, rdi
je 0x14002ca2a
mov rcx, qword [0x140285d18]
test rcx, rcx
je 0x14002c702
cmp dword [0x140285b6c], esi
je 0x14002c702
lea rdx, [rbx + 0x90]
mov qword [rsp + 0x20], rsi
mov r9d, recvfrom
lea r8, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140285d18]
test eax, eax
jne 0x14002c706
mov qword [rbp - 0x29], rsi
test rcx, rcx
je 0x14002c733
cmp dword [0x140285b6c], esi
je 0x14002c733
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], rsi
mov r9d, recvfrom
lea r8, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14002c737
mov qword [rbp - 0x19], rsi
movss xmm1, dword [rbp - 0x21]
subss xmm1, dword [rbp - 0x11]
movss xmm0, dword [rbp - 0x25]
subss xmm0, dword [rbp - 0x15]
movss xmm2, dword [rbp - 0x29]
subss xmm2, dword [rbp - 0x19]
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm0
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x14002c77a
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14002c782
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movd xmm0, dword [0x140286fdc]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jb 0x14002ca2a
mov r8d, dword [0x140286900]
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140023ca0
movsd xmm0, qword [rbp - 0x39]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [rbp - 0x31]
mov dword [rbp - 0x41], eax
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [0x140286b40]
call fcn.14002bec0
movss xmm10, dword [0x140286fd8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
movss xmm9, dword [rbp - 0x35]
cvtps2pd xmm0, xmm9
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movsd xmm1, qword [0x1400fcb08]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
movss xmm8, dword [rbp - 0x39]
cvtps2pd xmm0, xmm8
movd xmm2, ebx
cvtdq2pd xmm2, xmm2
subsd xmm0, xmm2
movsd xmm1, qword [0x1400fcb08]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
xorps xmm1, xmm1
ucomiss xmm1, xmm0
ja 0x14002c865
xorps xmm4, xmm4
sqrtss xmm4, xmm0
jmp 0x14002c86d
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm4, xmm0
xorps xmm2, xmm2
xorps xmm7, xmm7
xorps xmm6, xmm6
movss xmm5, dword [0x1400fd2a0]
ucomiss xmm8, xmm2
jp 0x14002c886
je 0x14002c8db
movd xmm3, ebx
cvtdq2ps xmm3, xmm3
comiss xmm8, xmm3
jbe 0x14002c8bc
movaps xmm7, xmm3
subss xmm7, xmm8
xorps xmm7, xmm5
divss xmm7, xmm10
movaps xmm1, xmm3
addss xmm1, xmm7
lea eax, [rbx + rbx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x14002c8bc
xorps xmm7, xmm7
comiss xmm3, xmm8
jbe 0x14002c8db
movaps xmm7, xmm8
subss xmm7, xmm3
divss xmm7, xmm10
addss xmm3, xmm7
comiss xmm2, xmm3
jbe 0x14002c8db
xorps xmm7, xmm7
ucomiss xmm9, xmm2
jp 0x14002c8e3
je 0x14002c938
movd xmm3, edi
cvtdq2ps xmm3, xmm3
comiss xmm9, xmm3
jbe 0x14002c919
movaps xmm6, xmm3
subss xmm6, xmm9
xorps xmm6, xmm5
divss xmm6, xmm10
movaps xmm1, xmm3
addss xmm1, xmm6
lea eax, [rdi + rdi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x14002c919
xorps xmm6, xmm6
comiss xmm3, xmm9
jbe 0x14002c938
movaps xmm6, xmm9
subss xmm6, xmm3
divss xmm6, xmm10
addss xmm3, xmm6
comiss xmm2, xmm3
jbe 0x14002c938
xorps xmm6, xmm6
xorps xmm1, xmm1
cvtss2sd xmm1, xmm4
movd xmm0, dword [0x140286fd4]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x1400fcae0]
comisd xmm0, xmm1
jb 0x14002ca2a
mov ecx, dword [0x140286fe8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14002ca2a
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, 3
lea rcx, str..Oykyo
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rbp - 0x39], rax
cmp rax, 0xffffffffffffffff
jne 0x14002c9bf
lea rdx, [0x1400f9c24]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140015d60
nop
cmp byte [0x140286fd2], 0
je 0x14002c9d7
cvttss2si edx, xmm6
cvttss2si ecx, xmm7
call fcn.140024bf0
jmp 0x14002ca1b
cmp rbx, 0xffffffffffffffff
je 0x14002ca1b
cvttss2si eax, xmm7
mov dword [rbp - 0x39], eax
cvttss2si eax, xmm6
mov dword [rbp - 0x35], eax
mov word [rbp - 0x31], si
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, recvfrom
lea r8, [rbp - 0x39]
mov edx, 0x2676d8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop
cmp rbx, 0xffffffffffffffff
je 0x14002ca2a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14009e1d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret