Function at 0x140001fb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0xa0
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [0x140139d18]
mov rsi, rcx
mov qword [r11 + 0x18], rbp
xor ebp, ebp
movaps xmmword [r11 - 0x18], xmm6
test rax, rax
je 0x140001fed
mov rcx, qword [rax + 0xa0]
jmp 0x140001ff0
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x140002011
test rax, rax
je 0x140002011
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140002011
cmp qword [rcx], rbp
je 0x140002011
call fcn.14002d800
mov qword [rsp + 0xb8], rbx
call fcn.14002e300
call fcn.14000a570
cmp qword [0x140139da8], rbp
je 0x14000226e
cmp byte [0x140050065], bpl
je 0x1400021cc
lea rcx, [0x140050050]
call fcn.140001010
mov edx, dword [0x14005005c]
test edx, edx
jne 0x140002070
test rax, rax
je 0x1400021cc
mov rdx, rax
lea rcx, [0x140050050]
call fcn.140001460
jmp 0x1400021cc
cmp edx, 1
jne 0x1400021cc
test rax, rax
je 0x1400021cc
mov qword [rsp + 0xc8], rdi
lea rcx, [0x140050050]
mov edi, dword [0x140050070]
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm8
call fcn.140001010
mov rbx, rax
call fcn.14003f8a0
mov r9d, edi
lea rdx, [rsp + 0x58]
mov r8, rbx
call fcn.14003f940
call fcn.14003f8a0
movsd xmm8, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
mov edi, dword [rsp + 0x60]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x40], xmm8
mov dword [rsp + 0x48], edi
call fcn.14003fa80
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm7, dword [rsp + 0x54]
mov ecx, 1
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cvtps2pd xmm7, xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm7, xmm1
movsd xmm1, qword [0x140048998]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x140048998]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0x50]
movd xmm2, ebx
cvtps2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
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
movaps xmm7, xmmword [rsp + 0x80]
ucomiss xmm1, xmm0
ja 0x140002179
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x140002181
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
mov ecx, dword [0x140139cf4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400021be
movd xmm1, dword [0x140050050]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm6
jbe 0x1400021be
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm8
lea rcx, [0x140050050]
mov dword [rsp + 0x48], edi
call fcn.1400016d0
mov rdi, qword [rsp + 0xc8]
movaps xmm8, xmmword [rsp + 0x70]
cmp qword [0x140139da8], rbp
je 0x14000226e
cmp byte [0x140050078], bpl
je 0x14000226e
mov rdx, qword [0x140139dd0]
lea r8, [rsp + 0x50]
add rdx, qword [0x140139df0]
mov r9d, 8
mov rcx, qword [0x140139de0]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rcx, qword [0x140139de0]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movd xmm0, dword [0x14005007c]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r9d, 4
mov rcx, qword [0x140139de0]
add rdx, 0x30
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x20], rbp
movss dword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x140139cf0]
call fcn.140001b10
cmp byte [0x140050068], bpl
movss xmm6, dword [0x14004895c]
je 0x140002348
mov rax, qword [0x140139d18]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
call fcn.140009b80
mov ecx, dword [rsi + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x140050050]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rbx, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rsi + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x140048924]
comiss xmm0, xmm2
movss dword [rsp + 0x54], xmm1
ja 0x140002348
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x1400489d0]
lea rdx, [rsp + 0x50]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.140026f10
mov r8d, dword [rbx + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.1400254f0
mov dword [rbx + 0x78], ebp
mov ecx, 0x61
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0xb8]
test al, 1
je 0x14000236f
cmp byte [rsi + 0x158], bpl
sete al
mov byte [rsi + 0x158], al
cmp byte [rsi + 0x158], bpl
je 0x140002388
mov rcx, rsi
call fcn.14003cc40
mov r8d, 0xa0
jmp 0x14000238e
mov r8d, 0x800a0
mov rcx, qword [rsi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rsi + 0x158]
mov rcx, qword [0x140139d18]
mov byte [rcx + 0x78], al
movzx eax, byte [rsi + 0x158]
mov byte [rcx + 0xd9], al
call fcn.14000c160
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rsi + 8]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x90]
test eax, eax
js 0x14000246f
call fcn.14000c4c0
mov rax, qword [0x140139d18]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.14002d250
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rbp, qword [rsp + 0xc0]
cmp eax, 0x88760868
jne 0x1400024e5
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400024e5
call fcn.14002da30
mov rcx, qword [rsi + 8]
lea rdx, [rsi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140139d18]
test rax, rax
je 0x1400024e5
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x1400024e5
cmp qword [rax], 0
je 0x1400024e5
call fcn.14002d800
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003fd00
add rsp, 0xa0
pop rsi
ret