Function at 0x180047540
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 [0x18017c280]
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 0x180047589
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.18000b080
nop
mov r8d, 3
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.180022500
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rax, [0x18017d270]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18004784f
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18004762b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004792f
call fcn.180085240
test bl, bl
jne 0x1800478eb
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 0x18004768f
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 0x1800476cc
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.18000d570
nop
lea rax, [rdi + 0xc0]
cmp qword [rax + 0x18], 7
jbe 0x180047739
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 0x1800478af
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, [0x180161228]
lea rcx, [rsp + 0x60]
call fcn.18000b080
nop
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.180084944
test eax, eax
jne 0x180047935
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180047940
lea rcx, [rdi + 0x60]
lea rax, [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
cmp rcx, rax
je 0x180047868
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 0x18004785e
mov r14, rcx
cmp rax, 7
jbe 0x180047832
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.1800b8e10
mov word [rdi + r14], r15w
jmp 0x180047868
mov bl, 1
test ecx, ecx
jne 0x18004791a
jmp 0x1800475eb
call fcn.180028b10
mov rsi, qword [rsp + 0x78]
mov rcx, rbx
call fcn.18008494c
nop
cmp rsi, 7
jbe 0x1800478af
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800478a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047950
call fcn.180085240
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x1800478eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800478e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047914
call fcn.180085240
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180085220
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.18009a08c
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x30]
lea rcx, [0x1800f71e8]
call fcn.180021a70
nop
call fcn.18009a08c
nop
mov ecx, 5
call fcn.1800848fc
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1800848fc
nop
call fcn.18009a08c
int3