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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp - 8], rax
lea rsi, [rbp + 8]
movabs r12, 0x7a5db90d33787107
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], rsi
mov rdi, qword [rsi]
xor rdi, r12
mov qword [rbp - 0x30], rdi
and qword [rsi], 0
xorps xmm0, xmm0
movups xmmword [0x140069a50], xmm0
movups xmmword [0x140069a60], xmm0
movups xmmword [0x140069a70], xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140069ea8]
lea rcx, [0x140069a50]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140039530
lea rcx, [0x140069a50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140069a50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400699e8]
jne 0x140039575
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x140069ea8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003972c
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
and qword [rbp - 0x40], 0
lea rdx, [rbp - 0x18]
mov rcx, qword [0x1400699e8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x40]
mov rcx, qword [0x1400699e8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x14], eax
call fcn.140009530
mov rbx, rax
and qword [rax + 0x18], 0
mov rcx, qword [0x1400699e8]
mov qword [rax + 0x100], rcx
mov dword [rax + 0x10], 0x3c888889
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp - 0x38]
sub ecx, dword [rbp - 0x40]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov ecx, dword [rbp - 0x34]
sub ecx, dword [rbp - 0x3c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x114], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x118], al
mov ecx, dword [rbp - 0xc]
mov edx, dword [rbp - 0x10]
mov eax, dword [0x140069f10]
cmp dword [rbp - 0x18], eax
jne 0x14003965a
cmp edx, dword [0x140069f18]
jne 0x14003965a
mov eax, dword [0x140069f14]
cmp dword [rbp - 0x14], eax
jne 0x14003965a
cmp ecx, dword [0x140069f1c]
je 0x1400396c6
movups xmm0, xmmword [rbp - 0x18]
movdqu xmmword [0x140069f10], xmm0
mov dword [0x1400699f8], edx
mov dword [0x1400699fc], ecx
mov dword [0x140069940], edx
mov dword [0x140069944], ecx
mov dword [0x14006997c], 0x80000000
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x3c]
mov r8d, dword [rbp - 0x40]
xor edx, edx
mov rcx, qword [0x140069ea8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140069eb0]
mov rax, qword [rcx]
lea rdx, [0x140069940]
call qword [rax + 0x80]
call fcn.14003b0bc
inc dword [0x140069a80]
cmp dword [0x140069a58], 0x12
jne 0x1400394f0
call fcn.14001ffa8
call fcn.140020280
xor ecx, ecx
call fcn.140007894
mov rcx, qword [0x140069ea8]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
xor rdi, r12
mov qword [rsi], rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d360
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3