Function at 0x14008b490
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x60
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0xc0]
call fcn.14008b2c0
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x68], 0x12
je 0x14008b893
mov rax, qword [rsp + 0xc0]
add rax, 0x60
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rcx + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14008b544
mov rax, qword [rsp + 0xc0]
add rax, 0x60
mov rcx, rax
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rax, qword [rsp + 0xc0]
add rax, 0x60
mov rcx, rax
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x58]
cmp qword [rsp + 0x48], rax
jne 0x14008b5ac
mov edx, 3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x158]
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x78]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x7c], eax
call fcn.140048790
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x58]
mov qword [rax + 0xc8], rcx
mov rax, qword [rsp + 0x40]
movss xmm0, dword [0x1400b2814]
movss dword [rax + 0x10], xmm0
lea rcx, [rsp + 0x88]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x40]
movss dword [rax + 0xdf4], xmm0
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x8c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x40]
movss dword [rax + 0xdf8], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14008b723
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0xdfc], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x3730], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movss xmm0, dword [rdx + 0xdf4]
movss dword [rcx + rax + 0x36e0], xmm0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movss xmm0, dword [rdx + 0xdf8]
movss dword [rcx + rax + 0x36e0], xmm0
jmp 0x14008b739
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0xdfc], 0
mov eax, dword [0x1401a55d0]
cmp dword [rsp + 0x78], eax
jne 0x14008b773
mov eax, dword [0x1401a55d8]
cmp dword [rsp + 0x80], eax
jne 0x14008b773
mov eax, dword [0x1401a55d4]
cmp dword [rsp + 0x7c], eax
jne 0x14008b773
mov eax, dword [0x1401a55dc]
cmp dword [rsp + 0x84], eax
je 0x14008b876
lea rax, [0x1401a55d0]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x80]
mov dword [rax + 0xe0], ecx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x84]
mov dword [rax + 0xe4], ecx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0xe0]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0xe4]
mov dword [rax + 0x14], ecx
mov dword [rsp + 0x30], 8
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xe4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xe0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x10
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x60]
call fcn.14008aa70
mov rcx, rax
call fcn.14003b470
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14008b4d5
lea rcx, [rsp + 0x68]
call fcn.140054630
mov rax, qword [rax]
mov qword [0x1401a46c0], rax
call fcn.140082550
call fcn.140082de0
xor ecx, ecx
call fcn.1400469a0
call fcn.14008aa70
mov rcx, rax
call fcn.14008aec0
call fcn.14008aa70
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14008c810
add rsp, 0xa8
pop rdi
pop rsi
ret