Function at 0x140031ae8
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140043010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1400441b0], xmm0
movups xmmword [0x1400441c0], xmm0
movups xmmword [0x1400441d0], xmm0
mov rdx, qword [0x1400442e0]
lea rcx, [0x1400441b0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140031b62
lea rcx, [0x1400441b0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400441b0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140044200]
jne 0x140031ba5
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400442e0]
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 ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140031d9e
mov rcx, qword [0x140044200]
lea rdx, [rbp - 0x28]
xorps xmm0, xmm0
mov qword [rbp - 0x30], rdi
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140044200]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x2c]
mov dword [rbp - 0x24], eax
call fcn.140004a7c
mov rcx, qword [0x140044200]
mov rbx, rax
mov qword [rax + 0x100], rcx
lea rcx, [rbp - 0x18]
mov qword [rax + 0x18], rdi
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp - 0x18]
sub ecx, dword [rbp - 0x30]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov ecx, dword [rbp - 0x14]
sub ecx, dword [rbp - 0x2c]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x114], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140031c72
mov byte [rbx + 0x118], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
mov byte [rbx + 0x428], 1
jmp 0x140031c79
mov byte [rbx + 0x118], dil
mov eax, dword [0x140044768]
mov ecx, dword [rbp - 0x1c]
mov edx, dword [rbp - 0x20]
cmp dword [rbp - 0x28], eax
jne 0x140031ca5
cmp edx, dword [0x140044770]
jne 0x140031ca5
mov eax, dword [0x14004476c]
cmp dword [rbp - 0x24], eax
jne 0x140031ca5
cmp ecx, dword [0x140044774]
je 0x140031d07
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 [0x140044228], edx
mov dword [0x14004415c], ecx
mov dword [0x140044170], edx
xor edx, edx
mov dword [0x140044174], ecx
mov rcx, qword [0x1400442e0]
movdqu xmmword [0x140044768], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400442e8]
lea rdx, [0x140044170]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14003148c
cmp dword [0x1400441b8], 0x12
jne 0x140031b22
call fcn.140021d18
mov rbx, qword [0x140044140]
mov rcx, rbx
mov qword [0x140044278], rdi
mov qword [0x140044288], rdi
call fcn.140005d08
cmp qword [0x140044140], rbx
jne 0x140031d4b
mov qword [0x140044140], rdi
test rbx, rbx
je 0x140031d73
mov rcx, rbx
call fcn.140012e1c
mov rax, qword [0x140044140]
test rax, rax
je 0x140031d6a
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400442e0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400330e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3