Function at 0x140052e80
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 0x140052ee7
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x280], rbp
lea rcx, [rsp + 0x30]
call fcn.140054640
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 0x140052f3e
lea rdx, str.Rust
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140052f3e
mov bpl, 1
jmp 0x140052f41
xor bpl, bpl
cmp rsi, 0x10
jb 0x140052f78
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140052f70
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053040
mov rcx, rdi
call fcn.140068190
test bpl, bpl
je 0x14005313f
cmp byte [0x1400932dc], r14b
je 0x14005313f
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 0x140052fc0
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140054640
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 0x140053012
lea rdx, str.Rust
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140053012
mov sil, 1
jmp 0x140053015
xor sil, sil
cmp rdi, 0x10
jb 0x14005304f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140053047
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053047
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140068190
test sil, sil
je 0x14005313f
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 [0x140094b0c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea rbx, str.NONE
test al, 1
je 0x140053222
cmp byte [0x14009393e], r14b
sete al
mov byte [0x14009393e], al
cmp al, 1
jne 0x140053196
lea rax, str.AK47
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 1
jmp 0x1400531d6
test al, al
jne 0x140053222
mov byte [0x14009393e], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934fe], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x1400932de], r14b
jne 0x140053217
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 [0x140094228]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400532fe
cmp byte [0x1400932de], r14b
sete al
mov byte [0x1400932de], al
cmp al, 1
jne 0x140053272
lea rax, str.LR300
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 2
jmp 0x1400532b2
test al, al
jne 0x1400532fe
mov byte [0x1400932de], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934fe], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x14009393e], r14b
jne 0x1400532f3
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 [0x140093dec]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400533da
cmp byte [0x1400934fa], r14b
sete al
mov byte [0x1400934fa], al
cmp al, 1
jne 0x14005334e
lea rax, [0x14007ac9c]
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 3
jmp 0x14005338e
test al, al
jne 0x1400533da
mov byte [0x1400934fa], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934fe], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400932de], r14b
mov byte [0x14009393e], r14b
jne 0x1400533cf
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 [0x140093b7c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400534b6
cmp byte [0x1400934f8], r14b
sete al
mov byte [0x1400934f8], al
cmp al, 1
jne 0x14005342a
lea rax, [0x14007aca0]
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 4
jmp 0x14005346a
test al, al
jne 0x1400534b6
mov byte [0x1400934f8], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934fe], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x1400932de], r14b
mov byte [0x14009393e], r14b
jne 0x1400534ab
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 [0x1400947b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053592
cmp byte [0x1400932d8], r14b
sete al
mov byte [0x1400932d8], al
cmp al, 1
jne 0x140053506
lea rax, str.TOMMY
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 5
jmp 0x140053546
test al, al
jne 0x140053592
mov byte [0x1400932d8], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934fe], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x1400932de], r14b
mov byte [0x14009393e], r14b
jne 0x140053587
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 [0x140093de8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005366e
cmp byte [0x1400932df], r14b
sete al
mov byte [0x1400932df], al
cmp al, 1
jne 0x1400535e2
lea rax, str.SEMI
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 6
jmp 0x140053622
test al, al
jne 0x14005366e
mov byte [0x1400932df], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400934fe], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x1400932de], r14b
mov byte [0x14009393e], r14b
jne 0x140053663
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 [0x1400949fc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005374a
cmp byte [0x1400934fe], r14b
sete al
mov byte [0x1400934fe], al
cmp al, 1
jne 0x1400536be
lea rax, str.M249
mov byte [0x1400934fc], r14b
mov qword [str.NONE], rax
mov byte [0x14009393d], r14b
mov dword [0x140094c38], 7
jmp 0x1400536fe
test al, al
jne 0x14005374a
mov byte [0x1400934fe], r14b
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x1400932de], r14b
mov byte [0x14009393e], r14b
jne 0x14005373f
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 [0x1400949f8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005381f
cmp byte [0x1400934fc], r14b
sete al
mov byte [0x1400934fc], al
cmp al, 1
jne 0x140053793
lea rax, str.HMLMG
mov byte [0x14009393d], r14b
mov qword [str.NONE], rax
mov dword [0x140094c38], 8
jmp 0x1400537cc
test al, al
jne 0x14005381f
mov byte [0x14009393c], r14b
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
mov byte [0x1400932df], r14b
mov byte [0x1400934fe], r14b
mov byte [0x1400934f8], r14b
mov byte [0x1400932d8], r14b
mov byte [0x1400934fa], r14b
mov byte [0x1400932de], r14b
mov byte [0x14009393e], r14b
jne 0x140053814
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 [0x14009422c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400538a6
cmp byte [0x14009393c], r14b
sete al
mov byte [0x14009393c], al
cmp al, 1
jne 0x140053872
lea rax, str.HOLO
mov byte [0x1400932da], r14b
mov qword [str.NONE], rax
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov dword [0x140094338], 3
jmp 0x140053884
test al, al
jne 0x1400538a6
mov qword [str.NONE], rbx
mov dword [0x140094338], r14d
cmp byte [0x14008a206], 1
jne 0x14005389b
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 [0x140093ef8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005392d
cmp byte [0x1400932da], r14b
sete al
mov byte [0x1400932da], al
cmp al, 1
jne 0x1400538f9
lea rax, [0x14007accc]
mov byte [0x14009393c], r14b
mov qword [str.NONE], rax
mov byte [0x1400932db], r14b
mov byte [0x1400934ff], r14b
mov dword [0x140094338], 1
jmp 0x14005390b
test al, al
jne 0x14005392d
mov dword [0x140094338], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
jne 0x140053922
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 [0x14009433c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400539b4
cmp byte [0x1400932db], r14b
sete al
mov byte [0x1400932db], al
cmp al, 1
jne 0x140053980
lea rax, str.SIMPLE
mov byte [0x14009393c], r14b
mov qword [str.NONE], rax
mov byte [0x1400932da], r14b
mov byte [0x1400934ff], r14b
mov dword [0x140094338], 4
jmp 0x140053992
test al, al
jne 0x1400539b4
mov qword [str.NONE], rbx
mov dword [0x140094338], r14d
cmp byte [0x14008a206], 1
jne 0x1400539a9
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 [0x140093b78]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053a3b
cmp byte [0x1400934ff], r14b
sete al
mov byte [0x1400934ff], al
cmp al, 1
jne 0x140053a07
lea rax, [0x14007acd8]
mov byte [0x14009393c], r14b
mov qword [str.NONE], rax
mov byte [0x1400932da], r14b
mov byte [0x1400932db], r14b
mov dword [0x140094338], 2
jmp 0x140053a19
test al, al
jne 0x140053a3b
mov qword [str.NONE], rbx
mov dword [0x140094338], r14d
cmp byte [0x14008a206], 1
jne 0x140053a30
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 [0x1400948c8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053aad
cmp byte [0x1400932d9], r14b
sete al
mov byte [0x1400932d9], al
cmp al, 1
jne 0x140053a79
lea rax, str.SILENCER
mov dword [0x1400948cc], 1
mov qword [str.NONE], rax
jmp 0x140053a8b
test al, al
jne 0x140053aad
mov dword [0x1400948cc], r14d
mov qword [str.NONE], rbx
cmp byte [0x14008a206], 1
jne 0x140053aa2
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 [0x140093efc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140053b09
cmp byte [0x14009393b], 1
jne 0x140053b09
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 [0x14008b070]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140053b73
cmp byte [0x14008a206], 1
mov byte [0x14009393d], r14b
mov byte [0x1400932d9], r14b
mov dword [0x140094c38], r14d
mov dword [0x140094338], r14d
mov dword [0x1400948cc], r14d
mov qword [str.NONE], rbx
mov qword [str.NONE], rbx
mov qword [str.NONE], rbx
jne 0x140053b68
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.1400680a0
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