Function at 0x1400059c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ecx, dword [0x1400a20a8]
call fcn.140086dd0
test al, al
jne 0x140005a3d
lea rdx, str.Cannot_create_overlay._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008e20
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400875c0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
lea rbx, [0x1400a11b0]
mov qword [rsp + 0x48], rbx
xor ebp, ebp
movss xmm6, dword [0x140092e84]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400a2028]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140005a9a
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400a2020]
jne 0x140005add
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x1400a2028]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140005e20
cmp dword [0x1400a11fc], 0x7fffffff
je 0x140005e0a
mov rax, qword [0x1400a2090]
test rax, rax
je 0x140005b13
mov rcx, qword [rax + 0x98]
jmp 0x140005b16
mov rcx, rbp
cmp qword [rcx + 0x18], 0
jne 0x140005b39
test rax, rax
je 0x140005b39
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140005b39
cmp qword [rcx], 0
je 0x140005b39
call fcn.140049ef0
call fcn.14004a970
call fcn.140026000
mov rax, qword [0x1400a2090]
mov rax, qword [rax + 0x40b0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140024a40
mov rdx, rax
call fcn.140019210
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140005bae
cmp byte [0x1400b8300], 0
sete al
mov byte [0x1400b8300], al
movzx r8d, al
xor r8d, 1
shl r8d, 0x13
add r8d, 0x8000020
mov edx, 0xffffffec
mov rcx, qword [0x1400a2028]
call qword [sym.imp.USER32.dll_SetWindowLongW]
cmp byte [0x1400b8300], 0
je 0x140005bbc
call fcn.140086070
call fcn.140028730
mov rcx, qword [0x1400b82f8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], ebp
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], ebp
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400b82f8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140005c39
call fcn.140028ad0
mov rax, qword [0x1400a2090]
mov rax, qword [rax + 0x40b0]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, rbp
cmp byte [rcx], al
cmovne rax, rcx
mov rcx, rax
call fcn.140049930
mov rcx, qword [0x1400b82f8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400b82f8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140005c77
mov rcx, qword [0x1400b82f8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140005c77
call fcn.140086b60
nop
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140005cad
mov qword [rsp + 0x40], 0xa
lea rcx, [rsp + 0x40]
call fcn.140008ff0
cmp dword [rsp + 0x58], 0x12
jne 0x140005a60
mov rcx, qword [0x1400a2090]
test rcx, rcx
je 0x140005cc2
mov rdi, qword [rcx + 0x98]
jmp 0x140005cc5
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140005d3f
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x140005d3f
cmp qword [rbx], 0
je 0x140005d3f
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140005cfd
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [0x1400a2090]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140005d1a
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [0x1400a2090]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140005d3f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rbp
mov rcx, qword [0x1400a2090]
mov rax, qword [rcx + 0x50]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x140005d57
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400a2090]
mov qword [rsi + 0x80], rbp
mov qword [rsi + 0x90], rbp
test rcx, rcx
je 0x140005d70
dec dword [rcx + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14004a120
mov rbx, qword [0x1400a2090]
mov qword [0x1400a2090], rbx
call fcn.1400274f0
mov qword [0x1400a2090], rbp
test rbx, rbx
je 0x140005dc0
mov rcx, rbx
call fcn.140038b10
mov rax, qword [0x1400a2090]
test rax, rax
je 0x140005db7
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400b82f8]
test rcx, rcx
je 0x140005dd2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400b82f0]
test rcx, rcx
je 0x140005de4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400a2028]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400b8358]
lea rcx, str.Hammer__Chisel_Inc.
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x140005a0f
mov dword [0x1400a11fc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3