joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001ed70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, rcx
test rdx, rdx
je 0x18001ed9e
or r9d, 0x20006
mov r8d, r9d
call fcn.18001e670
mov rbx, rax
jmp 0x18001eda1
mov rbx, rcx
test rbx, rbx
je 0x18001ee00
lea rax, [rsp + 0x60]
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x18001edf3
cmp rbx, rdi
je 0x18001edde
mov rcx, rbx
call fcn.18001e6c0
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x18001ee00
mov rcx, rbx
call fcn.18001e6c0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x18001ee20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, rcx
test rdx, rdx
je 0x18001ee4e
or r9d, 0x20006
mov r8d, r9d
call fcn.18001e670
mov rbx, rax
jmp 0x18001ee51
mov rbx, rcx
test rbx, rbx
je 0x18001eeb0
mov eax, dword [rsp + 0x68]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x18001eea3
cmp rbx, rdi
je 0x18001ee8e
mov rcx, rbx
call fcn.18001e6c0
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x18001eeb0
mov rcx, rbx
call fcn.18001e6c0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x18001eed0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
mov rbp, r8
mov rsi, rcx
test rdx, rdx
je 0x18001eefe
or r9d, 0x20006
mov r8d, r9d
call fcn.18001e670
mov rbx, rax
jmp 0x18001ef01
mov rbx, rcx
test rbx, rbx
je 0x18001ef74
mov rdx, qword [rsp + 0x60]
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x40], rdi
mov rdi, rdx
lea r9d, [rax + 1]
repne scasb al, byte [rdi]
xor r8d, r8d
not rcx
and ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x18001ef67
cmp rbx, rsi
je 0x18001ef52
mov rcx, rbx
call fcn.18001e6c0
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp rbx, rsi
je 0x18001ef74
mov rcx, rbx
call fcn.18001e6c0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x18001ef90
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbp
push rsi
sub rsp, 0x68
xor eax, eax
mov esi, edx
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rax
lea rax, [r11 + 0x18]
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x50], rax
lea rax, [r11 + 0x20]
mov rbp, rcx
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x18001f109
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x60], rdi
cmp dword [rsp + 0x98], eax
je 0x18001f0df
mov eax, dword [rsp + 0x90]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x90], eax
lea ecx, [rax + 1]
call fcn.18002ae9c
mov rbx, rax
test rax, rax
je 0x18001f105
nop word [rax + rax]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
inc r8d
call fcn.18002a9c0
mov r9d, dword [rsp + 0x90]
mov r8, rbx
xor edx, edx
mov rcx, rbp
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x18001f0fd
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
or r8d, 0x2001f
call fcn.18001e640
mov rdi, rax
test rax, rax
je 0x18001f0fd
mov edx, esi
mov rcx, rax
call fcn.18001ef90
mov rcx, rdi
test eax, eax
je 0x18001f0f8
call fcn.18001e6c0
mov r11, qword [0x180092fb8]
test r11, r11
je 0x18001f0ba
test esi, esi
je 0x18001f0ba
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call r11
jmp 0x18001f0c6
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x18001f0fd
dec dword [rsp + 0x98]
jne 0x18001f030
mov rcx, rbx
call fcn.18002af40
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.18001e6c0
mov rcx, rbx
call fcn.18002af40
xor eax, eax
jmp 0x18001f0e4
xor eax, eax
add rsp, 0x68
pop rsi
pop rbp
ret

