Function at 0x140009d60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [0x1400cd0d0], xmm0
movups xmmword [0x1400cd0e0], xmm0
movups xmmword [0x1400cd0f0], xmm0
xor edi, edi
movss xmm6, dword [0x1400c480c]
nop
mov rcx, qword [0x1400cd1d8]
nop word [rax + rax]
cmp dword [0x1400cd0d8], 0x12
je 0x14000a253
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400cd100]
lea rcx, [0x1400cd0d0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140009e0d
lea rcx, [0x1400cd0d0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400cd0d0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400cd0b0]
cmp rax, rcx
jne 0x140009e5a
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x1400cd100]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400cd0b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1400cd0b0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rbx, qword [0x1400cd1d8]
mov qword [rbx + 0x20], rdi
mov rax, qword [0x1400cd0b0]
mov qword [rbx + 0xc8], rax
mov dword [rbx + 0x18], 0x3c888889
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140009f19
mov byte [rbx + 0xe08], 1
mov byte [rbx + 0x3740], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
jmp 0x140009f20
mov byte [rbx + 0xe08], 0
mov eax, dword [0x1400cd300]
mov ecx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140009f52
cmp ecx, dword [0x1400cd308]
jne 0x140009f52
mov eax, dword [0x1400cd304]
cmp dword [rsp + 0x4c], eax
jne 0x140009f52
mov eax, dword [rsp + 0x54]
cmp eax, dword [0x1400cd30c]
je 0x140009fba
jmp 0x140009f56
mov eax, dword [rsp + 0x54]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [0x1400cd300], xmm0
mov dword [0x1400cd1fc], ecx
mov dword [0x1400cd1f8], eax
mov dword [0x1400cd170], ecx
mov dword [0x1400cd174], eax
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, qword [0x1400cd100]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
lea rdx, [0x1400cd170]
call qword [rax + 0x80]
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x140009fcf
mov rcx, qword [rax + 0x98]
jmp 0x140009fd2
mov rcx, rdi
cmp qword [rcx + 0x18], 0
jne 0x140009ff5
test rax, rax
je 0x140009ff5
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140009ff5
cmp qword [rcx], 0
je 0x140009ff5
call fcn.14000df40
call fcn.14000eaf0
call fcn.140014db0
nop
call fcn.140005c40
mov ecx, dword [reloc.XINPUT1_3.dll_Ordinal_2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000a028
cmp byte [0x1400cd323], 0
je 0x14000a028
cmp byte [0x1400cd328], 0
je 0x14000a05e
mov rbx, qword [0x1400cd200]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdx, rbx
mov ecx, dword [rbx + 0x10]
call qword [sym.imp.XINPUT1_3.dll_Ordinal_2]
mov rax, qword [rbx]
shr rax, 0x30
test al, al
je 0x14000a08e
cmp byte [0x1400cd323], 0
je 0x14000a08e
cmp byte [0x1400cd328], 0
je 0x14000a08e
mov eax, dword [0x1400cd110]
test eax, eax
jne 0x14000a073
call fcn.140005590
mov eax, dword [0x1400cd110]
cmp eax, 1
jne 0x14000a083
call fcn.140005590
mov eax, dword [0x1400cd110]
cmp eax, 2
jne 0x14000a08e
call fcn.140005590
nop
jmp 0x14000a09a
call fcn.140003780
call fcn.140016b10
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], edi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], edi
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000a162
call fcn.140016f20
mov rax, qword [0x1400cd1d8]
mov rcx, qword [rax + 0x48e8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rdi
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14000d980
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140009db0
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140009db0
mov rbx, qword [0x1400cd1d8]
test rbx, rbx
je 0x14000a208
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14000a208
cmp qword [rbx], 0
je 0x14000a208
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000a1d3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000a1e6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000a208
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], rdi
mov rax, qword [0x1400cd1d8]
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
lea rdx, [0x1400cd170]
call qword [rax + 0x80]
mov rcx, qword [0x1400cd1d8]
test rcx, rcx
je 0x140009dc0
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x140009dc0
cmp qword [rax], 0
je 0x140009dc0
call fcn.14000df40
jmp 0x140009db0
test rcx, rcx
je 0x14000a261
mov r14, qword [rcx + 0x98]
jmp 0x14000a264
mov r14, rdi
lea rsi, [rcx + 8]
test rcx, rcx
je 0x14000a2de
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x14000a2de
cmp qword [rbx], 0
je 0x14000a2de
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14000a29c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [0x1400cd1d8]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14000a2b9
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [0x1400cd1d8]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14000a2de
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rdi
mov rcx, qword [0x1400cd1d8]
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rdi
mov rdx, qword [r14]
test rdx, rdx
je 0x14000a2f6
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400cd1d8]
mov qword [rsi + 0x80], rdi
mov qword [rsi + 0x90], rdi
and dword [rsi + 4], 0xfffffff7
test rcx, rcx
je 0x14000a313
dec dword [rcx + 0xec]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x14000a331
mov rsi, qword [rax + 0x90]
jmp 0x14000a334
mov rsi, rdi
lea rbx, [rax + 8]
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x14000a34e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400cd1d8]
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x88], rdi
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14000a368
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400cd1d8]
mov qword [0x1400cd1d8], rbx
call fcn.140012fa0
mov qword [0x1400cd1d8], rdi
test rbx, rbx
je 0x14000a3b3
mov rcx, rbx
call fcn.1400286f0
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x14000a3aa
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400cd1c0]
test rcx, rcx
je 0x14000a3d5
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400cd1c0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cd108]
test rcx, rcx
je 0x14000a3e7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400cd100]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400cd0e0]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140046620
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
ret