Function at 0x14006e100
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x140001640]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x58], rcx
mov dword [rbp + 0x178], r8d
xor r14d, r14d
mov dword [rsp + 0x64], r14d
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
call fcn.14006f210
nop
mov rbx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8, rbx
call fcn.140074110
test eax, eax
jne 0x14006e215
movdqa xmm0, xmmword [0x14019d990]
movdqa xmmword [rbp + 0x370], xmm0
movdqa xmm1, xmmword [0x14019d8c0]
movdqa xmmword [rbp + 0x380], xmm1
movdqa xmm0, xmmword [0x14019cc30]
movdqa xmmword [rbp + 0x390], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3a0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x3b0], xmm0
movdqa xmmword [rbp + 0x3c0], xmm1
movdqa xmmword [rbp + 0x3d0], xmm0
movdqa xmmword [rbp + 0x3e0], xmm1
mov r9b, 0x8f
lea r8, [0x140172628]
lea edx, [rax + 0x22]
lea rcx, [rbp + 0x370]
call fcn.1400164b0
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x30]
call fcn.1400eefd4
lea rdx, [0x1401fe0e0]
lea rcx, [rbp - 0x30]
call fcn.1400ef340
int3
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
call fcn.14006f210
nop
movdqa xmm0, xmmword [0x14019d270]
movdqa xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x14019cbe0]
movdqa xmmword [rbp + 0x200], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x210], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x220], xmm1
movdqa xmmword [rbp + 0x230], xmm0
movdqa xmmword [rbp + 0x240], xmm1
movdqa xmmword [rbp + 0x250], xmm0
movdqa xmmword [rbp + 0x260], xmm1
mov r9b, 0x39
lea r8, [0x140172650]
mov edx, select
lea rcx, [rbp + 0x1f0]
call fcn.1400164b0
mov rbx, rax
lea rcx, str.AdvApi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x14006e2cd
mov rcx, r14
jmp 0x14006e2d0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0xf01ff
call rax
test eax, eax
jne 0x14006e38e
movdqa xmm0, xmmword [0x14019d4e0]
movdqa xmmword [rbp + 0x2f0], xmm0
movdqa xmm1, xmmword [0x14019d550]
movdqa xmmword [rbp + 0x300], xmm1
movdqa xmm0, xmmword [0x14019cef0]
movdqa xmmword [rbp + 0x310], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x320], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x330], xmm0
movdqa xmmword [rbp + 0x340], xmm1
movdqa xmmword [rbp + 0x350], xmm0
movdqa xmmword [rbp + 0x360], xmm1
mov r9b, 0xe2
lea r8, [0x140172668]
lea edx, [rax + 0x2b]
lea rcx, [rbp + 0x2f0]
call fcn.1400164b0
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.1400eefd4
lea rdx, [0x1401fe0e0]
lea rcx, [rbp]
call fcn.1400ef340
int3
mov rax, qword [rsp + 0x68]
test rax, rax
mov rcx, r14
je 0x14006e39e
mov rcx, qword [rax]
mov r9d, 4
lea r8, [rbp + 0x178]
lea edx, [r9 + 8]
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x14006e45e
movdqa xmm0, xmmword [0x14019d880]
movdqa xmmword [rbp + 0x270], xmm0
movdqa xmm1, xmmword [0x14019d690]
movdqa xmmword [rbp + 0x280], xmm1
movdqa xmm0, xmmword [0x14019d950]
movdqa xmmword [rbp + 0x290], xmm0
movdqa xmm1, xmmword [0x14019cd30]
movdqa xmmword [rbp + 0x2a0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2b0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x2c0], xmm1
movdqa xmmword [rbp + 0x2d0], xmm0
movdqa xmmword [rbp + 0x2e0], xmm1
mov r9b, 0x8c
lea r8, [0x140172698]
lea edx, [rax + 0x35]
lea rcx, [rbp + 0x270]
call fcn.1400164b0
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400eefd4
lea rdx, [0x1401fe0e0]
lea rcx, [rbp - 0x18]
call fcn.1400ef340
int3
mov dword [rbp + 0x180], r14d
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x188]
call fcn.1400efcb0
mov qword [rbp + 0x160], r14
xor eax, eax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
cmp qword [rdi + 0x18], 8
jb 0x14006e49a
mov r8, qword [rdi]
jmp 0x14006e49d
mov r8, rdi
mov rax, qword [rsp + 0x68]
test rax, rax
mov rcx, r14
je 0x14006e4ad
mov rcx, qword [rax]
lea rax, [rbp + 0x160]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14006e63d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.14002d610
mov rdi, rax
call fcn.14006e6d0
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140019c00
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x14006e52f
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rbp + 0x178]
mov rcx, rbx
call fcn.140030d20
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x14006e588
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x14006e588
mov r10, qword [rbx + 0x18]
nop dword [rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006e588
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x14006e560
mov rdx, rdi
mov rcx, rbx
call fcn.14001baf0
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x14006e5a4
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140030d20
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x14006e5f8
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x14006e5f8
mov r10, qword [rbx + 0x18]
nop dword [rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x14006e5f8
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x14006e5d0
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.140019dc0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14006e60f
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x48]
call fcn.1400eefd4
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x48], rax
lea rdx, [0x1401fdcb0]
lea rcx, [rbp - 0x48]
call fcn.1400ef340
nop
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x160]
mov rcx, rsi
call fcn.14005f270
mov dword [rsp + 0x64], 1
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14006e689
lock dec dword [rbx + 8]
jne 0x14006e689
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x14006e689
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14006e6af
lock dec dword [rbx + 8]
jne 0x14006e6af
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x14006e6af
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + ioctlsocket]
mov rax, rsi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400efba0
add rsp, 0x500
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret