Function at 0x140039418
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 [0x140069000]
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 [0x140069a90], xmm0
movups xmmword [0x140069aa0], xmm0
movups xmmword [0x140069ab0], xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140069ea8]
lea rcx, [0x140069a90]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400394c0
lea rcx, [0x140069a90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140069a90]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140069a28]
jne 0x140039505
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 0x1400396bc
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
and qword [rbp - 0x40], 0
lea rdx, [rbp - 0x18]
mov rcx, qword [0x140069a28]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x40]
mov rcx, qword [0x140069a28]
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.1400094c0
mov rbx, rax
and qword [rax + 0x18], 0
mov rcx, qword [0x140069a28]
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 0x1400395ea
cmp edx, dword [0x140069f18]
jne 0x1400395ea
mov eax, dword [0x140069f14]
cmp dword [rbp - 0x14], eax
jne 0x1400395ea
cmp ecx, dword [0x140069f1c]
je 0x140039656
movups xmm0, xmmword [rbp - 0x18]
movdqu xmmword [0x140069f10], xmm0
mov dword [0x140069a38], edx
mov dword [0x140069a3c], ecx
mov dword [0x140069980], edx
mov dword [0x140069984], ecx
mov dword [0x1400699bc], 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, [0x140069980]
call qword [rax + 0x80]
call fcn.14003b04c
inc dword [0x140069ac0]
cmp dword [0x140069a98], 0x12
jne 0x140039480
call fcn.14001ff38
call fcn.140020210
xor ecx, ecx
call fcn.140007824
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.14003d340
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