Function at 0x14005e2f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor ebp, ebp
movups xmmword [0x1400ebf68], xmm0
movups xmmword [0x1400ebf78], xmm0
movups xmmword [0x1400ebf88], xmm0
nop dword [rax]
movzx eax, byte [0x1400ec9b5]
mov rcx, qword [0x1400ec010]
neg al
sbb edx, edx
and edx, 0x11
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rdx, qword [0x1400ec010]
lea rcx, [0x1400ebf68]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005e3b1
lea rcx, [0x1400ebf68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400ebf68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rdx, qword [0x1400ec010]
lea rcx, [0x1400ebf68]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14005e371
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400ebf58]
cmp rax, rcx
jne 0x14005e3fe
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400ec010]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400ebf58]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400ebf58]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rbx, qword [0x1400ebf40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xf8], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xfc], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005e4b0
mov byte [rbx + 0x100], 1
mov byte [rbx + 0x2b18], 1
mov eax, dword [rbx + 0xf8]
mov dword [rbx + 0x2ac8], eax
mov eax, dword [rbx + 0xfc]
mov dword [rbx + 0x2acc], eax
jmp 0x14005e4b7
mov byte [rbx + 0x100], bpl
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005e4ef
mov byte [rbx + 0x101], 1
mov eax, dword [rbx + 0xf8]
mov dword [rbx + 0x2ad0], eax
mov eax, dword [rbx + 0xfc]
mov dword [rbx + 0x2ad4], eax
mov byte [rbx + 0x2b19], 1
jmp 0x14005e4f6
mov byte [rbx + 0x101], bpl
mov eax, dword [0x1400ecb00]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14005e526
cmp edx, dword [0x1400ecb08]
jne 0x14005e526
mov eax, dword [0x1400ecb04]
cmp dword [rsp + 0x4c], eax
jne 0x14005e526
cmp ecx, dword [0x1400ecb0c]
je 0x14005e58a
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 [0x1400ebf50], edx
mov dword [0x1400ec070], ecx
mov dword [0x1400ebfa0], edx
xor edx, edx
mov dword [0x1400ebfa4], ecx
mov rcx, qword [0x1400ec010]
movups xmmword [0x1400ecb00], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400ebfe8]
lea rdx, [0x1400ebfa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14005df00
cmp dword [0x1400ebf70], 0x12
jne 0x14005e330
mov r8, qword [0x1400ebf40]
test r8, r8
je 0x14005e5b1
mov rsi, qword [r8 + 0x98]
jmp 0x14005e5b4
mov rsi, rbp
lea rdi, [r8 + 8]
test r8, r8
je 0x14005e624
mov rbx, qword [r8 + 0x98]
test rbx, rbx
je 0x14005e624
cmp qword [rbx], rbp
je 0x14005e624
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005e5e8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x1400ebf40]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005e602
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x1400ebf40]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005e624
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x1400ebf40]
mov qword [rbx + 0x18], rbp
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], rbp
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005e639
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x1400ebf40]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test r8, r8
je 0x14005e6af
movsx rdx, word [r8 + 0x60d8]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rdx*8 + 0x60dc]
add rcx, r8
cmp dword [rcx], r9d
je 0x14005e6a4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60dc]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400ebf40]
test r8, r8
je 0x14005e6cd
mov rdi, qword [r8 + 0x90]
jmp 0x14005e6d0
mov rdi, rbp
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x14005e6ea
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400ebf40]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test r8, r8
je 0x14005e75d
movsx rdx, word [r8 + 0x60d8]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rdx*8 + 0x60dc]
add rcx, r8
cmp dword [rcx], r9d
je 0x14005e752
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60dc]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400ebf40]
mov qword [0x1400ebf40], rbx
call fcn.1400107d0
mov qword [0x1400ebf40], rbp
test rbx, rbx
je 0x14005e802
mov rcx, rbx
call fcn.140028700
mov r8, qword [0x1400ebf40]
test r8, r8
je 0x14005e7f9
movsx r10, word [r8 + 0x60d8]
lea rdx, [r8 + 0x60dc]
mov r9d, dword [r8 + 0x3f68]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14005e7ee
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60dc]
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], ebp
inc word [rdx + 6]
inc dword [r8 + 0x60d4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400ebfe8]
test rcx, rcx
je 0x14005e824
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400ebfe8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400ebfe0]
test rcx, rcx
je 0x14005e836
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400ec010]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400ec038]
mov rcx, qword [0x1400ec060]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140074150
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret