joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140026010]
xor rax, rsp
mov qword [rbp + 0x190], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi - 1]
lea r8, str.cs2.exe
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
test eax, eax
jle 0x14001a597
mov r8, qword [rsp + 0x40]
cmp rbx, r8
ja 0x14001a50f
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov word [rax + rbx*2], si
jmp 0x14001a563
mov rdx, rbx
sub rdx, r8
mov rdi, qword [rsp + 0x48]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14001a556
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x30]
cmp rdi, 8
cmovae r9, qword [rsp + 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14001a54b
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], si
jmp 0x14001a563
mov r9, rdx
lea rcx, [rsp + 0x30]
call fcn.14001aa80
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, str.cs2.exe
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001a61b
lea rdi, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x7c]
sub rdi, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x14001a603
add rax, 2
test ecx, ecx
jne 0x14001a5f0
test edx, edx
je 0x14001a617
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14001a5cd
mov esi, dword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14001a66a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a665
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a665
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001af94
mov eax, esi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14001ace0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14001a6a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140026010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor esi, esi
mov edi, edx
mov ebx, esi
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x20], edi
jne 0x14001a724
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14001a724
cmp byte [rsp + 0x30], sil
jne 0x14001a750
test rbx, rbx
jne 0x14001a6d0
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001ace0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x14001a72b

Function at 0x14001b714
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b75e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001b75e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001b75e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001b75e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001b75e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001b760
xor al, al
add rsp, 0x28
ret
Function at 0x604390
Capabilities:
Terminate process

