Function at 0x1400cf4b0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, qword [rbp + 0x90]
lea rcx, [0x140126c20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.Wow64DisableWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r13d, r13d
test rax, rax
je 0x1400cf521
lea rcx, [rbp - 0x70]
call rax
mov r11, qword [rbp - 0x70]
jmp 0x1400cf524
mov r11, r13
lea rax, vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x394c22cd___0A__tr1_std__X_tr1_std__.0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r11
lea rax, [rbp + 0x30]
mov qword [rbp + 0x48], rax
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea r14, str.defrag.exe
test r14, 0xffffffffffff0000
jne 0x1400cf590
movzx edi, r14w
mov ecx, edi
call fcn.14001df50
test rax, rax
je 0x1400cf600
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001e130
mov rbx, qword [rsp + 0x58]
jmp 0x1400cf600
mov esi, dword [rbx - 0x10]
mov rdi, r14
sub rdi, rbx
sar rdi, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0xa
or eax, ecx
jge 0x1400cf5c2
mov edx, 0xa
lea rcx, [rsp + 0x58]
call fcn.14001e8d0
mov rbx, qword [rsp + 0x58]
movsxd rdx, dword [rbx - 0xc]
mov r9d, 0x14
mov rcx, rbx
add rdx, rdx
cmp rdi, rsi
ja 0x1400cf5e2
lea r8, [rbx + rdi*2]
call fcn.14005e528
jmp 0x1400cf5ea
mov r8, r14
call fcn.14005e228
cmp dword [rbx - 0xc], 0xa
jl 0x1400cfa52
mov dword [rbx - 0x10], 0xa
mov word [rbx + 0x14], r13w
lea rcx, [rsp + 0x60]
call fcn.1400018b0
nop
mov rax, qword [rsp + 0x60]
mov edx, dword [rax - 0x10]
lea ecx, [rdx - 1]
test ecx, ecx
js 0x1400cfa47
cmp ecx, edx
jg 0x1400cfa47
movsxd rcx, ecx
cmp word [rax + rcx*2], 0x5c
je 0x1400cf647
mov r8d, 1
lea rdx, [0x140119fac]
lea rcx, [rsp + 0x60]
call fcn.14001ddb0
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14001adb0
nop
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400cf703
cmp rax, 0xffffffffffffffff
je 0x1400cf703
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf6c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf6e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1400cf6fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x1400cfa5d
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rcx, [0x14011a064]
or edi, 0xffffffff
test rcx, 0xffffffffffff0000
jne 0x1400cf751
movzx esi, cx
mov ecx, esi
call fcn.14001df50
test rax, rax
je 0x1400cf7b1
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001e130
jmp 0x1400cf7b1
lea rdx, [rax - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400cf7b1
cmp dword [rdx + 0x10], 0
jge 0x1400cf784
cmp dword [rax - 0xc], 0
jge 0x1400cf775
mov ecx, 0x80070057
call fcn.14001e940
int3
mov dword [rax - 0x10], r13d
mov rax, qword [rsp + 0x50]
mov word [rax], r13w
jmp 0x1400cf7b1
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf79a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0x58]
lea rdx, [rbp - 0x78]
mov rcx, qword [r12]
call fcn.140001bd0
nop
mov r9, qword [rax]
mov r8, rbx
lea rdx, str._s__s__O
lea rcx, [rsp + 0x50]
call fcn.14001e360
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf7f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov esi, dword [rbx - 0x10]
mov dword [rbp - 0x50], esi
cmp dword [rbx - 8], 1
jle 0x1400cf817
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.14001e7c0
mov rbx, qword [rsp + 0x50]
mov dword [rbp - 0x40], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140062cd0
mov dword [rbp - 4], r13d
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400cf981
or edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp esi, 0xffffffff
jne 0x1400cf8c2
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx - 0xc]
call fcn.14005e508
mov rsi, rax
test esi, esi
js 0x1400cf976
mov rcx, qword [rsp + 0x50]
cmp esi, dword [rcx - 0xc]
jg 0x1400cf976
mov dword [rcx - 0x10], esi
movsxd rcx, esi
mov rax, qword [rsp + 0x50]
mov word [rax + rcx*2], r13w
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf908
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf928
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf948
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1400cf966
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x30]
call fcn.140036a80
mov al, 1
jmp 0x1400cfa68
mov ecx, 0x80070057
call fcn.14001e940
int3
cmp esi, 0xffffffff
jne 0x1400cf996
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx - 0xc]
call fcn.14005e508
mov esi, eax
test esi, esi
js 0x1400cfa3c
mov rax, qword [rsp + 0x50]
cmp esi, dword [rax - 0xc]
jg 0x1400cfa3c
mov dword [rax - 0x10], esi
movsxd rcx, esi
mov rax, qword [rsp + 0x50]
mov word [rax + rcx*2], r13w
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf9dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf9fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cfa1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x1400cfa3a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x1400cfa5d
mov ecx, 0x80070057
call fcn.14001e940
nop
mov ecx, 0x80070057
call fcn.14001e940
nop
mov ecx, 0x80070057
call fcn.14001e940
nop
lea rcx, [rbp + 0x30]
call fcn.140036a80
xor al, al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14005e0b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret