Function at 0x140057a40
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm6
mov rdi, r9
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], 0
test r8b, r8b
je 0x140057aaf
mov dword [rsp + 0x16c], 1
mov dword [rsp + 0x130], 0x68
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], 0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x60]
mov edx, 0x1f4
call fcn.1400725b0
test rbx, rbx
je 0x140057cc3
mov byte [rsp + 0x110], 2
mov dword [rsp + 0x112], 0x22
lea rcx, [rsp + 0x110]
mov rdx, rsi
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xe0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401fe140]
lea rcx, [rsp + 0xd0]
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x100], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xf0], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rcx, [rsp + 0xf0]
mov rdx, rbx
call fcn.140072e90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rcx, [rsp + 0x80]
xor edx, edx
call fcn.140072930
movzx r15d, byte [rsp + 0x80]
movzx r14d, byte [rsp + 0x81]
movzx ebp, word [rsp + 0x82]
mov rax, qword [rsp + 0x84]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0xa8], eax
mov rbx, qword [rsp + 0x90]
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x90], 0
test byte [rsp + 0x60], 1
jne 0x140057c4c
mov byte [rsp + 0x60], r15b
mov byte [rsp + 0x61], r14b
mov word [rsp + 0x62], bp
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x64], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x6c], eax
mov qword [rsp + 0x70], rbx
test byte [rsp + 0xf0], 1
je 0x140057c9e
jmp 0x140057e42
mov rcx, qword [rsp + 0x70]
call fcn.14006fbd0
test byte [rsp + 0x80], 1
mov byte [rsp + 0x60], r15b
mov byte [rsp + 0x61], r14b
mov word [rsp + 0x62], bp
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x64], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x6c], eax
mov qword [rsp + 0x70], rbx
jne 0x140057e27
test byte [rsp + 0xf0], 1
jne 0x140057e42
test byte [rsp + 0xd0], 1
jne 0x140057e5d
test byte [rsp + 0x110], 1
je 0x140057cc3
mov rcx, qword [rsp + 0x120]
call fcn.14006fbd0
lea rcx, [rsp + 0x128]
call qword [sym.imp.KERNEL32.DLL_Wow64DisableWow64FsRedirection]
mov rcx, qword [rsp + 0x220]
test byte [rsp + 0x60], 1
je 0x140057d39
mov r8, qword [rsp + 0x70]
test rcx, rcx
je 0x140057d43
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x4000010
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x140057d8d
lea r8, [rsp + 0x62]
test rcx, rcx
jne 0x140057cea
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000010
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, r8
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x140057de4
lea rcx, [rsp + 0x128]
call qword [sym.imp.KERNEL32.DLL_Wow64RevertWow64FsRedirection]
cmp byte [rsp + 0x210], 0
je 0x140057dbc
mov rcx, qword [rsp + 0xb0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0xb0]
test rax, rax
je 0x140057def
mov qword [rax], rcx
jmp 0x140057df5
xor esi, esi
test byte [rsp + 0x60], 1
jne 0x140057e03
jmp 0x140057e0d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [rsp + 0xc0]
test byte [rsp + 0x60], 1
je 0x140057e0d
mov rcx, qword [rsp + 0x70]
call fcn.14006fbd0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x90]
call fcn.14006fbd0
test byte [rsp + 0xf0], 1
je 0x140057c9e
mov rcx, qword [rsp + 0x100]
call fcn.14006fbd0
test byte [rsp + 0xd0], 1
je 0x140057cac
mov rcx, qword [rsp + 0xe0]
call fcn.14006fbd0
test byte [rsp + 0x110], 1
jne 0x140057cb6
jmp 0x140057cc3