Function at 0x14000ca80
Capabilities:
Copy file
Get common file path
Get startup folder
Write file to startup folder

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14007c100]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor edi, edi
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14000caf0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.14001e9b0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.14000c8b0
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 7
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000cb63
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
lea rax, [rbp - 0x20]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000cb50
mov r8, rbx
lea rdx, [rbp - 0x20]
jmp 0x14000cb9a
lea rdx, str.Error_al_obtener_la_ruta_de_la_carpeta_de_inicio.
lea rcx, [0x14007dfa0]
call fcn.14001c8f0
mov rcx, rax
call fcn.14001cba0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
xor r8d, r8d
lea rdx, [0x14006e9b4]
lea rcx, [rsp + 0x58]
call fcn.14001e9b0
nop
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
test r14, r14
jne 0x14000cbc0
xor bl, bl
jmp 0x14000ce21
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x14000cf13
lea r13, [rsp + 0x58]
cmp r15, 7
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r12, [r14 + 1]
mov ebx, 7
lea rdi, [rsp + 0x30]
cmp r12, rbx
jbe 0x14000cc9a
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x14000cc61
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14000cc8d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000cf25
mov rcx, rax
call fcn.140035dd8
test rax, rax
je 0x14000cf19
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000cc95
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000cf25
add rcx, rcx
jne 0x14000cc2c
xor edi, edi
jmp 0x14000cc95
call fcn.140035dd8
mov rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.14005d7e0
mov word [rbx + rdi], 0x5c
xor r14d, r14d
mov word [rdi + r12*2], r14w
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rsp + 0x30]
call fcn.140013580
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000cd52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf1f
call fcn.140035dd0
movdqa xmm0, xmmword [0x140071080]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000cdb0
lea rdx, str.Programa_copiado_a_la_carpeta_de_inicio_correctamente.
lea rcx, [0x14007de70]
call fcn.14001d3a0
mov rcx, rax
call fcn.14001d660
mov bl, 1
jmp 0x14000cdcd
lea rdx, str.Error_al_copiar_el_programa_a_la_carpeta_de_inicio.
lea rcx, [0x14007dfa0]
call fcn.14001c8f0
mov rcx, rax
call fcn.14001cba0
xor bl, bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14000ce0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf2b
call fcn.140035dd0
movdqa xmm0, xmmword [0x140071080]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r14w
cmp r15, 7
jbe 0x14000ce5d
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000ce54
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf31
mov rcx, rsi
call fcn.140035dd0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14000ce9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf37
call fcn.140035dd0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x14000ceda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ced5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf0d
call fcn.140035dd0
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140035db0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140045aa8
nop
call fcn.140001c10
nop
call fcn.140045aa8
nop
call fcn.140045aa8
nop
call fcn.140001b70
int3
call fcn.140045aa8
nop
call fcn.140045aa8
nop
call fcn.140045aa8
int3