Function at 0x140083a50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14015e040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x14015e0fc], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp byte [0x14015fd71], 0
mov dword [0x14015e0f8], eax
je 0x140083e02
cmp byte [0x14015e22c], 0
je 0x140083dfd
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140083b05
nop dword [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140083ad0
cmp dword [rsp + 0x38], 0x12
jne 0x140083b13
mov byte [0x14015e22c], 0
mov r9, qword [0x14015e238]
movabs rsi, 0x6666666666666667
mov rcx, qword [0x14015e240]
mov rax, rsi
mov r8d, dword [0x14015fee0]
sub rcx, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140083e26
lea rdi, [r8 + r8*4]
shl rdi, 4
add rdi, 0x10
add rdi, r9
jne 0x140083b67
xor ebx, ebx
jmp 0x140083b88
mov rcx, qword [rdi + 0x38]
xor ebx, ebx
and rcx, 0xfffffffffffffffc
je 0x140083b88
add rcx, 8
lea rdx, [0x14015e520]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x140083b8b
mov rdi, rbx
mov ecx, dword [rdi]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140083bc7
cmp byte [0x14015fdf0], 0
jne 0x140083bc7
cmp byte [0x14015e128], 0
mov rcx, qword [0x14015fd68]
sete byte [0x14015e128]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x14015fdf0], 1
jmp 0x140083c6e
mov r9, qword [0x14015e238]
mov rax, rsi
mov rcx, qword [0x14015e240]
mov r8d, dword [0x14015fee0]
sub rcx, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140083e26
lea rdi, [r8 + r8*4]
shl rdi, 4
add rdi, 0x10
add rdi, r9
je 0x140083c2c
mov rcx, qword [rdi + 0x38]
and rcx, 0xfffffffffffffffc
je 0x140083c2c
add rcx, 8
lea rdx, [0x14015e520]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x140083c2f
mov rdi, rbx
mov ecx, dword [rdi]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140083c6e
mov rcx, qword [0x14015fd68]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, qword [0x14015fd68]
mov edx, 0xffffffec
or rax, 0x20
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov byte [0x14015fdf0], 0
mov r9, qword [0x14015e238]
mov rax, rsi
mov rcx, qword [0x14015e240]
mov r8d, dword [0x14015fee4]
sub rcx, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140083e26
lea rdi, [r8 + r8*4]
shl rdi, 4
add rdi, 0x10
add rdi, r9
je 0x140083cd3
mov rcx, qword [rdi + 0x38]
and rcx, 0xfffffffffffffffc
je 0x140083cd3
add rcx, 8
lea rdx, [0x14015e520]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
test eax, eax
je 0x140083cd6
mov rdi, rbx
mov ecx, dword [rdi]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140083e02
mov rax, qword [0x14015f8c8]
test rax, rax
je 0x140083cfb
mov rcx, qword [rax + 0x98]
jmp 0x140083cfe
mov rcx, rbx
cmp qword [rcx + 0x48], 0
jne 0x140083d0a
call fcn.140046ee0
call fcn.140047fe0
call fcn.14000cc70
cmp byte [0x14015e128], 0
je 0x140083d4d
mov rcx, qword [0x14015fd68]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, qword [0x14015fd68]
mov edx, 0xffffffec
and rax, 0xffffffffffffffdf
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
call fcn.140080950
mov rax, qword [0x14015f8c8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48d8]
mov rcx, qword [rcx]
call fcn.14000c320
mov rcx, rax
call fcn.140088c90
call fcn.14000ec50
mov rcx, qword [0x14015fd78]
lea r8, [0x14015fde0]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x14015fd78]
lea r8, [rsp + 0x60]
mov rdx, qword [0x14015fde0]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14015f8c8]
mov rcx, qword [rax + 0x48d8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, rbx
call fcn.1400462c0
mov rcx, qword [0x14015fd80]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [0x14015e22c], 0
je 0x140083dfd
mov al, 1
jmp 0x140083e04
call fcn.140084c40
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f8640
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140057190
int3