Function at 0x140086310
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140321090]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x70], 0x68
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x18], 0x10
jb 0x140086383
mov rsi, qword [rcx]
mov rdi, rsi
add rsi, qword [rcx + 0x10]
jmp 0x14008638d
mov rsi, qword [rcx + 0x10]
add rsi, rcx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x68], rax
cmp rdi, rsi
jne 0x1400863b3
mov qword [rsp + 0x78], r14
mov ebx, 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x68], r14w
jmp 0x1400864dd
mov rdx, r14
mov qword [rsp + 0x78], rdx
mov ebx, 7
mov qword [rbp - 0x80], rbx
mov rcx, rsi
sub rcx, rdi
movabs r8, 0x7ffffffffffffffe
cmp rcx, r8
ja 0x14008660f
cmp rcx, 8
jb 0x140086490
mov rbx, rcx
or rbx, 7
cmp rbx, r8
jbe 0x1400863f8
mov rbx, r8
jmp 0x140086404
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140086609
add rcx, rcx
cmp rcx, 0x1000
jb 0x140086469
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140086609
mov rcx, rax
call fcn.1400efb80
mov rcx, rax
test rax, rax
je 0x1400865d4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x78]
jmp 0x14008647d
test rcx, rcx
je 0x14008647a
call fcn.1400efb80
mov rdx, qword [rsp + 0x78]
jmp 0x14008647d
mov rax, r14
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rbx
nop word [rax + rax]
lea rcx, [rsp + 0x68]
cmp rbx, 8
cmovae rcx, rax
movsx eax, byte [rdi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x78]
inc rdx
mov qword [rsp + 0x78], rdx
inc rdi
cmp rdi, rsi
je 0x1400864c4
mov rbx, qword [rbp - 0x80]
mov rax, qword [rsp + 0x68]
jmp 0x140086490
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov word [rax + rdx*2], r14w
mov rbx, qword [rbp - 0x80]
lea rcx, [rsp + 0x68]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov rdi, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14008655c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140086592
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CreateProcess_failed_with_error_code
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140012e80
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140013050]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400865e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400865db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400865db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400efe14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400efb60
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140001680
int3
call fcn.140001720
int3