Function at 0x140031c2c
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 [0x140043040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x140044220], xmm0
movups xmmword [0x140044230], xmm0
movups xmmword [0x140044240], xmm0
mov rdx, qword [0x140044350]
lea rcx, [0x140044220]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140031ca6
lea rcx, [0x140044220]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140044220]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140044270]
jne 0x140031ce9
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140044350]
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 0x140031ee2
mov rcx, qword [0x140044270]
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 [0x140044270]
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.140004a90
mov rcx, qword [0x140044270]
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 0x140031db6
mov byte [rbx + 0x118], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
mov byte [rbx + 0x428], 1
jmp 0x140031dbd
mov byte [rbx + 0x118], dil
mov eax, dword [0x1400447d8]
mov ecx, dword [rbp - 0x1c]
mov edx, dword [rbp - 0x20]
cmp dword [rbp - 0x28], eax
jne 0x140031de9
cmp edx, dword [0x1400447e0]
jne 0x140031de9
mov eax, dword [0x1400447dc]
cmp dword [rbp - 0x24], eax
jne 0x140031de9
cmp ecx, dword [0x1400447e4]
je 0x140031e4b
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 [0x140044298], edx
mov dword [0x1400441cc], ecx
mov dword [0x1400441e0], edx
xor edx, edx
mov dword [0x1400441e4], ecx
mov rcx, qword [0x140044350]
movdqu xmmword [0x1400447d8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140044358]
lea rdx, [0x1400441e0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400315d0
cmp dword [0x140044228], 0x12
jne 0x140031c66
call fcn.140021dd0
mov rbx, qword [0x1400441b0]
mov rcx, rbx
mov qword [0x1400442e8], rdi
mov qword [0x1400442f8], rdi
call fcn.140005d38
cmp qword [0x1400441b0], rbx
jne 0x140031e8f
mov qword [0x1400441b0], rdi
test rbx, rbx
je 0x140031eb7
mov rcx, rbx
call fcn.140012e84
mov rax, qword [0x1400441b0]
test rax, rax
je 0x140031eae
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140044350]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140033220
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