Function at 0x180040518
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1801a5040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1801a5d50], xmm0
movups xmmword [0x1801a5d60], xmm0
movups xmmword [0x1801a5d70], xmm0
mov rdx, qword [0x1801a5da8]
lea rcx, [0x1801a5d50]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x180040592
lea rcx, [0x1801a5d50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1801a5d50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1801a5d00]
cmp rax, rcx
jne 0x1800405df
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1801a5da8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1801a5d00]
xorps xmm0, xmm0
mov qword [rbp - 0x30], rdi
lea rdx, [rbp - 0x28]
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1801a5d00]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x30]
mov rbx, qword [0x1801a5b00]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x2c]
mov dword [rbp - 0x24], eax
mov rax, qword [rbx + 0x4b88]
mov rcx, qword [rax]
mov rax, qword [0x1801a5d00]
mov qword [rcx + 0x30], rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x18]
mov ecx, 1
sub eax, dword [rbp - 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x108], xmm0
mov eax, dword [rbp - 0x14]
sub eax, dword [rbp - 0x2c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004068d
mov byte [rbx + 0x110], 1
mov eax, dword [rbx + 0x10c]
mov dword [rbx + 0x2ad8], eax
mov byte [rbx + 0x2b28], 1
jmp 0x180040694
mov byte [rbx + 0x110], dil
mov eax, dword [0x1801ab7c8]
mov ecx, dword [rbp - 0x1c]
mov edx, dword [rbp - 0x20]
cmp dword [rbp - 0x28], eax
jne 0x1800406c0
cmp edx, dword [0x1801ab7d0]
jne 0x1800406c0
mov eax, dword [0x1801ab7cc]
cmp dword [rbp - 0x24], eax
jne 0x1800406c0
cmp ecx, dword [0x1801ab7d4]
je 0x180040722
movups xmm0, xmmword [rbp - 0x28]
mov r9d, dword [rbp - 0x2c]
mov r8d, dword [rbp - 0x30]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1801a5cf8], edx
mov dword [0x1801a5e04], ecx
mov dword [0x1801a5d10], edx
xor edx, edx
mov dword [0x1801a5d14], ecx
mov rcx, qword [0x1801a5da8]
movdqu xmmword [0x1801ab7c8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1801a5d80]
lea rdx, [0x1801a5d10]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.18003ff34
cmp dword [0x1801a5d58], 0x12
jne 0x180040552
call fcn.1800264f8
call fcn.180026944
call fcn.180004900
mov rcx, qword [0x1801a5d80]
test rcx, rcx
je 0x180040765
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1801a5d80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1801a5d88]
test rcx, rcx
je 0x180040777
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1801a5da8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1801a5dc8]
mov rcx, qword [0x1801a5df0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180043740
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret