Function at 0x1400018a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rdx
movsxd rbx, ecx
xor r15d, r15d
cmp ebx, 1
jg 0x1400018ee
mov cl, 1
call fcn.1400011c0
jmp 0x140002246
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x50], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov dword [rsp + 0x5c], eax
cmp eax, 0xffffffff
jne 0x140001947
mov cl, 2
call fcn.1400011c0
jmp 0x140002246
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov dword [rsp + 0x58], eax
cmp eax, 0xffffffff
jne 0x140001991
mov cl, 3
call fcn.1400011c0
jmp 0x140002246
mov byte [rbp - 0x17], r15b
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
lea rax, [rbp - 0x17]
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x5c]
mov qword [rbp + 0x78], rax
mov byte [rbp - 0x16], 0
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp - 0x16]
mov qword [rbp + 0x80], rax
lea rax, [rsp + 0x58]
mov qword [rbp + 0x88], rax
mov dword [rbp - 0x48], 0x18
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x38], 1
mov qword [rsp + 0x20], r15
mov r9d, 1
lea r8, [rbp - 0x48]
mov edx, 3
mov ecx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x140001a19
mov cl, 4
call fcn.1400011c0
mov edi, eax
jmp 0x1400021ff
mov dword [rbp - 0x78], 0x4000400
mov edx, dword [rbp - 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
jne 0x140001a3e
mov cl, 5
call fcn.1400011c0
mov edi, eax
jmp 0x1400021ff
mov byte [rbp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
lea rax, [rbp - 0x18]
mov qword [rbp + 0x90], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x98], rax
mov rdx, qword [rsp + 0x60]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
jne 0x140001a85
mov cl, 6
call fcn.1400011c0
mov edi, eax
jmp 0x1400021f3
mov byte [rbp - 0x15], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
lea rax, [rbp - 0x15]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
cmp eax, 0xffffffff
jne 0x140001ae8
mov cl, 7
call fcn.1400011c0
mov edi, eax
jmp 0x140001dc2
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
lea rax, [rbp - 0x70]
mov qword [rbp - 0x78], rax
lea rsi, [rdi + rbx*8]
lea r14, [rdi + 8]
mov rdi, r14
cmp r14, rsi
je 0x140001bfb
nop dword [rax]
mov r9, rdi
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x68]
call fcn.140002640
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x140001bad
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140001b7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d02
call fcn.1400034bc
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001bee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001be9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d02
call fcn.1400034bc
add rdi, 8
cmp rdi, rsi
jne 0x140001b20
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x20], xmm1
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rdx, qword [r14]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140001c40
lea rcx, [rsp + 0x68]
call fcn.140002ac0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0xa0], 0x68
mov dword [rbp + 0xdc], 0x80
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140001d09
mov rax, 0xffffffffffffffff
jmp 0x140001d17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001d65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034bc
mov rax, qword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
jne 0x140001dd6
mov cl, 8
call fcn.1400011c0
mov edi, eax
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140001db0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e0d
call fcn.1400034bc
movdqa xmm0, xmmword [0x1400054a0]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r15w
mov rdx, qword [rbp - 0x50]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
jmp 0x1400021f3
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140001e19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034bc
movdqa xmm0, xmmword [0x1400054a0]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r15w
mov rdx, qword [rbp - 0x50]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
lea rax, [rbp - 0x18]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x40], rax
movups xmmword [rbp - 0x10], xmm0
mov rbx, r15
mov qword [rbp], rbx
mov r14d, 7
mov qword [rbp + 8], r14
mov word [rbp - 0x10], r15w
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rbp - 0x10]
cmp eax, 0x102
jne 0x14000203f
nop dword [rax + rax]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400012e0
nop
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400015d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001ef1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020a1
call fcn.1400034bc
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
lea rcx, [rbp - 0x10]
cmp r14, 7
cmova rcx, rsi
lea r8, [rbp + 0x30]
mov r9, qword [rbp + 0x30]
mov r10, qword [rbp + 0x48]
cmp r10, 7
cmova r8, r9
mov r11, qword [rbp + 0x40]
cmp r11, rbx
jne 0x140001f59
mov rdx, r11
test r11, r11
je 0x140001fec
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140001f59
add rcx, 2
sub rdx, 1
jne 0x140001f40
jmp 0x140001fec
lea rdx, [rbp + 0x30]
cmp r10, 7
cmova rdx, r9
mov r8, r11
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003280
lea rdx, [0x140002600]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdi, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova r9, qword [rbp + 0x30]
cmp rdi, r14
ja 0x140001fc1
lea rbx, [rbp - 0x10]
cmp r14, 7
cmova rbx, rsi
mov qword [rbp], rdi
lea r8, [rdi + rdi]
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r15w
jmp 0x140001fcd
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140002d80
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14, qword [rbp + 8]
mov rbx, qword [rbp]
mov rsi, qword [rbp - 0x10]
mov r10, qword [rbp + 0x48]
mov r9, qword [rbp + 0x30]
cmp r10, 7
jbe 0x140002027
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000201f
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020a8
mov rcx, r9
call fcn.1400034bc
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140001e90
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400012e0
nop
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400015d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400020b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400034bc
movdqa xmm0, xmmword [0x1400054a0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
lea rcx, [rbp - 0x10]
cmp r14, 7
cmova rcx, rsi
lea r8, [rbp + 0x50]
mov r9, qword [rbp + 0x50]
mov r10, qword [rbp + 0x68]
cmp r10, 7
cmova r8, r9
mov r11, qword [rbp + 0x60]
cmp r11, rbx
jne 0x140002116
mov rdx, r11
test r11, r11
je 0x140002149
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140002116
add rcx, 2
sub rdx, 1
jne 0x140002100
jmp 0x140002149
lea rdx, [rbp + 0x50]
cmp r10, 7
cmova rdx, r9
mov r8, r11
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003280
lea rdx, [0x140002600]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r10, qword [rbp + 0x68]
mov r9, qword [rbp + 0x50]
cmp r10, 7
jbe 0x140002187
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000217f
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000217f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400034bc
lea rdx, [rbp - 0x14]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400021a5
mov cl, 9
call fcn.1400011c0
mov edi, eax
jmp 0x1400021a8
mov edi, dword [rbp - 0x14]
cmp r14, 7
jbe 0x1400021e7
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400021de
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400034bc
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ebx, dword [rsp + 0x58]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov edx, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
nop
mov ebx, dword [rsp + 0x5c]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov edx, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov eax, edi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140003460
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret