Function at 0x1400016f0
Capabilities:
Copy file
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x258]
sub rsp, 0x350
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r12
mov rax, qword [0x140025ac0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x78], 7
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140003060
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
lea r8d, [r12 + 4]
lea rdx, str.Temp
lea rcx, [rsp + 0x38]
call fcn.140003060
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140001f90
cmp rax, 0xffffffffffffffff
je 0x140001985
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r12
mov word [rbp - 0x50], r12w
lea r8d, [r12 + 0x10]
lea rdx, str.C:UsersPublic_
lea rcx, [rbp - 0x50]
call fcn.140003060
nop
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14000186c
cmp rax, 0xffffffffffffffff
jbe 0x140001802
or rcx, 0xffffffffffffffff
jmp 0x140001806
lea rcx, [rax - 1]
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
lea rdi, [rax + rcx*2]
nop dword [rax + rax]
mov ecx, 1
lea rax, [0x14001ff84]
movzx edx, word [rdi]
nop
cmp word [rax], dx
je 0x140001853
add rax, 2
dec rcx
jne 0x140001830
lea rcx, [rsp + 0x60]
call fcn.140002090
cmp rdi, rax
je 0x14000186c
sub rdi, 2
jmp 0x140001820
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
sub rdi, rax
sar rdi, 1
jmp 0x140001870
or rdi, 0xffffffffffffffff
lea r8, [rdi + 1]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.140001e20
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp]
call fcn.140004f70
nop
lea r8, [rbp - 0x28]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140005020
nop
cmp qword [rbp + 0x18], 8
jb 0x1400018b2
mov rcx, qword [rbp]
call fcn.140008760
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
xor r8d, r8d
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, [0x14001ff88]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp qword [rbp - 0x60], 8
jb 0x14000190a
mov rcx, qword [rbp - 0x78]
call fcn.140008760
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
cmp qword [rbp - 0x10], 8
jb 0x14000192b
mov rcx, qword [rbp - 0x28]
call fcn.140008760
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp qword [rbp - 0x38], 8
jb 0x14000194c
mov rcx, qword [rbp - 0x50]
call fcn.140008760
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r12
mov word [rbp - 0x50], r12w
cmp qword [rsp + 0x50], 8
jb 0x14000196f
mov rcx, qword [rsp + 0x38]
call fcn.140008760
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
jmp 0x1400019b1
call fcn.140001460
nop
cmp qword [rsp + 0x50], 8
jb 0x14000199d
mov rcx, qword [rsp + 0x38]
call fcn.140008760
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
cmp qword [rsp + 0x78], 8
jb 0x1400019c3
mov rcx, qword [rsp + 0x60]
call fcn.140008760
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400080f0
lea r11, [rsp + 0x350]
mov rdi, qword [r11 + 0x10]
mov r12, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret