Function at 0x1400528d0
Capabilities:
Check for foreground window switch
Get graphical window text
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
mov r8, rbx
movdqu xmmword [rsp + 0x40], xmm1
inc r8
cmp byte [rax + r8], r14b
jne 0x140052937
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x280], rbp
lea rcx, [rsp + 0x30]
call fcn.140054040
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
cmp rsi, 0xf
mov r8, qword [rsp + 0x40]
cmova rcx, rdi
cmp r8, 4
jne 0x14005298e
lea rdx, str.Rust
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005298e
mov bpl, 1
jmp 0x140052991
xor bpl, bpl
cmp rsi, 0xf
jbe 0x1400529c8
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400529c0
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052a90
mov rcx, rdi
call fcn.140068090
test bpl, bpl
je 0x140052b97
cmp byte [0x14009334c], r14b
je 0x140052b97
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x200
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
nop
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140052a10
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140054040
mov rdi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rdi, 0xf
mov r8, qword [rsp + 0x40]
cmova rcx, rbx
cmp r8, 4
jne 0x140052a62
lea rdx, str.Rust
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140052a62
mov sil, 1
jmp 0x140052a65
xor sil, sil
cmp rdi, 0xf
jbe 0x140052a9f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140052a97
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052a97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140068090
test sil, sil
je 0x140052b97
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
mov dl, 0xb8
mov cl, 0x57
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x190
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov r8d, 2
mov dl, 0xb8
mov cl, 0x57
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
mov dl, 0xb8
mov cl, 0x41
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x190
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov r8d, 2
mov dl, 0xb8
mov cl, 0x41
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
mov dl, 0xb8
mov cl, 0x53
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x190
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov r8d, 2
mov dl, 0xb8
mov cl, 0x53
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
mov dl, 0xb8
mov cl, 0x44
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x190
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov r8d, 2
mov dl, 0xb8
mov cl, 0x44
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140094b7c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea rbx, str.NONE
test al, 1
je 0x140052c7c
cmp byte [0x1400939ae], r14b
sete al
mov byte [0x1400939ae], al
cmp al, 1
jne 0x140052bee
lea rax, str.AK47
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 1
jmp 0x140052c2e
test al, al
jne 0x140052c7c
mov byte [0x1400939ae], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x14009356e], r14b
mov byte [0x140093568], r14b
mov byte [0x140093348], r14b
mov byte [0x14009356a], r14b
mov byte [0x14009334e], r14b
jne 0x140052c71
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140094298]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052d5a
cmp byte [0x14009334e], r14b
sete al
mov byte [0x14009334e], al
cmp al, 1
jne 0x140052ccc
lea rax, str.LR300
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 2
jmp 0x140052d0c
test al, al
jne 0x140052d5a
mov byte [0x14009334e], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x14009356e], r14b
mov byte [0x140093568], r14b
mov byte [0x140093348], r14b
mov byte [0x14009356a], r14b
mov byte [0x1400939ae], r14b
jne 0x140052d4f
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140093e5c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052e38
cmp byte [0x14009356a], r14b
sete al
mov byte [0x14009356a], al
cmp al, 1
jne 0x140052daa
lea rax, [0x14007aa6c]
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 3
jmp 0x140052dea
test al, al
jne 0x140052e38
mov byte [0x14009356a], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x14009356e], r14b
mov byte [0x140093568], r14b
mov byte [0x140093348], r14b
mov byte [0x14009334e], r14b
mov byte [0x1400939ae], r14b
jne 0x140052e2d
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140093bec]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052f16
cmp byte [0x140093568], r14b
sete al
mov byte [0x140093568], al
cmp al, 1
jne 0x140052e88
lea rax, [0x14007aa70]
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 4
jmp 0x140052ec8
test al, al
jne 0x140052f16
mov byte [0x140093568], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x14009356e], r14b
mov byte [0x140093348], r14b
mov byte [0x14009356a], r14b
mov byte [0x14009334e], r14b
mov byte [0x1400939ae], r14b
jne 0x140052f0b
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140094828]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052ff4
cmp byte [0x140093348], r14b
sete al
mov byte [0x140093348], al
cmp al, 1
jne 0x140052f66
lea rax, str.TOMMY
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 5
jmp 0x140052fa6
test al, al
jne 0x140052ff4
mov byte [0x140093348], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x14009356e], r14b
mov byte [0x140093568], r14b
mov byte [0x14009356a], r14b
mov byte [0x14009334e], r14b
mov byte [0x1400939ae], r14b
jne 0x140052fe9
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140093e58]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400530d2
cmp byte [0x14009334f], r14b
sete al
mov byte [0x14009334f], al
cmp al, 1
jne 0x140053044
lea rax, str.SEMI
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 6
jmp 0x140053084
test al, al
jne 0x1400530d2
mov byte [0x14009334f], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009356e], r14b
mov byte [0x140093568], r14b
mov byte [0x140093348], r14b
mov byte [0x14009356a], r14b
mov byte [0x14009334e], r14b
mov byte [0x1400939ae], r14b
jne 0x1400530c7
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140094a6c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400531b0
cmp byte [0x14009356e], r14b
sete al
mov byte [0x14009356e], al
cmp al, 1
jne 0x140053122
lea rax, str.M249
mov byte [0x14009356c], r14b
mov qword [str.NONE], rax
mov byte [0x1400939ad], r14b
mov dword [0x140094ca8], 7
jmp 0x140053162
test al, al
jne 0x1400531b0
mov byte [0x14009356e], r14b
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x140093568], r14b
mov byte [0x140093348], r14b
mov byte [0x14009356a], r14b
mov byte [0x14009334e], r14b
mov byte [0x1400939ae], r14b
jne 0x1400531a5
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140094a68]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053287
cmp byte [0x14009356c], r14b
sete al
mov byte [0x14009356c], al
cmp al, 1
jne 0x1400531f9
lea rax, str.HMLMG
mov byte [0x1400939ad], r14b
mov qword [str.NONE], rax
mov dword [0x140094ca8], 8
jmp 0x140053232
test al, al
jne 0x140053287
mov byte [0x1400939ac], r14b
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
mov byte [0x14009334f], r14b
mov byte [0x14009356e], r14b
mov byte [0x140093568], r14b
mov byte [0x140093348], r14b
mov byte [0x14009356a], r14b
mov byte [0x14009334e], r14b
mov byte [0x1400939ae], r14b
jne 0x14005327c
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14009429c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053310
cmp byte [0x1400939ac], r14b
sete al
mov byte [0x1400939ac], al
cmp al, 1
jne 0x1400532da
lea rax, str.HOLO
mov byte [0x14009334a], r14b
mov qword [str.NONE], rax
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov dword [0x1400943a8], 3
jmp 0x1400532ec
test al, al
jne 0x140053310
mov qword [str.NONE], rbx
mov dword [0x1400943a8], r14d
cmp byte [0x14008a276], 1
jne 0x140053305
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140093f68]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053399
cmp byte [0x14009334a], r14b
sete al
mov byte [0x14009334a], al
cmp al, 1
jne 0x140053363
lea rax, [0x14007aa9c]
mov byte [0x1400939ac], r14b
mov qword [str.NONE], rax
mov byte [0x14009334b], r14b
mov byte [0x14009356f], r14b
mov dword [0x1400943a8], 1
jmp 0x140053375
test al, al
jne 0x140053399
mov dword [0x1400943a8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
jne 0x14005338e
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1400943ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053422
cmp byte [0x14009334b], r14b
sete al
mov byte [0x14009334b], al
cmp al, 1
jne 0x1400533ec
lea rax, str.SIMPLE
mov byte [0x1400939ac], r14b
mov qword [str.NONE], rax
mov byte [0x14009334a], r14b
mov byte [0x14009356f], r14b
mov dword [0x1400943a8], 4
jmp 0x1400533fe
test al, al
jne 0x140053422
mov qword [str.NONE], rbx
mov dword [0x1400943a8], r14d
cmp byte [0x14008a276], 1
jne 0x140053417
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140093be8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400534ab
cmp byte [0x14009356f], r14b
sete al
mov byte [0x14009356f], al
cmp al, 1
jne 0x140053475
lea rax, [0x14007aaa8]
mov byte [0x1400939ac], r14b
mov qword [str.NONE], rax
mov byte [0x14009334a], r14b
mov byte [0x14009334b], r14b
mov dword [0x1400943a8], 2
jmp 0x140053487
test al, al
jne 0x1400534ab
mov qword [str.NONE], rbx
mov dword [0x1400943a8], r14d
cmp byte [0x14008a276], 1
jne 0x1400534a0
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140094938]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005351f
cmp byte [0x140093349], r14b
sete al
mov byte [0x140093349], al
cmp al, 1
jne 0x1400534e9
lea rax, str.SILENCER
mov dword [0x14009493c], 1
mov qword [str.NONE], rax
jmp 0x1400534fb
test al, al
jne 0x14005351f
mov dword [0x14009493c], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a276], 1
jne 0x140053514
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140093f6c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005357f
cmp byte [0x1400939ab], 1
jne 0x14005357f
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x4b
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x4b
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14008b0e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400535eb
cmp byte [0x14008a276], 1
mov byte [0x1400939ad], r14b
mov byte [0x140093349], r14b
mov dword [0x140094ca8], r14d
mov dword [0x1400943a8], r14d
mov dword [0x14009493c], r14d
mov qword [str.NONE], rbx
mov qword [str.NONE], rbx
mov qword [str.NONE], rbx
jne 0x1400535e0
mov edx, 0x91
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rsp + 0x280]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140067fa0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret