Function at 0x140001f70
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
sub rsp, 0xd8
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
mov rax, qword [0x140100080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, dword [rcx + 0x24]
xor r14d, r14d
mov qword [r11 + 0x18], rbp
mov rbp, rdx
mov qword [r11 - 0x28], r15
mov rdi, rcx
test eax, eax
jne 0x140001fba
mov ebx, r14d
jmp 0x140001fdc
cmp eax, 1
jne 0x140001fc3
mov ebx, eax
jmp 0x140001fdc
mov ebx, dword [rsp + 0x30]
cmp eax, 2
jne 0x140001fd1
lea ebx, [rax + 6]
jmp 0x140001fdc
cmp eax, 3
mov ecx, 7
cmove ebx, ecx
mov rax, qword gs:[0x58]
mov r15d, 4
movaps xmmword [rsp + 0xc0], xmm6
mov rsi, qword [rax]
mov eax, dword [r15 + rsi]
cmp dword [0x14011b828], eax
jle 0x140002054
lea rcx, [0x14011b828]
call fcn.1400cdf68
cmp dword [0x14011b828], 0xffffffff
jne 0x140002054
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [0x14011b828]
movss dword [0x14011b834], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14011b830], xmm0
call fcn.1400cdefc
mov r9d, ebx
lea rdx, [rsp + 0x30]
mov r8, rbp
call fcn.140074310
mov eax, dword [r15 + rsi]
cmp dword [0x14011b828], eax
mov r15, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x110]
jle 0x1400020d2
lea rcx, [0x14011b828]
call fcn.1400cdf68
cmp dword [0x14011b828], 0xffffffff
jne 0x1400020d2
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [0x14011b828]
movss dword [0x14011b834], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14011b830], xmm0
call fcn.1400cdefc
movsd xmm0, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x38]
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.140074450
movss xmm10, dword [rsp + 0x30]
xorps xmm8, xmm8
ucomiss xmm10, xmm8
movss xmm9, dword [rsp + 0x34]
jp 0x14000211b
jne 0x14000211b
ucomiss xmm9, xmm8
jp 0x14000211b
je 0x14000237f
xor ecx, ecx
movaps xmmword [rsp + 0xb0], xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cvtps2pd xmm0, xmm9
mov esi, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movsd xmm1, qword [0x1400ecc80]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1400ecc80]
movaps xmm7, xmm0
movd xmm2, ebx
cvtdq2pd xmm2, xmm2
cvtps2pd xmm0, xmm10
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
ucomiss xmm1, xmm0
ja 0x14000219d
xorps xmm5, xmm5
sqrtss xmm5, xmm0
jmp 0x1400021a5
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm5, xmm0
ucomiss xmm10, xmm8
movsd xmm4, qword [0x1400ecc48]
xorps xmm7, xmm7
xorps xmm6, xmm6
jp 0x1400021bf
je 0x140002240
movd xmm3, ebx
cvtdq2ps xmm3, xmm3
comiss xmm10, xmm3
jbe 0x14000220f
xorps xmm1, xmm1
lea eax, [rbx + rbx]
movaps xmm0, xmm3
movaps xmm2, xmm3
subss xmm0, xmm10
xorps xmm0, xmmword [0x1400ed4e0]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 4]
subsd xmm0, xmm4
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtpd2ps xmm7, xmm1
cvtsi2ss xmm0, eax
addss xmm2, xmm7
comiss xmm2, xmm0
jbe 0x14000220f
xorps xmm7, xmm7
comiss xmm3, xmm10
jbe 0x140002240
movd xmm0, dword [rdi + 4]
subss xmm10, xmm3
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm10
subsd xmm0, xmm4
divsd xmm1, xmm0
cvtpd2ps xmm7, xmm1
addss xmm3, xmm7
comiss xmm8, xmm3
jbe 0x140002240
xorps xmm7, xmm7
ucomiss xmm9, xmm8
jp 0x14000224c
je 0x1400022cd
movd xmm3, esi
cvtdq2ps xmm3, xmm3
comiss xmm9, xmm3
jbe 0x14000229c
xorps xmm1, xmm1
lea eax, [rsi + rsi]
movaps xmm0, xmm3
movaps xmm2, xmm3
subss xmm0, xmm9
xorps xmm0, xmmword [0x1400ed4e0]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 4]
subsd xmm0, xmm4
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtpd2ps xmm6, xmm1
cvtsi2ss xmm0, eax
addss xmm2, xmm6
comiss xmm2, xmm0
jbe 0x14000229c
xorps xmm6, xmm6
comiss xmm3, xmm9
jbe 0x1400022cd
movd xmm0, dword [rdi + 4]
subss xmm9, xmm3
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm9
subsd xmm0, xmm4
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
addss xmm3, xmm6
comiss xmm8, xmm3
jbe 0x1400022cd
xorps xmm6, xmm6
movd xmm0, dword [rdi]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x140002377
call fcn.140069910
cmp byte [rax + 0x160], r14b
jne 0x140002377
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000235b
mov r8d, Ordinal_41
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x64], 2
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x70], r14
lea ecx, [r8 - 0x27]
mov dword [rsp + 0x68], r14d
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, Ordinal_41
mov dword [rsp + 0x64], 4
lea rdx, [rsp + 0x50]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x140002377
xor r9d, r9d
mov qword [rsp + 0x20], r14
cvttss2si r8, xmm6
lea ecx, [r9 + 4]
cvttss2si rdx, xmm7
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400cde30
lea r11, [rsp + 0xd8]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
ret