Function at 0x1400292a0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x140041018]
xor rax, rsp
mov qword [rbp + 0x60], rax
movzx r13d, r8b
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov r15, qword [rbp + 0xd0]
mov r12, qword [rbp + 0xd8]
xor edi, edi
mov dword [rsp + 0x50], edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14002930a
mov rbx, qword [rcx]
call fcn.14002a540
mov rcx, rax
mov rdx, rbx
call fcn.14002a3f0
test al, al
jne 0x1400293bd
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14002935d
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140029358
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400293af
mov rcx, r8
call fcn.14001f8d4
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 7
mov word [r14], di
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x1400293a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400293a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400293b6
mov rcx, r8
call fcn.14001f8d4
xor al, al
jmp 0x140029a99
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
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rbp - 0x80], 0x68
mov dword [rbp - 0x44], 0x80
cmp qword [rsi + 0x10], rax
je 0x14002955e
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140029402
mov rax, qword [rsi]
cmp word [rax], 0x20
je 0x14002955e
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], di
mov dword [rsp + 0x50], 1
lea rcx, [0x140032da4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rdx, qword [rsi + 0x10]
add rdx, rax
lea rcx, [rbp]
call fcn.1400030c0
lea rcx, [0x140032da4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov rcx, r8
sub rcx, r9
cmp rax, rcx
ja 0x140029494
lea rdi, [r9 + rax]
mov qword [rbp + 0x10], rdi
lea rbx, [rbp]
cmp r8, 8
cmovae rbx, qword [rbp]
lea r8, [rax + rax]
lea rcx, [rbx + r9*2]
lea rdx, [0x140032da4]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x1400294ac
mov qword [rsp + 0x20], rax
lea r9, [0x140032da4]
mov rdx, rax
lea rcx, [rbp]
call fcn.140002670
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400294b9
mov r9, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400294fe
lea rdi, [rcx + rdx]
mov qword [rbp + 0x10], rdi
lea rbx, [rbp]
cmp r8, 8
cmovae rbx, qword [rbp]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r9
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x14002950c
mov qword [rsp + 0x20], rdx
lea rcx, [rbp]
call fcn.140002670
lea rdx, [rbp]
mov rcx, rsi
call fcn.140001e34
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14002955c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f8d4
xor edi, edi
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], di
mov dword [rsp + 0x50], 2
lea rcx, [0x14003207c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rdx, qword [r14 + 0x10]
add rdx, rax
lea rcx, [rbp]
call fcn.1400030c0
lea rcx, [0x14003207c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rax, rcx
ja 0x1400295e6
lea rdi, [rdx + rax]
mov qword [rbp + 0x10], rdi
lea rbx, [rbp]
cmp r8, 8
cmovae rbx, qword [rbp]
lea r8, [rax + rax]
lea rcx, [rbx + rdx*2]
lea rdx, [0x14003207c]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x1400295fe
mov qword [rsp + 0x20], rax
lea r9, [0x14003207c]
mov rdx, rax
lea rcx, [rbp]
call fcn.140002670
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x14002960b
mov r9, qword [r14]
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140029650
lea rdi, [rcx + rdx]
mov qword [rbp + 0x10], rdi
lea rbx, [rbp]
cmp r8, 8
cmovae rbx, qword [rbp]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r9
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x14002965e
mov qword [rsp + 0x20], rdx
lea rcx, [rbp]
call fcn.140002670
lea rcx, [0x14003207c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov rcx, r8
sub rcx, r9
cmp rax, rcx
ja 0x1400296b4
lea rdi, [r9 + rax]
mov qword [rbp + 0x10], rdi
lea rbx, [rbp]
cmp r8, 8
cmovae rbx, qword [rbp]
lea r8, [rax + rax]
lea rcx, [rbx + r9*2]
lea rdx, [0x14003207c]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor eax, eax
mov word [rbx + rdi*2], ax
lea rbx, [rbp]
jmp 0x1400296cf
mov qword [rsp + 0x20], rax
lea r9, [0x14003207c]
mov rdx, rax
lea rcx, [rbp]
call fcn.140002670
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rbp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14002973e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029739
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f8d4
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], di
mov r8, rsi
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140003c40
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400298ec
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400297ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400297ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400297ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f8d4
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], di
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140029843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002983e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002983e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f8d4
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], di
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14002988f
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14002988a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400298e5
mov rcx, r8
call fcn.14001f8d4
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 7
mov word [r14], di
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x1400293a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400293a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400293a0
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
test r15, r15
je 0x1400298f8
mov eax, dword [rsp + 0x68]
mov dword [r15], eax
mov rcx, qword [rsp + 0x58]
test r13b, r13b
je 0x140029938
test rcx, rcx
je 0x140029938
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r12, r12
je 0x140029925
mov rdx, r12
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140029955
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140029965
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], rdi
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400299a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400299a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400299a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f8d4
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], di
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1400299fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400299f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400299f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f8d4
movdqa xmm0, xmmword [0x140034400]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], di
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140029a4c
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140029a47
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029acf
mov rcx, r8
call fcn.14001f8d4
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 7
mov word [r14], di
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140029a97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140029a92
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029ad6
mov rcx, r8
call fcn.14001f8d4
mov al, 1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14001f5c0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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]
int3