Function at 0x140003410
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov r13, rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
lea r14, [0x140015070]
mov rbx, r14
cmp qword [0x140015088], 0x10
cmovae rbx, qword [0x140015070]
lea rsi, [rax - 1]
mov rdi, qword [0x140015080]
test rdi, rdi
je 0x14000350d
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xd8], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0xdd]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xdc], 1
lea rax, [rdi - 1]
mov rcx, rsi
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x80], 0
jne 0x140003508
cmp rcx, rbx
je 0x14000350d
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x80], 0
je 0x1400034f3
sub rcx, rbx
jmp 0x140003510
mov rcx, rsi
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
cmp rdi, rcx
jb 0x1400038a0
sub rdi, rcx
cmp rdi, rsi
cmovb rsi, rdi
mov rdx, r14
cmp qword [0x140015088], 0x10
cmovae rdx, qword [0x140015070]
add rdx, rcx
mov r8, rsi
lea rcx, [rbp - 0x18]
call fcn.140004d30
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [0x140015080]
sub rax, rcx
cmp rax, 1
jb 0x14000389a
mov r9, r14
cmp qword [0x140015088], 0x10
cmovae r9, qword [0x140015070]
mov qword [rsp + 0x30], 1
lea rax, [0x14000f8ec]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x58]
call fcn.1400055f0
nop
lea rdx, [0x140015090]
cmp qword [0x1400150a8], 0x10
cmovae rdx, qword [0x140015090]
mov r8, qword [0x1400150a0]
lea rcx, [rbp - 0x58]
call fcn.1400041d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140003643
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000363e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000363e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d128
movdqa xmm0, xmmword [0x1400101d0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], dil
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
cmp qword [0x140015088], 0x10
cmovae r14, qword [0x140015070]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400037d9
lea rdx, str.CreateProcess_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400011b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400036f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400101d0]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x50], dil
jmp 0x140003763
mov qword [rbp + 0x1c0], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp + 0x1c0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, eax
mov rdx, qword [rbp + 0x1c0]
lea rcx, [rbp - 0x38]
call fcn.140004d30
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rsp + 0x60], xmm1
mov rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovb rdx, rax
mov r8, qword [rsp + 0x60]
mov rcx, rbx
call fcn.140001520
lea rdx, [0x140001380]
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]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400037d5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d128
xor bl, bl
jmp 0x1400037f1
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp + 0x1b0]
mov qword [rcx], rax
mov rax, qword [rbp - 0x68]
mov qword [r13], rax
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140003830
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000382b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000382b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d128
movdqa xmm0, xmmword [0x1400101d0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140003880
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000387b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000387b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d128
movzx eax, bl
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x280
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.140001880
nop
call fcn.1400042d0
int3