Function at 0x140021490
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140093440]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x14007df48]
xorps xmm0, xmm0
movups xmmword [0x140093ce0], xmm0
xor edi, edi
movups xmmword [0x140093cf0], xmm0
movups xmmword [0x140093d00], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140093d10]
lea rcx, [0x140093ce0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140021520
lea rcx, [0x140093ce0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140093ce0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 3
call qword [sym.imp.USER32.dll_GetWindow]
cmp byte [0x1400940d8], dil
mov rbx, rax
mov rcx, rax
je 0x14002154a
mov edx, 0x11
jmp 0x14002154c
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rcx, qword [0x140093d10]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140093d18]
lea rdx, [rsp + 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140093d18]
lea rdx, [rsp + 0x40]
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
call fcn.140036fb0
lea rcx, [rsp + 0x58]
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x58]
sub ecx, dword [rsp + 0x40]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
mov ecx, dword [rsp + 0x5c]
sub ecx, dword [rsp + 0x44]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002162d
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x140021634
mov byte [rbx + 0xe08], dil
mov eax, dword [0x140094148]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140021664
cmp edx, dword [0x140094150]
jne 0x140021664
mov eax, dword [0x14009414c]
cmp dword [rsp + 0x4c], eax
jne 0x140021664
cmp ecx, dword [0x140094154]
je 0x1400216c8
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400940dc], edx
mov dword [0x1400940e0], ecx
mov dword [0x140093ca0], edx
xor edx, edx
mov dword [0x140093ca4], ecx
mov rcx, qword [0x140093d10]
movups xmmword [0x140094148], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140093c90]
lea rdx, [0x140093ca0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14005b570
call fcn.14005c290
call fcn.14003e150
call fcn.14001bd20
call fcn.14001fd50
call fcn.1400351e0
mov rcx, qword [0x140093c90]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140093c90]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140093c90]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140093c90]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140093c90]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14002178d
call fcn.1400402c0
call fcn.140036bf0
mov rcx, rax
call fcn.14005b5d0
mov rcx, qword [0x140093c90]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140093c90]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400217e6
mov rcx, qword [0x140093c90]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400217e6
call fcn.14005b4e0
mov rcx, qword [0x140093c90]
lea rdx, [0x140093ca0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14005b220
cmp dword [0x140093ce8], 0x12
jne 0x1400214e0
call fcn.14005c020
call fcn.14005c5a0
xor ecx, ecx
call fcn.140034a40
mov rcx, qword [0x140093c90]
test rcx, rcx
je 0x140021826
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140093c90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140093c88]
test rcx, rcx
je 0x140021838
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140093d10]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140093cf0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400758e0
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret