Function at 0x1400010b0
Capabilities:
Check for foreground window switch
Enumerate gui resources
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x60], xmm13
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
lea rcx, section..text
call qword [sym.imp.USER32.dll_EnumWindows]
mov r14, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbp, rax
test r14, r14
je 0x1400012c1
movss xmm8, dword [0x14000336c]
xor bl, bl
movss xmm9, dword [0x140003368]
xor dil, dil
movss xmm10, dword [0x140003370]
xor sil, sil
movss xmm12, dword [0x14000335c]
movss xmm11, dword [0x140003364]
movss xmm13, dword [0x140003360]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbp
jne 0x140001296
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400011a0
test dil, dil
jne 0x1400011a3
addss xmm8, xmm9
mov dil, 1
jmp 0x1400011a3
xor dil, dil
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400011c2
test sil, sil
jne 0x1400011c5
addss xmm8, xmm10
mov sil, 1
jmp 0x1400011c5
xor sil, sil
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001273
test bl, bl
jne 0x140001275
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [rsp + 0x50]
movaps xmm0, xmm8
mulss xmm0, xmm12
movd xmm7, ebx
mulss xmm0, xmm11
cvtdq2ps xmm7, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm6, xmm0
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
divss xmm6, xmm0
divss xmm7, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
mov eax, dword [rsp + 0x54]
xor r8d, r8d
cvttss2si ecx, xmm0
cdq
mov dword [rsp + 0x30], 4
sub eax, edx
xor edx, edx
sar eax, 1
mulss xmm7, xmm11
mov dword [rsp + 0x28], ecx
mov rcx, r14
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x20], ebx
subss xmm0, xmm7
cvttss2si r9d, xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov bl, 1
jmp 0x140001275
xor bl, bl
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movaps xmm1, xmm8
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x140001560]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400012b1
mov rcx, rbp
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001172
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400015b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
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]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop rdi
ret