Function at 0x403488
Capabilities:
Create thread
Get session user name
Query environment variable
Set current directory
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x778]
sub rsp, 0x850
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp + 0x102]
xor r12d, r12d
xor edx, edx
mov r8d, 0x1fe
mov dword [rbp + 0x780], 0xff
mov r15, rax
mov word [rbp + 0x100], r12w
call fcn.0040bc50
lea rcx, [rbp + 0x302]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x300], r12w
call fcn.0040bc50
lea rax, [0x0040339c]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rsp + 0x68], rax
lea rax, str.ShrAliasWindowClass
lea rdx, [rbp + 0x780]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x60], 0x50
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x58], r12
mov r14d, r12d
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea r8, [rbp + 0x100]
lea rdx, str.SentinelEventShralias_s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rbp + 0x510]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x0041de30], rax
test rax, rax
jne 0x40359b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0x114
xor eax, eax
lea rdi, [rbp - 0x20]
mov ecx, edx
rep stosb byte [rdi], al
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], edx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 4
lea rdi, [0x0041c800]
lea r13d, [rsi - 3]
lea rbx, str.SharememUAlias_s
lea r8, [rbp + 0x100]
lea rcx, [rbp + 0x510]
mov rdx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea r8, [rbp + 0x510]
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rdi], rax
test rax, rax
je 0x403631
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x403625
mov r14d, r13d
jmp 0x403631
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r12
add rbx, 0x60
add rdi, 0x60
sub rsi, r13
jne 0x4035ce
test r14d, r14d
je 0x40375c
lea rdx, [rbp + 0x300]
lea rcx, str.SHRALIAS_SAVE_PATH
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x403684
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [0x0041de2c]
test eax, eax
cmovne ecx, r13d
mov dword [0x0041de2c], ecx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
lea r8, str.ShrAliasWindow
lea rdx, str.ShrAliasWindowClass
xor r9d, r9d
mov ecx, 0x40000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x0041de20], rax
test rax, rax
je 0x403755
lea r8, [0x00403434]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x40373d
mov rcx, qword [0x0041de20]
lea edx, [rax + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [0x0041de2c], r12d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40373d
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x403721
jmp 0x40375c
xor ecx, ecx
call fcn.00403234
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]