Function at 0x14005aca0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.140173fe4
mov rdx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rdx, rdx
jne 0x14005b10d
mov r15, qword [rsi]
mov rcx, rdi
call fcn.140173fe4
mov rdi, rax
xor r12d, r12d
cmp qword [r15 + 0xa0], 0
setne r12b
shl r12d, 0x13
or r12d, 0x40c
cmp qword [rbx + 0x30], 0
je 0x14005ad3f
call fcn.1401128d0
mov rax, qword [0x14029b590]
cmp dword [rax], 5
lea eax, [r12 + 0x1000000]
cmovge eax, r12d
mov r12d, eax
mov r13, qword [rsp + 0x1d8]
mov rax, qword [rsi]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea r8, [rsp + 0x80]
mov qword [r8 + 0x10], rdx
xorps xmm6, xmm6
movaps xmmword [r8], xmm6
add r15, 0x38
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r15
movups xmmword [rsp + 0x38], xmm6
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14005b121
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm6
mov qword [rcx + 0x10], 0
lea rdx, [rsp + 0x80]
call fcn.1400468e0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14005addc
mov rax, qword [rsi]
mov rdx, qword [rax + 0xf8]
cmp rdx, qword [rax + 0x100]
je 0x14005b135
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14005af62
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x130]
mov qword [r15 + 0x10], rbp
movaps xmm6, xmmword [0x140261350]
movaps xmmword [r15], xmm6
mov rcx, r15
xor r8d, r8d
call fcn.14005b4b0
cmp byte [r15], 0
je 0x14005aee3
mov qword [rsp + 0x120], rbp
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
lea r15, [rsp + 0x138]
lea r12, [rsp + 0xa0]
mov qword [r12 + 0x20], rbp
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
mov rdx, qword [r15]
mov rcx, r12
mov r8d, 0x1f
call fcn.140157560
cmp byte [r12], 0
je 0x14005aed1
mov r12, qword [rsp + 0xa8]
mov rdx, qword [r12]
test rdx, rdx
jne 0x14005b169
mov byte [rsp + 0x100], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x108], xmm0
mov qword [rsp + 0x118], 0
test r12, r12
je 0x14005aec3
mov rcx, r12
call fcn.140172a44
cmp byte [rsp + 0x100], 0
jne 0x14005b17b
cmp byte [rsp + 0x130], 0
je 0x14005aee3
mov rcx, r15
call fcn.1400487a0
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov ebp, eax
test eax, eax
je 0x14005b222
mov rax, qword [rbx + 0x20]
inc rax
cmp rax, 2
jb 0x14005af48
call fcn.1400f24d0
mov r14, qword [rbx + 0x20]
cmp qword [0x1402a1a18], 0
je 0x14005b0a4
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401d7990.0]
mov qword [rbx + 0x20], 0
mov rax, qword [rsp + 0x58]
inc rax
cmp rax, 2
jae 0x14005b23e
test ebp, ebp
je 0x14005b252
mov r14, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x60]
mov rdx, r14
call fcn.140044280
test al, al
je 0x14005b0ec
lea rdx, [r14 + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140044280
test al, al
je 0x14005b0ec
mov eax, dword [rsp + 0x70]
mov dword [r14 + 0x10], eax
mov eax, dword [rsp + 0x74]
mov dword [r14 + 0x14], eax
mov rcx, qword [rsp + 0x60]
call fcn.14005b370
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14005b25c
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x14005b27d
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14005afe9
call fcn.1400f24d0
mov qword [rsp + 0xa0], r14
mov r14, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14005b00e
call fcn.1400f24d0
lea rdx, [rsp + 0xa0]
mov qword [rdx + 8], r14
mov rax, qword [rsp + 0x70]
mov qword [rdx + 0x10], rax
mov qword [rsp + 0x70], 0
mov rcx, rbx
call fcn.1400468e0
xor ebx, ebx
lea rcx, [rsp + 0x60]
call fcn.14004faa0
test rdi, rdi
je 0x14005b057
lea rcx, fcn.1400fe7c0
mov rdx, rdi
xor r8d, r8d
call fcn.1400fd880
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
je 0x14005b076
mov rcx, rdi
call fcn.14005b2a0
mov rcx, rdi
call fcn.140172a44
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1401756e0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005b294
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14005b0e6
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x14005af2a
xor ecx, ecx
mov dl, 1
jmp 0x14005b0dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x14005b036
lea rcx, fcn.1400fe7c0
xor r8d, r8d
call fcn.1400fd880
jmp 0x14005acf2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov ebx, 0x12
jmp 0x14005b040
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x14005addc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x14
jmp 0x14005b036
lea rcx, [rsp + 0x100]
call fcn.140077dd0
jmp 0x14005aeb6
lea r8, [rbx + 0x58]
lea r12, [rsp + 0xa0]
movaps xmmword [r12 + 0x50], xmm6
movaps xmmword [r12 + 0x40], xmm6
movaps xmmword [r12 + 0x30], xmm6
movaps xmmword [r12 + 0x20], xmm6
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea rdx, [rsp + 0x108]
mov rcx, r12
call fcn.14021a0c0
lea r9, [rsp + 0x58]
mov rcx, r14
xor edx, edx
mov r8, r12
call fcn.140205c10
mov ebp, eax
mov rcx, r12
call fcn.14021a260
lea rax, [rsp + 0x108]
cmp byte [rax - 8], 0
je 0x14005b1fe
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x14005b1fe
mov qword [rsp + 0x110], rcx
call fcn.140172a44
cmp byte [rsp + 0x130], 0
je 0x14005b210
mov rcx, r15
call fcn.1400487a0
test ebp, ebp
jne 0x14005aee3
mov r14, qword [rsp + 0x58]
jmp 0x14005aee3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14005af48
call fcn.1400f24d0
mov rcx, qword [rsp + 0x58]
call fcn.1401571e0
jmp 0x14005af5a
mov ebx, 0x15
jmp 0x14005b036
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x14005b036
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x14005b036
xor ecx, ecx
jmp 0x14005b0da