Function at 0x140052400
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 [0x140087010]
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 0x140052467
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x280], rbp
lea rcx, [rsp + 0x30]
call fcn.140053e90
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
cmp rsi, 0x10
mov r8, qword [rsp + 0x40]
cmovae rcx, rdi
cmp r8, 4
jne 0x1400524be
lea rdx, str.Rust
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400524be
mov bpl, 1
jmp 0x1400524c1
xor bpl, bpl
cmp rsi, 0x10
jb 0x1400524f8
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400524f0
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400525c0
mov rcx, rdi
call fcn.1400679d0
test bpl, bpl
je 0x1400526bf
cmp byte [0x140095670], r14b
je 0x1400526bf
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 0x140052540
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140053e90
mov rdi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rdi, 0x10
mov r8, qword [rsp + 0x40]
cmovae rcx, rbx
cmp r8, 4
jne 0x140052592
lea rdx, str.Rust
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140052592
mov sil, 1
jmp 0x140052595
xor sil, sil
cmp rdi, 0x10
jb 0x1400525cf
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400525c7
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400525c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400679d0
test sil, sil
je 0x1400526bf
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 dl, 0xb8
mov cl, 0x57
lea r8d, [r9 + 2]
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 dl, 0xb8
mov cl, 0x41
lea r8d, [r9 + 2]
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 dl, 0xb8
mov cl, 0x53
lea r8d, [r9 + 2]
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 dl, 0xb8
mov cl, 0x44
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1400956c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea rbx, str.NONE
test al, 1
je 0x1400527a2
cmp byte [0x1400956be], r14b
sete al
mov byte [0x1400956be], al
cmp al, 1
jne 0x140052716
lea rax, str.AK47
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 1
jmp 0x140052756
test al, al
jne 0x1400527a2
mov byte [0x1400956be], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x14009568e], r14b
mov byte [0x140095678], r14b
mov byte [0x140095668], r14b
mov byte [0x14009567a], r14b
mov byte [0x140095672], r14b
jne 0x140052797
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140095690]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005287e
cmp byte [0x140095672], r14b
sete al
mov byte [0x140095672], al
cmp al, 1
jne 0x1400527f2
lea rax, str.LR300
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 2
jmp 0x140052832
test al, al
jne 0x14005287e
mov byte [0x140095672], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x14009568e], r14b
mov byte [0x140095678], r14b
mov byte [0x140095668], r14b
mov byte [0x14009567a], r14b
mov byte [0x1400956be], r14b
jne 0x140052873
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140095680]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005295a
cmp byte [0x14009567a], r14b
sete al
mov byte [0x14009567a], al
cmp al, 1
jne 0x1400528ce
lea rax, [0x14007ab8c]
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 3
jmp 0x14005290e
test al, al
jne 0x14005295a
mov byte [0x14009567a], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x14009568e], r14b
mov byte [0x140095678], r14b
mov byte [0x140095668], r14b
mov byte [0x140095672], r14b
mov byte [0x1400956be], r14b
jne 0x14005294f
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140095674]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052a36
cmp byte [0x140095678], r14b
sete al
mov byte [0x140095678], al
cmp al, 1
jne 0x1400529aa
lea rax, [0x14007ab90]
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 4
jmp 0x1400529ea
test al, al
jne 0x140052a36
mov byte [0x140095678], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x14009568e], r14b
mov byte [0x140095668], r14b
mov byte [0x14009567a], r14b
mov byte [0x140095672], r14b
mov byte [0x1400956be], r14b
jne 0x140052a2b
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1400956a0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052b12
cmp byte [0x140095668], r14b
sete al
mov byte [0x140095668], al
cmp al, 1
jne 0x140052a86
lea rax, str.TOMMY
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 5
jmp 0x140052ac6
test al, al
jne 0x140052b12
mov byte [0x140095668], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x14009568e], r14b
mov byte [0x140095678], r14b
mov byte [0x14009567a], r14b
mov byte [0x140095672], r14b
mov byte [0x1400956be], r14b
jne 0x140052b07
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14009567c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052bee
cmp byte [0x140095673], r14b
sete al
mov byte [0x140095673], al
cmp al, 1
jne 0x140052b62
lea rax, str.SEMI
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 6
jmp 0x140052ba2
test al, al
jne 0x140052bee
mov byte [0x140095673], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x14009568e], r14b
mov byte [0x140095678], r14b
mov byte [0x140095668], r14b
mov byte [0x14009567a], r14b
mov byte [0x140095672], r14b
mov byte [0x1400956be], r14b
jne 0x140052be3
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1400956b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052cca
cmp byte [0x14009568e], r14b
sete al
mov byte [0x14009568e], al
cmp al, 1
jne 0x140052c3e
lea rax, str.M249
mov byte [0x14009568c], r14b
mov qword [str.NONE], rax
mov byte [0x1400956bd], r14b
mov dword [0x1400956c8], 7
jmp 0x140052c7e
test al, al
jne 0x140052cca
mov byte [0x14009568e], r14b
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x140095678], r14b
mov byte [0x140095668], r14b
mov byte [0x14009567a], r14b
mov byte [0x140095672], r14b
mov byte [0x1400956be], r14b
jne 0x140052cbf
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1400956b4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052d9f
cmp byte [0x14009568c], r14b
sete al
mov byte [0x14009568c], al
cmp al, 1
jne 0x140052d13
lea rax, str.HMLMG
mov byte [0x1400956bd], r14b
mov qword [str.NONE], rax
mov dword [0x1400956c8], 8
jmp 0x140052d4c
test al, al
jne 0x140052d9f
mov byte [0x1400956bc], r14b
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
mov byte [0x140095673], r14b
mov byte [0x14009568e], r14b
mov byte [0x140095678], r14b
mov byte [0x140095668], r14b
mov byte [0x14009567a], r14b
mov byte [0x140095672], r14b
mov byte [0x1400956be], r14b
jne 0x140052d94
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140095694]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052e26
cmp byte [0x1400956bc], r14b
sete al
mov byte [0x1400956bc], al
cmp al, 1
jne 0x140052df2
lea rax, str.HOLO
mov byte [0x14009566a], r14b
mov qword [str.NONE], rax
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov dword [0x140095698], 3
jmp 0x140052e04
test al, al
jne 0x140052e26
mov qword [str.NONE], rbx
mov dword [0x140095698], r14d
cmp byte [0x14008a20e], 1
jne 0x140052e1b
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140095684]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052ead
cmp byte [0x14009566a], r14b
sete al
mov byte [0x14009566a], al
cmp al, 1
jne 0x140052e79
lea rax, [0x14007abbc]
mov byte [0x1400956bc], r14b
mov qword [str.NONE], rax
mov byte [0x14009566b], r14b
mov byte [0x14009568f], r14b
mov dword [0x140095698], 1
jmp 0x140052e8b
test al, al
jne 0x140052ead
mov dword [0x140095698], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
jne 0x140052ea2
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14009569c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052f34
cmp byte [0x14009566b], r14b
sete al
mov byte [0x14009566b], al
cmp al, 1
jne 0x140052f00
lea rax, str.SIMPLE
mov byte [0x1400956bc], r14b
mov qword [str.NONE], rax
mov byte [0x14009566a], r14b
mov byte [0x14009568f], r14b
mov dword [0x140095698], 4
jmp 0x140052f12
test al, al
jne 0x140052f34
mov qword [str.NONE], rbx
mov dword [0x140095698], r14d
cmp byte [0x14008a20e], 1
jne 0x140052f29
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14009566c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052fbb
cmp byte [0x14009568f], r14b
sete al
mov byte [0x14009568f], al
cmp al, 1
jne 0x140052f87
lea rax, [0x14007abc8]
mov byte [0x1400956bc], r14b
mov qword [str.NONE], rax
mov byte [0x14009566a], r14b
mov byte [0x14009566b], r14b
mov dword [0x140095698], 2
jmp 0x140052f99
test al, al
jne 0x140052fbb
mov qword [str.NONE], rbx
mov dword [0x140095698], r14d
cmp byte [0x14008a20e], 1
jne 0x140052fb0
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1400956ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005302d
cmp byte [0x140095669], r14b
sete al
mov byte [0x140095669], al
cmp al, 1
jne 0x140052ff9
lea rax, str.SILENCER
mov dword [0x1400956b0], 1
mov qword [str.NONE], rax
jmp 0x14005300b
test al, al
jne 0x14005302d
mov dword [0x1400956b0], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a20e], 1
jne 0x140053022
mov edx, 0x91
lea ecx, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140095688]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14005308b
cmp byte [0x1400956ab], 1
jne 0x14005308b
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x4b
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x4b
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x14008b0b0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400530f5
cmp byte [0x14008a20e], 1
mov byte [0x1400956bd], r14b
mov byte [0x140095669], r14b
mov dword [0x1400956c8], r14d
mov dword [0x140095698], r14d
mov dword [0x1400956b0], r14d
mov qword [str.NONE], rbx
mov qword [str.NONE], rbx
mov qword [str.NONE], rbx
jne 0x1400530ea
mov edx, 0x91
lea ecx, [rdx - 0x5f]
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.1400678e0
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