Function at 0x140012150
Capabilities:
Create mailslot
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
add rcx, 0x18
lea edx, [rbx + 2]
call fcn.14021754c
nop
mov qword [rdi + 0x68], rbx
mov qword [rdi + 0x70], rbx
mov qword [rdi + 0x78], rbx
mov qword [rdi + 0x80], rbx
mov qword [rdi + 0x88], rbx
mov qword [rdi + 0x90], rbx
mov qword [rdi + 0x98], rbx
mov qword [rdi + 0xa0], rbx
mov qword [rdi + 0xa8], rbx
mov qword [rdi + 0xb0], rbx
mov qword [rdi + 0xb8], rbx
mov qword [rdi + 0xc0], rbx
mov byte [0x14034dcdc], bl
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140241ba0
xor r9d, r9d
lea r8d, [rbx + 0x24]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14001221e
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140013eb0
mov word [rsp + 0x40], bx
xor r9d, r9d
lea r8d, [r9 + 0x25]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140012317
call fcn.1400a2364
mov rcx, rax
test rax, rax
je 0x1400123d9
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
cmp rax, 0x10000
jae 0x140012287
lea rax, [rsp + 0x40]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.14000d610
jmp 0x1400122ad
lea rcx, [rsp + 0x40]
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140012290
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000df90
nop
lea rdx, str._rundll32.exe
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400122c0
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400157c0
mov rbx, qword [rsp + 0x20]
cmp dword [rbx - 8], 1
jle 0x1400122f4
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000dd30
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.140014010
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140012317
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rbx, str.backgroundtaskhost.exe
lea rsi, [0x14033f6e0]
mov rdx, rbx
mov rcx, rdi
call fcn.140013cb0
add rbx, 0x40
cmp rbx, rsi
jne 0x140012325
lea r8, str.GlobalRevoHelperProMutex
xor edx, edx
mov ecx, 0x20000
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x14001235b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140013ab0
call fcn.1400476a0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x40]
mov rcx, qword [0x14034def0]
call qword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov qword [rdi + 0x2c8], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x1400123b1
lea r9, str.Failed_to_create_the_ipc_mailbox_
mov r8d, 0x63
lea rdx, str.C:WorkVSRevoWindowsProjectsRevo_HelperRevo_HelperSourcesEventManager.cpp
lea ecx, [r8 - 0x62]
call fcn.1400473d0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402155d0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400080b0
int3