Function at 0x18001f220
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x60
mov rbp, r9
mov rdi, rcx
test rdx, rdx
je 0x18001f256
or r8d, 0x20019
call fcn.18001e640
mov rbx, rax
jmp 0x18001f259
mov rbx, rcx
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
test rbx, rbx
je 0x18001f2c7
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x18001f2ba
cmp rbx, rdi
je 0x18001f2b3
mov rcx, rbx
call fcn.18001e6c0
mov eax, 1
jmp 0x18001f2d0
cmp rbx, rdi
je 0x18001f2c7
mov rcx, rbx
call fcn.18001e6c0
mov dword [rbp], r12d
xor eax, eax
mov dword [rsi], r12d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x18001f760
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x40
mov rbp, qword [rsp + 0x90]
mov r14, r8
mov rbx, rdx
mov r13, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
mov edi, r9d
call fcn.180019f60
test rbx, rbx
je 0x18001f7b0
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.18001e640
mov rsi, rax
jmp 0x18001f7b3
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x18001f8b7
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18001f8aa
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x18001f80c
cmp eax, 2
je 0x18001f80c
cmp eax, 6
je 0x18001f80c
cmp eax, 7
jne 0x18001f8aa
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.18002ae9c
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.18002a9c0
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rdx
xor r8d, r8d
mov rcx, rsi
mov rdx, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18001f8a2
mov rbx, r12
cmp byte [r12], al
je 0x18001f886
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.18001a160
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
mov eax, ecx
add rbx, rax
cmp byte [rbx], 0
jne 0x18001f860
cmp rsi, r13
je 0x18001f893
mov rcx, rsi
call fcn.18001e6c0
mov rcx, r12
call fcn.18002af40
mov eax, 1
jmp 0x18001f8b9
mov rcx, r12
call fcn.18002af40
cmp rsi, r13
je 0x18001f8b7
mov rcx, rsi
call fcn.18001e6c0
xor eax, eax
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001fd80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x18001fda8
or r9d, 0x20006
mov r8d, r9d
call fcn.18001e670
mov rbx, rax
jmp 0x18001fdab
mov rbx, rcx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r15
test rbx, rbx
je 0x18001ff04
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 1
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x18001fe1c
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.18001f6f0
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax + 1]
call fcn.180014ec0
inc edi
cmp edi, dword [rsi + 8]
jl 0x18001fdf0
mov ecx, r15d
mov edi, r15d
call fcn.18002ae9c
mov rbp, rax
test rax, rax
je 0x18001ff04
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.18002a9c0
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x18001fea6
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.18001f6f0
mov rdx, r13
mov rcx, qword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
mov byte [rdx - 1], al
test al, al
jne 0x18001fe70
lea rcx, [rsp + 0x78]
call fcn.180014ec0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
inc r12d
repne scasb al, byte [rdi]
not rcx
mov eax, ecx
add r13, rax
cmp r12d, dword [rsi + 8]
jl 0x18001fe50
mov rdx, qword [rsp + 0x80]
mov r9d, 7
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r13, qword [rsp + 0x38]
test eax, eax
jne 0x18001feef
cmp rbx, r14
je 0x18001fee0
mov rcx, rbx
call fcn.18001e6c0
mov rcx, rbp
call fcn.18002af40
mov eax, 1
jmp 0x18001ff06
mov rcx, rbp
call fcn.18002af40
cmp rbx, r14
je 0x18001ff04
mov rcx, rbx
call fcn.18001e6c0
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x70]
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x180022d70
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x2f0
mov rax, qword [0x18008cb00]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, qword [rsp + 0x350]
mov rbp, rcx
mov r12, r8
mov r13, rdx
xor r14d, r14d
lea rcx, [rsp + 0xe1]
mov ebx, r14d
mov r8d, 0x1f3
xor edx, edx
mov byte [rsp + 0xe0], bl
mov rsi, r9
call fcn.18002a9c0
test r12, r12
je 0x180022df5
lea r8, [rsp + 0xe0]
mov r9d, 0x1f3
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.18001b620
lea rbx, [rsp + 0xe0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], 0x68
lea r8d, [rdx + 0x60]
call fcn.18002a9c0
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov rdx, rbx
mov rcx, r13
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
test eax, eax
je 0x180022e96
test rsi, rsi
je 0x180022e69
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x180022e83
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180022e9f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180022e9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 8], eax
mov eax, ebx
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.18002a990
add rsp, 0x2f0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180023ea0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x808]
sub rsp, 0x908
mov rax, qword [0x18008cb00]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rsi, qword [rbp + 0x870]
mov rdi, qword [rbp + 0x878]
xor eax, eax
mov rbx, r8
mov r15, rcx
mov qword [rsp + 0x68], rdx
lea r8d, [rax + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r12, r9
mov r14d, eax
mov r13d, eax
mov dword [rsp + 0x70], 0x68
call fcn.18002a9c0
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x50], rcx
mov word [rbp + 0x1f0], cx
lea rcx, [rbp + 0x1f2]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.18002a9c0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180023f65
lea r8, [rbp + 0x1f0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rax
mov dword [rsp + 0x20], r13d
call fcn.18001b370
lea r14, [rbp + 0x1f0]
xor eax, eax
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x3e6
mov word [rbp + 0x400], ax
call fcn.18002a9c0
test rbx, rbx
je 0x180023fac
xor eax, eax
lea r8, [rbp + 0x400]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.18001b600
lea r13, [rbp + 0x400]
lea rcx, [rbp - 0x1e]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x20], bx
call fcn.18002a9c0
test r12, r12
je 0x180023fe9
lea r8, [rbp - 0x20]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.18001b600
lea r11, [rbp - 0x20]
mov qword [rbp - 0x80], r11
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, r13
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov rcx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x18002405f
test rsi, rsi
je 0x180024032
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x18002404c
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180024069
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180024069
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15 + 8], eax
mov eax, ebx
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.18002a990
add rsp, 0x908
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800251b0
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.18002b0c0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18008cb00]
xor rax, rsp
mov qword [rsp + 0x1f80], rax
mov esi, r9d
mov r14, r8
mov r13, rdx
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, r13
call fcn.18001d680
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.180019f60
call fcn.180058fc0
mov rbx, qword [0x180094b88]
test rbx, rbx
je 0x18002531f
cmp esi, 0xffffffff
jne 0x18002523f
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rdi
call qword [rbx + 0x70]
mov esi, eax
mov rbx, qword [0x180094b88]
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x40], ebp
xor edx, edx
mov r8d, 0x1f3c
lea rcx, [rsp + 0x44]
call fcn.18002a9c0
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x180025316
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x18002530f
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x1800252a4
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + 0x70]
cmp esi, eax
jne 0x180025306
test ebp, ebp
jne 0x1800252c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.18005b440
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.18001d8e0
mov r11, qword [rdi]
mov r8d, dword [rbx]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [r11 + 0x80]
nop
lea r8, [rsp + 0x28]
mov edx, dword [r14 + 8]
mov rcx, r14
call fcn.18001a1b0
nop
lea rcx, [rsp + 0x28]
call fcn.180014ec0
add rbx, 4
dec r12
jne 0x180025290
mov eax, 1
jmp 0x180025321
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
xor eax, eax
mov rcx, qword [rsp + 0x1f80]
xor rcx, rsp
call fcn.18002a990
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180026110
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x210
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x250], rbx
mov rax, qword [0x18008cb00]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r12, r9
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.180023ba0
lea rcx, [rsp + 0x28]
call fcn.1800247f0
nop
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.180025b80
test eax, eax
je 0x1800262a3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov r8d, 1
lea rdx, str.SeDebugPrivilege
call fcn.18005b440
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x28]
call fcn.180024800
mov ebp, eax
test eax, eax
jle 0x180026286
mov dword [rsp + 0x50], r13d
xor edx, edx
mov r8d, 0x1a4
lea rcx, [rsp + 0x54]
call fcn.18002a9c0
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.1800258c0
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0xa0
call fcn.18002aac0
mov r11, qword [rdi]
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r11 + 0x80]
nop
mov rax, qword [rsp + 0x20]
cmp dword [rax - 8], 0
jne 0x180026235
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x18002621a
lea rdx, str.System_Idle_Process
jmp 0x18002622b
cmp eax, 4
je 0x180026224
cmp eax, 8
jne 0x180026235
lea rdx, [0x180073578]
lea rcx, [rsp + 0x20]
call fcn.180015040
mov r8d, 0x103
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xf4]
call fcn.18002f800
mov r8, r12
lea rdx, [rsp + 0xf4]
mov rcx, rdi
call fcn.180026e80
test eax, eax
je 0x180026272
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180023bb0
nop
lea rcx, [rsp + 0x20]
call fcn.180014ec0
inc ebx
cmp ebx, ebp
jl 0x1800261b0
mov rdx, rsi
mov rcx, rdi
call fcn.180025df0
nop
lea rcx, [rsp + 0x28]
call fcn.1800258d0
mov eax, 1
jmp 0x1800262af
lea rcx, [rsp + 0x28]
call fcn.1800258d0
xor eax, eax
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.18002a990
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180026750
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x18002676e
mov dword [rcx + 8], 0x57
add rsp, 0x20
pop rbx
ret
mov edx, r8d
mov rcx, rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
test eax, eax
jne 0x18002678e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x1800267a0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.180057520
mov r11, qword [0x180094840]
test r11, r11
jne 0x1800267cd
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x30], rsi
lea ecx, [rdx + 2]
call r11
mov rsi, rax
test rax, rax
jne 0x180026800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
cmp eax, 0xffffffff
jne 0x180026819
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x180026840
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.180057520
mov r11, qword [0x180094840]
test r11, r11
jne 0x18002686d
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x30], rsi
lea ecx, [rdx + 2]
call r11
mov rsi, rax
test rax, rax
jne 0x1800268a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1800268b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x1800268e0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
mov rbx, rcx
call fcn.180057520
mov r11, qword [0x180094840]
test r11, r11
je 0x180026924
xor edx, edx
mov r8d, esi
lea ecx, [rdx + 1]
call r11
mov rsi, rax
test rax, rax
jne 0x180026936
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, eax
test eax, eax
jne 0x180026950
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x180026bb0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18008cb00]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.18002a9c0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180018610
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18002a990
add rsp, 0x150
pop rbx
ret

Function at 0x180026f00
Capabilities:
Suspend thread

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov ebx, edx
mov r12, rcx
call fcn.180057520
cmp qword [0x180094840], 0
je 0x180026f66
lea rcx, [rsp + 0x28]
call fcn.18001d660
nop
mov rax, qword [r12]
lea r8, [rsp + 0x28]
mov edx, ebx
mov rcx, r12
call qword [rax + 0xd0]
mov ebp, eax
test eax, eax
jne 0x180026f6a
lea rcx, [rsp + 0x28]
call fcn.18001d670
xor eax, eax
jmp 0x180026fd9
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x180026fcd
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + rsi*4]
xor edx, edx
lea ecx, [rdx + 2]
call qword [0x180094840]
mov rbx, rax
test rsi, rsi
jne 0x180026fa1
test rax, rax
je 0x180026fc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
inc rsi
cmp edi, dword [rsp + 0x30]
jge 0x180026fcd
jmp 0x180026f80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.18001d670
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret