Function at 0x18004ddf0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x18018c280]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
xor r15d, r15d
lea rdx, [rcx + 0x80]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x18004de39
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rcx, [rbp - 0x80]
call fcn.18000acf0
nop
mov r8d, 3
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.180021d60
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rax, [0x18018d290]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18004e0ff
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18004dedb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ded6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e1df
call fcn.1800918d0
test bl, bl
jne 0x18004e19b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
mov dword [rbp + 0x64], eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rbp], Ordinal_106
lea rax, str.cmd.exe__c__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], Ordinal_21
lea rdx, [rdi + 0xa0]
cmp qword [rdi + 0xb8], 7
jbe 0x18004df3f
mov rdx, qword [rdi + 0xa0]
mov rax, qword [rdi + 0xb0]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x70], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x80], rax
lea rdx, [rdi + 0xe0]
cmp qword [rdi + 0xf8], 7
jbe 0x18004df7c
mov rdx, qword [rdi + 0xe0]
mov rax, qword [rdi + 0xf0]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x60], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x30], 2
lea rax, [rbp - 0x80]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.18000d210
nop
lea rax, [rdi + 0xc0]
cmp qword [rax + 0x18], 7
jbe 0x18004dfe9
mov rax, qword [rax]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], Ordinal_21
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18004e15f
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
xchg byte [rdi + 0x119], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 3
lea rdx, [0x18016f598]
lea rcx, [rsp + 0x60]
call fcn.18000acf0
nop
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.180090af0
test eax, eax
jne 0x18004e1e5
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004e1f0
lea rcx, [rdi + 0x60]
lea rax, [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
cmp rcx, rax
je 0x18004e118
lea r9, [rsp + 0x60]
cmp rsi, 7
cmova r9, qword [rsp + 0x60]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x70]
cmp rdx, rax
ja 0x18004e10e
mov r14, rcx
cmp rax, 7
jbe 0x18004e0e2
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.1800c7450
mov word [rdi + r14], r15w
jmp 0x18004e118
mov bl, 1
test ecx, ecx
jne 0x18004e1ca
jmp 0x18004de9b
call fcn.180026ce0
mov rsi, qword [rsp + 0x78]
mov rcx, rbx
call fcn.180090af8
nop
cmp rsi, 7
jbe 0x18004e15f
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e159
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e200
call fcn.1800918d0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x18004e19b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e1c4
call fcn.1800918d0
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1800918b0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800a6d18
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x30]
lea rcx, [0x1801050d0]
call fcn.1800212d0
nop
call fcn.1800a6d18
nop
mov ecx, 5
call fcn.180090aa8
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180090aa8
nop
call fcn.1800a6d18
int3