Function at 0x140001110
Capabilities:
Create process on windows
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140094010]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor edi, edi
mov dword [rbp], r8d
xorps xmm0, xmm0
mov qword [rsp + 0x68], rdi
xor eax, eax
mov qword [rsp + 0x60], rdi
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea edx, [rdi + 2]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400012d5
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 1]
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1400012a9
mov rcx, qword [rsp + 0x60]
lea r9d, [rdi + 4]
lea r8, [rbp]
lea edx, [rdi + 0xc]
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x1400011e5
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400011e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetTokenInformation_failed__error:0x_08lx._n
call fcn.140004600
xor edx, edx
mov dword [rbp + 0x10], 0x11c
mov r8d, 0x100
mov qword [rbp + 0x1c], rdi
lea rcx, [rbp + 0x24]
call fcn.1400074f0
xor eax, eax
mov word [rbp + 0x126], di
mov r8b, 3
mov dword [rbp + 0x128], eax
xor ecx, ecx
lea edx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edx, 0x23
mov dword [rbp + 0x14], 6
mov r8, rax
mov dword [rbp + 0x18], 2
lea rcx, [rbp + 0x10]
mov word [rbp + 0x124], di
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x1400012c8
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 8]
mov r9d, 4
mov dword [rbp + 8], 1
lea edx, [r9 + 0x16]
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x1400012c8
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400012c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetTokenInformation_for_UIAccess_failed__error:0x_08lx._n
jmp 0x1400012c1
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400012c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.DuplicateTokenEx_failed__error:0x_08lx._n
mov edx, eax
call fcn.140004600
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400012f4
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400012f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcessToken_failed__error:0x_08lx._n
call fcn.140004600
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14000131a
call fcn.140004c40
test al, al
je 0x140001313
lea rcx, str.Unable_to_create_token_for_new_VM3DService._n
call fcn.140004600
xor eax, eax
jmp 0x1400014c4
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x10], rax
xor r9d, r9d
lea rax, str.winsta0Winlogon
mov r8, rsi
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], rax
mov rdx, rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x8c
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1400013d0
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400013ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_launch_a_process_with_a_user_token__error:0x_08lx._n
call fcn.140004600
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400014b6
mov edx, dword [rbp]
lea rcx, str.Failed_to_create_VM3DService_in_session__d._n
call fcn.140004600
jmp 0x1400014b6
mov edx, 0x30
lea ecx, [rdx - 0x2f]
call fcn.140017558
xor ecx, ecx
mov rbx, rax
call fcn.140004c40
test al, al
je 0x1400013fe
mov r8d, dword [rbp]
lea rcx, str.Created_new_VM3DService__pid__u__in_session__d._n
mov edx, dword [rbp - 0x80]
call fcn.140004600
mov rdi, qword [rsp + 0x70]
test rbx, rbx
je 0x140001443
mov eax, dword [rbp]
lea rcx, [0x1400966a0]
mov dword [rbx + 0x28], eax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x10], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rbx + 0x20], xmm1
mov rax, qword [0x1400966a0]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rax + 8], rbx
mov qword [0x1400966a0], rbx
jmp 0x140001451
lea rdx, str.Failed_to_allocation_memory_for_process_list._n
xor ecx, ecx
call fcn.140004c70
mov rcx, qword [0x140094c08]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140001486
xor ecx, ecx
call fcn.140004c40
test al, al
je 0x1400014a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_assign_process_to_job_object__error:0x_08lx._n
call fcn.140004600
jmp 0x1400014a0
mov ecx, 8
call fcn.140004c40
test al, al
je 0x1400014a0
lea rcx, str.Success_assigning_process_to_job_object._n
call fcn.140004600
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140006280
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret