Function at 0x1400301e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140069fc0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov esi, r9d
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [rbp + 0x20], 0x50
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm0
lea rax, [0x140030180]
movdqa xmmword [rbp + 0x50], xmm1
xor r14d, r14d
mov qword [rbp + 0x28], rax
lea rdi, str.MouseTrail
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x68], r14
mov dword [rbp + 0x24], 3
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x60], rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rdx, qword [rbp + 0x60]
mov r9d, 0x80000000
mov qword [rsp + 0x58], r14
mov ecx, eax
mov rax, qword [rbp + 0x38]
mov r8, rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ecx
mov ecx, 0x800a8
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
mov r8b, 0xff
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
lea rdx, [rbp + 0xa8]
mov rcx, rdi
movups xmmword [rbp + 0xa8], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
lea rdx, [rbp + 0xb8]
mov rcx, rdi
movups xmmword [rbp + 0xb8], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x70], r14
mov rcx, rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x70]
lea rdx, [rbp + 0x80]
mov dword [rbp + 0x80], eax
mov rcx, rdi
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0xb4]
mov dword [rbp + 0x8c], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x1c], r14
mov qword [rbp - 0x14], 1
mov qword [rbp - 8], 2
mov qword [rbp + 0x10], 2
mov dword [rbp - 0x28], 0x3c
mov dword [rbp - 0x24], 1
lea rax, [rbp - 0x60]
mov dword [rbp - 0x20], 0x1c
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x78]
mov dword [rbp - 0xc], 0x20
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov qword [rbp], rdi
mov qword [rsp + 0x48], rax
mov edx, 1
lea rax, [rbp - 0x40]
mov qword [rbp + 8], 1
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp - 0x30]
mov dword [rbp + 0xf8], 0xb000
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf8]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp + 0xfc], 0xa000
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x48], r14
mov dword [rbp + 0x78], r14d
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x58]
mov qword [rbp - 0x58], r14
lea r8, [0x1400615d8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x140030a22
mov rcx, qword [rbp - 0x50]
lea r9, [rbp - 0x48]
xor r8d, r8d
mov qword [rsp + 0x288], r13
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14006d870]
mov ecx, 0x6280
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x14006d870]
mov r9, rax
test r8, r8
je 0x14003050c
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r10d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x140030501
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 4]
inc dword [r8 + 0x60e8]
test r9, r9
je 0x14003051d
xor edx, edx
mov rcx, r9
call fcn.1400010e0
jmp 0x140030520
mov rax, r14
mov qword [0x14006d870], rax
call fcn.140004d00
test rbx, rbx
je 0x140030538
mov qword [0x14006d870], rbx
xor ecx, ecx
call fcn.140021000
mov rcx, rdi
call fcn.14002ade0
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
call fcn.14002ac20
xorps xmm0, xmm0
mov rbx, r14
mov ecx, 0x13
mov qword [rbp + 0x70], rbx
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r13, qword [rbp + 0x90]
test ax, ax
jne 0x1400309be
mov rsi, qword [rbp + 0x98]
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x280], r15
movaps xmmword [rsp + 0x270], xmm6
movaps xmmword [rsp + 0x260], xmm7
movdqa xmm7, xmmword [0x1400617b0]
movaps xmmword [rsp + 0x250], xmm8
movdqa xmm8, xmmword [0x1400617c0]
movaps xmmword [rsp + 0x240], xmm9
movaps xmmword [rsp + 0x230], xmm10
movss xmm10, dword [0x140061634]
movaps xmmword [rsp + 0x220], xmm11
movss xmm11, dword [0x140061674]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0xc8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140030665
lea rcx, [rbp + 0xc8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0xd0], 0x12
je 0x140030665
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0xc8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140030621
mov rax, qword [0x14006d870]
test rax, rax
je 0x14003067a
mov rcx, qword [rax + 0x98]
jmp 0x14003067d
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x140030689
call fcn.14002a5d0
call fcn.14002b7f0
call fcn.1400065b0
mov rax, qword [0x14006d870]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x4b10]
mov rcx, qword [rcx]
call fcn.140005cb0
lea rcx, [0x14006da68]
mov qword [0x14006da58], rax
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp rsi, rbx
je 0x1400306e2
mov rax, qword [0x14006da68]
mov qword [rsi], rax
add rsi, 8
mov qword [rbp + 0x98], rsi
jmp 0x140030711
lea r8, [0x14006da68]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.140030a30
mov rax, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0x98]
mov r13, qword [rbp + 0x90]
mov qword [rbp + 0x70], rax
mov rax, rsi
sub rax, r13
sar rax, 3
cmp rax, 0x32
jbe 0x14003073e
lea rdx, [r13 + 8]
mov r8, rsi
sub r8, rdx
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
sub rsi, 8
mov qword [rbp + 0x98], rsi
mov r15d, r14d
mov r14, r13
cmp r13, rsi
je 0x1400308e9
nop dword [rax]
mov rdi, qword [r14]
mov ecx, 1
mov rbx, rdi
shr rbx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, rbx
mov r9, rdi
test ax, ax
je 0x14003077d
movups xmmword [rsp + 0x60], xmm8
lea rcx, [rsp + 0x60]
jmp 0x140030787
movups xmmword [rsp + 0x70], xmm7
lea rcx, [rsp + 0x70]
call fcn.140003400
mov r12d, eax
movd xmm1, ebx
mov rbx, qword [0x14006da58]
mov eax, 0x66666667
imul r15d
movd xmm0, edi
cvtdq2ps xmm0, xmm0
sar edx, 1
mov eax, edx
movd xmm6, r9d
shr eax, 0x1f
add edx, eax
movd xmm9, r8d
movss dword [rbp + 0xb8], xmm0
cvtdq2ps xmm1, xmm1
movd xmm2, edx
movss dword [rbp + 0xbc], xmm1
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm9, xmm9
test r12d, 0xff000000
je 0x14003083e
comiss xmm10, xmm2
ja 0x14003083e
subss xmm2, xmm10
mov dword [rsp + 0x20], 0x30
xor r9d, r9d
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call fcn.140023580
mov r8d, dword [rbx + 0x78]
mov r9d, r12d
mov rdx, qword [rbx + 0x80]
dec r8d
movss dword [rsp + 0x28], xmm11
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.1400220d0
mov dword [rbx + 0x78], 0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140030859
movups xmmword [rbp - 0x80], xmm8
lea rcx, [rbp - 0x80]
jmp 0x140030861
movups xmmword [rbp - 0x70], xmm7
lea rcx, [rbp - 0x70]
movd xmm0, dword [0x14006da68]
mov eax, 0x66666667
movd xmm1, dword [0x14006da6c]
imul r15d
cvtdq2ps xmm0, xmm0
sar edx, 2
mov eax, edx
movss dword [rbp + 0xa8], xmm6
shr eax, 0x1f
add edx, eax
movss dword [rbp + 0x80], xmm0
cvtdq2ps xmm1, xmm1
movd xmm6, edx
cvtdq2ps xmm6, xmm6
movss dword [rbp + 0x84], xmm1
movss dword [rbp + 0xac], xmm9
call fcn.140003400
mov rcx, qword [0x14006da58]
lea rdx, [rbp + 0x80]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp + 0xa8]
call fcn.1400242b0
inc r15d
add r14, 8
cmp r14, rsi
jne 0x140030750
call fcn.1400086e0
mov rcx, qword [rbp - 0x60]
lea r8, [rbp - 0x48]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x100], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [rbp - 0x60]
lea r8, [rbp + 0x100]
mov rdx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14006d870]
xor r14d, r14d
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov ecx, r14d
add rax, 0x48
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.140029b60
mov rcx, qword [rbp - 0x40]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ecx, 0x13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rbp + 0x70]
test ax, ax
je 0x140030600
movaps xmm11, xmmword [rsp + 0x220]
movaps xmm10, xmmword [rsp + 0x230]
movaps xmm9, xmmword [rsp + 0x240]
movaps xmm8, xmmword [rsp + 0x250]
movaps xmm7, xmmword [rsp + 0x260]
movaps xmm6, xmmword [rsp + 0x270]
mov r15, qword [rsp + 0x280]
mov r12, qword [rsp + 0x2c8]
test r13, r13
je 0x1400309fd
sub rbx, r13
mov rax, r13
and rbx, 0xfffffffffffffff8
cmp rbx, 0x1000
jb 0x1400309f2
mov r13, qword [r13 - 8]
add rbx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400309f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbx
mov rcx, r13
call fcn.14003db3c
mov r13, qword [rsp + 0x288]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14003d9a0
add rsp, 0x290
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 1
jmp 0x140030a05