Function at 0x180003074
Capabilities:
Create process on windows
Get windows directory from kuser_shared_data
Map section object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x570]
sub rsp, 0x670
xor r14d, r14d
mov esi, 0x1000
mov qword [rsp + 0x58], r14
mov edi, edx
mov qword [rbp + 0x5a8], r14
mov rbx, rcx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r14
call fcn.18000259c
cmp eax, 0xc00000bb
je 0x1800030cb
mov ecx, 0x66306666
call qword [sym.imp.ntdll.dll_RtlE]
cmp edi, 1
jne 0x180003431
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrDisa]
xor eax, eax
lea rdi, [rbp + 0x50]
mov ebx, 0x100
lea rdx, [rbp + 0x50]
mov ecx, ebx
rep stosb byte [rdi], al
mov ecx, 0x3066
call fcn.180001258
lea rdx, str.Sessions_
lea rcx, [rbp + 0x150]
call fcn.18000271c
lea rdx, [rbp + 0x150]
cmp word [rbp + 0x150], r14w
je 0x180003128
add rdx, 2
cmp word [rdx], r14w
jne 0x18000311e
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov ecx, dword [rcx + 0x2c0]
call fcn.1800010e8
lea rdx, str.BaseNamedObjects_
lea rcx, [rbp + 0x150]
call fcn.180002670
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x150]
call fcn.180002670
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x78], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
lea r8, [rsp + 0x78]
mov qword [rbp - 0x80], r14
mov edx, 0xf001f
mov dword [rbp - 0x70], 0x40
lea rcx, [rsp + 0x58]
movdqu xmmword [rbp - 0x68], xmm0
call qword [sym.imp.ntdll.dll_NtOpenSection]
test eax, eax
js 0x180003431
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 4
lea r8, [rbp + 0x5a8]
mov dword [rsp + 0x40], 0x100000
xor r9d, r9d
mov dword [rsp + 0x38], 2
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x180003426
mov r8, qword [rbp + 0x5a8]
test r8, r8
je 0x180003426
xor eax, eax
lea rdi, [rbp + 0x360]
mov edx, 0x104
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rbp + 0x360]
add r8, 4
mov r9d, edx
call fcn.18000275c
xor eax, eax
lea rdi, [rbp + 0x50]
mov rcx, rbx
lea rdx, str.BaseNamedObjects_
rep stosb byte [rdi], al
lea rcx, [rbp + 0x150]
call fcn.18000271c
lea rdx, [rbp + 0x50]
mov ecx, 0x3166
call fcn.180001258
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x150]
call fcn.180002670
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x78], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
lea r8, [rsp + 0x78]
mov qword [rbp - 0x80], r14
mov edx, 2
mov dword [rbp - 0x70], 0x40
lea rcx, [rsp + 0x50]
movdqu xmmword [rbp - 0x68], xmm0
call qword [sym.imp.ntdll.dll_NtOpenEvent]
test eax, eax
js 0x180003415
xor eax, eax
lea rdi, [0x180008040]
mov ecx, 0x834
rep stosb byte [rdi], al
lea rcx, [0x180008040]
call fcn.18000144c
mov esi, eax
test eax, eax
je 0x180003315
cmp word [0x18000804c], r14w
lea rdi, [0x18000804c]
mov rcx, rdi
je 0x18000330a
add rcx, 2
cmp word [rcx], r14w
jne 0x180003300
sub rcx, rdi
sar rcx, 1
lea ebx, [rcx + rcx]
jmp 0x18000331b
mov rdi, r14
mov ebx, r14d
lea rdx, str.windir
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
test eax, eax
js 0x180003353
mov edx, 0x7ffe0030
lea rcx, [rbp - 0x58]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
test eax, eax
js 0x180003353
lea r8, [rbp - 0x58]
xor ecx, ecx
lea rdx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlSetEnv]
mov edx, ebx
mov rcx, rdi
call fcn.18000185c
test eax, eax
je 0x18000336e
mov rax, qword [rbp + 0x5a8]
mov dword [rax], 1
xor eax, eax
mov dword [rbp + 0x598], 0x32
lea rdi, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0x68]
mov ecx, edx
rep stosb byte [rdi], al
lea rax, [rbp - 0x38]
mov dword [rbp - 0x20], edx
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x598]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x360]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800033ed
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x5a8]
or dword [rax], 2
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
test esi, esi
je 0x180003415
lea rcx, [0x18000866a]
call fcn.1800015fc
mov rdx, qword [rbp + 0x5a8]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
lea r11, [rsp + 0x670]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret