Function at 0x180045880
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 [0x18018a280]
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 0x1800458c9
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.18000acd0
nop
mov r8d, 3
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.180021d40
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rax, [0x18018b270]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180045b8f
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18004596b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045c6f
call fcn.18008ed30
test bl, bl
jne 0x180045c2b
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 0x1800459cf
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 0x180045a0c
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.18000d1f0
nop
lea rax, [rdi + 0xc0]
cmp qword [rax + 0x18], 7
jbe 0x180045a79
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 0x180045bef
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, [0x18016d058]
lea rcx, [rsp + 0x60]
call fcn.18000acd0
nop
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.18008df50
test eax, eax
jne 0x180045c75
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180045c80
lea rcx, [rdi + 0x60]
lea rax, [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
cmp rcx, rax
je 0x180045ba8
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 0x180045b9e
mov r14, rcx
cmp rax, 7
jbe 0x180045b72
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.1800c48b0
mov word [rdi + r14], r15w
jmp 0x180045ba8
mov bl, 1
test ecx, ecx
jne 0x180045c5a
jmp 0x18004592b
call fcn.180026cc0
mov rsi, qword [rsp + 0x78]
mov rcx, rbx
call fcn.18008df58
nop
cmp rsi, 7
jbe 0x180045bef
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045be9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045c90
call fcn.18008ed30
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x180045c2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045c54
call fcn.18008ed30
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18008ed10
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.1800a4178
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x30]
lea rcx, [0x1801030d0]
call fcn.1800212b0
nop
call fcn.1800a4178
nop
mov ecx, 5
call fcn.18008df08
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18008df08
nop
call fcn.1800a4178
int3