Function at 0x140186100
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, r9
mov rbx, r8
xor esi, esi
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp - 0x40], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp - 4], 1
mov word [rbp], si
movdqa xmm0, xmmword [0x14057ab60]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], 0xffffffffffffffff
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], rax
movups xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x14057a8b0]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], si
mov rcx, qword [rdx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x1401865cf
cmp qword [rdx + 0x18], 7
jbe 0x1401861d8
mov rdx, qword [rdx]
mov qword [rsp + 0x30], 1
lea rax, [0x140574be8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
lea rcx, [rbp + 0x50]
call fcn.1400d6400
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14018620d
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400d6550
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14018626f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018626a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401865d5
call fcn.1403e3650
movups xmmword [rbp + 0x30], xmm6
movups xmmword [rbp + 0x40], xmm7
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x1401862b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401862b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401865db
call fcn.1403e3650
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x70]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1401862e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.token:_tcb:_open_process_token_failed:_
jmp 0x140186346
mov dword [rbp + 0x50], 1
mov dword [rbp + 0x5c], 2
lea r8, [rbp + 0x54]
lea rdx, str.SeTcbPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140186317
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.token:_tcb:_lookup_priviledge_value_failed:_
jmp 0x140186346
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14018637f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.token:_tcb:_adjust_token_priviledge_failed:_
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, str.UTILS
mov edx, 2
call fcn.1400d1640
lea r9, str.process:_could_not_get_TCB_privilege..._:_
lea r8, str.UTILS
mov edx, 4
call fcn.1400c6f10
jmp 0x14018638a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140185f60
mov rbx, rax
test rax, rax
jne 0x1401863b2
lea r9, str.process:_could_not_get_user_token..._:_
lea r8, str.UTILS
lea edx, [rax + 4]
call fcn.1400c6f10
jmp 0x140186464
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x1401863d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.CreateEnvironmentBlock_failed:_
jmp 0x140186445
cmp qword [rdi + 0x18], 7
jbe 0x1401863e0
mov rdi, qword [rdi]
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova r8, qword [rbp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x9000600
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140186464
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.CreateProcess_failed_
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, str.UTILS
mov edx, 4
call fcn.1400d1640
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401864a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1401864a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.CloseHandle_pi.hThread__failed:_
lea r8, str.UTILS
mov edx, 4
call fcn.1400d1640
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401864e3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1401864e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.CloseHandle_pi.hProcess__failed:_
lea r8, str.UTILS
mov edx, 4
call fcn.1400d1640
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140186523
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
jne 0x140186523
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.DestroyEnvironmentBlock_failed:_
lea r8, str.UTILS
mov edx, 4
call fcn.1400d1640
test rbx, rbx
je 0x140186562
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140186562
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.CloseHandle_token__failed:_
lea r8, str.UTILS
mov edx, 4
call fcn.1400d1640
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14018659e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140186599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401865c9
call fcn.1403e3650
mov al, 1
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1403e3630
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
call fcn.1403fd768
nop
call fcn.1400c4f10
nop
call fcn.1403fd768
nop
call fcn.1403fd768
int3