Disassembly:
call [rdi - 0x18]
invalid
cld
pop r11
jmp 0x60439d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x6043ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x604395
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x6043c5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x6043b2
sub eax, 3
jb 0x6043df
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x604416
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x604406
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x604404
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x6043f3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00604352
jmp 0x60439d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x202000]
mov eax, dword [rdi]
or eax, eax
je 0x604472
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x204000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x604422
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x60446c
mov qword [rbx], rax
add rbx, 8
jmp 0x604442
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.006044f5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.006044f5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x6044e5
sub rsp, 0xffffffffffffff80
jmp 0x55da17
Function at 0x140017a50
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
push rdi
sub rsp, 0xc88
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0xc60], rax
mov rdi, r8
mov rsi, rcx
cmp edx, dword [rcx + 0x10]
jg 0x140017c31
cmp byte [rcx + 9], 0
jne 0x140017a9a
cmp byte [rcx + 0xa], 0
jne 0x140017a9a
cmp byte [rcx + 8], 0
je 0x140017c31
mov qword [rsp + 0xc80], rbx
xor ecx, ecx
mov qword [rsp + 0xc78], rbp
lea rbp, [rsp + 0xcb8]
call fcn.14013a110
lea rcx, [rsi + 0x328]
cmp rax, qword [rcx]
je 0x140017ad8
mov qword [rcx], rax
call fcn.14014b728
mov rdx, rax
mov rcx, rsi
call fcn.1400769f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140019de0
mov qword [rsp + 0x28], rbp
lea rdx, [rsp + 0x50]
xor ebp, ebp
mov r9, rdi
mov r8d, 0x400
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
or rcx, 1
call fcn.140143110
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x140017b8f
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x860]
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov r8d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140017b62
mov r8d, ebx
lea rdx, str.error_code_0x_08X
lea rcx, [rsp + 0x860]
call fcn.14002c330
lea r8, [0x1401ceea4]
mov edx, 0x801
lea rcx, [rsp + 0x50]
call fcn.14013a050
lea r8, [rsp + 0x860]
mov edx, 0x801
lea rcx, [rsp + 0x50]
call fcn.14013a050
cmp byte [rsi + 9], bpl
je 0x140017ba0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, 0xffffffffffffffff
cmp byte [rsi + 0xa], bpl
je 0x140017be4
lea rax, [rsp + 0x50]
mov rdi, rbx
inc rdi
cmp byte [rax + rdi], bpl
jne 0x140017bb5
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
cmp byte [rsi + 8], bpl
je 0x140017c21
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140017c21
lea rax, [rsp + 0x50]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], bpl
jne 0x140017c00
mov r8, rbx
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0xc80]
mov rbp, qword [rsp + 0xc78]
mov rcx, qword [rsp + 0xc60]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0xc88
pop rdi
pop rsi
ret
Function at 0x140017c50
Capabilities:
Check os version
Create process on windows

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x90], __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x94], 6
jb 0x140017d00
mov r8d, 0x104
lea rdx, [rsp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x20], WSACleanup
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x38], rax
lea rax, str._softwarecad
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x258
ret
Function at 0x14001a9a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rax, vtable.DeskDupEngine.0
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x70], rsi
mov qword [rcx + 0x78], rsi
mov qword [rcx + 0x80], rsi
mov qword [rcx + 0x88], rsi
mov byte [rcx + 0x2d], 1
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
mov qword [rcx + 0x60], rsi
mov qword [rcx + 0x68], rsi
lea edi, [rsi + 4]
mov r8w, 3
mov dx, 1
mov cx, 5
call fcn.140026d50
mov ecx, 5
test al, al
cmovne edi, ecx
xor r8d, r8d
xor edx, edx
mov cx, 6
call fcn.140026d50
mov ecx, 6
test al, al
cmovne edi, ecx
xor r8d, r8d
lea edx, [rsi + 2]
call fcn.140026d50
test al, al
je 0x14001ab88
mov dword [rbx + 8], 0xa
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14001aab5
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.140133248
test rax, rax
je 0x14001ab99
mov byte [rax], sil
lea r8, str.ddengine64.dll
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14013a050
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x14001ab82
lea rdx, str.StartW8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.StartW8V2
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
lea rdx, str.StopW8
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rdx, str.LockW8
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
lea rdx, str.UnlockW8
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
lea rdx, str.ShowCursorW8
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
lea rdx, str.HideCursorW8
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x68], rax
cmp qword [rbx + 0x38], rsi
je 0x14001ab82
cmp qword [rbx + 0x48], rsi
je 0x14001ab82
cmp qword [rbx + 0x50], rsi
je 0x14001ab82
cmp qword [rbx + 0x58], rsi
je 0x14001ab82
cmp qword [rbx + 0x60], rsi
je 0x14001ab82
test rax, rax
jne 0x14001ab8b
mov byte [rbx + 0x2d], sil
jmp 0x14001ab8b
mov dword [rbx + 8], edi
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x98], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401312e0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001b6c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x38
mov rbx, rdx
lea rax, [rsp + 0x68]
xor edi, edi
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetControlProductOptions
mov qword [rsp + 0x68], rdi
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001b842
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.ProductSuite
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x50], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001b837
mov ecx, dword [rsp + 0x50]
mov qword [rsp + 0x30], rsi
call fcn.14013134c
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov rsi, rax
lea rdx, str.ProductSuite
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001b82a
mov rdi, rsi
cmp byte [rsi], al
je 0x14001b82a
nop word [rax + rax]
lea rdx, str.Terminal_Server
mov rcx, rdi
call fcn.140143c50
test eax, eax
jne 0x14001b7ac
or dword [rbx + 0x130], 0x10
jmp 0x14001b811
lea rdx, [0x1401c3720]
mov rcx, rdi
call fcn.140143c50
test eax, eax
je 0x14001b80a
lea rdx, str.Small_Business
mov rcx, rdi
call fcn.140143c50
test eax, eax
je 0x14001b80a
lea rdx, str.Enterprise
mov rcx, rdi
call fcn.140143c50
test eax, eax
jne 0x14001b7ee
or dword [rbx + 0x130], 2
jmp 0x14001b811
lea rdx, str.Personal
mov rcx, rdi
call fcn.140143c50
test eax, eax
jne 0x14001b811
or dword [rbx + 0x130], 0x40
jmp 0x14001b811
or dword [rbx + 0x130], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
add rdi, rax
cmp byte [rdi], 0
jne 0x14001b790
mov rcx, rsi
call fcn.140131300
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x14001e420
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x2c0
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
lea rdx, [rsp + 0x1a0]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [0x140195cc0]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.140139ff0
lea r8, [0x1401c48a4]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.14013a050
mov r8, rbx
lea rcx, [rsp + 0x90]
mov edx, 0x104
call fcn.14013a050
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x2c0
pop rbx
ret
Function at 0x1400204e0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x140195d18]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x1b8
ret

Function at 0x1400205b0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x140195d00]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x1b8
ret

Function at 0x140020680
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x140195ce0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x1b8
ret
Function at 0x140020750
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x140195cd0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x1b8
ret

Function at 0x140020820
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x140195cf0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312e0
add rsp, 0x1b8
ret
Function at 0x140020f50
Capabilities:
Enumerate processes
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x320
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x310], rax
lea rcx, [rsp + 0x170]
call fcn.140021a40
lea r8, [0x14019526c]
mov edx, 0x81
lea rcx, [rsp + 0x280]
call fcn.140139ff0
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x280]
lea r8, [0x14019526c]
mov dword [rsp + 0x20], 0x100
lea rdx, str.alternate_shell
lea rcx, str.admin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x12c
xor edi, edi
call fcn.140133cd0
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, 0x1000
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14002101c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0xffffffff
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov esi, dword [rsp + 0x30]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400210d8
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400210cf
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x6c]
call fcn.140149a68
test eax, eax
je 0x14002109a
lea rcx, [rsp + 0x280]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x140021076
test rax, rax
je 0x1400210b7
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x6c]
call fcn.140149a68
test eax, eax
jne 0x1400210b7
mov ecx, dword [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1400210b7
cmp dword [rsp + 0x30], esi
je 0x1400210cb
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140021052
jmp 0x1400210cf
mov edi, dword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1401312e0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret