joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a1e0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x1400b00f0]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], r15
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x40], r15
mov ebx, r15d
call fcn.1400325d0
test eax, eax
je 0x14002a3cc
mov qword [rsp + 0xa0], rsi
lea rcx, [0x1400b4688]
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_Processor
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea r14d, [r15 + 1]
mov rdi, rax
test rsi, rsi
je 0x14002a2d0
test rax, rax
je 0x14002a2c7
mov rcx, qword [rbp - 0x48]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov rdx, rsi
call r10
test eax, eax
jns 0x14002a2c7
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.14002fa60
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0xa0]
test rdi, rdi
je 0x14002a2e6
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb0]
je 0x14002a3cc
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14002a3a8
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov ebx, r15d
cmp dword [rbp - 0x18], ebx
je 0x14002a3a8
mov rcx, qword [rbp - 0x50]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rdx, str.ProcessorId
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14002a370
cmp qword [rbp - 0x28], rbx
je 0x14002a38f
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x14002a320
jmp 0x14002a3a8
lea rcx, [rbp - 0x30]
mov ebx, 1
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140095750
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
Function at 0x14002a5c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, str.SystemCurrentControlSetEnumIDE
xor edi, edi
mov qword [rbp - 0x39], rax
lea r13, [rbp - 0x39]
lea rax, str.SystemCurrentControlSetEnumSCSI
mov qword [rbp + 0xf], rdi
mov qword [rbp - 0x31], rax
mov r12d, edi
lea rax, str.qemu
mov qword [rbp - 0x29], rax
lea rax, str.virtio
mov qword [rbp - 0x21], rax
lea rax, str.vmware
mov qword [rbp - 0x19], rax
lea rax, str.vbox
mov qword [rbp - 0x11], rax
lea rax, [0x1400b08f8]
mov qword [rbp - 9], rax
lea rax, [0x1400b0900]
mov qword [rbp - 1], rax
lea rax, str.Virtual
mov qword [rbp + 7], rax
mov rdx, qword [r13]
lea rax, [rbp + 0xf]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x17], edi
mov rcx, 0xffffffff80000002
mov dword [rbp + 0x1b], edi
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a78c
mov rcx, qword [rbp + 0xf]
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002a782
mov eax, dword [rbp + 0x1b]
lea r15d, [rax*2 + 2]
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14002a782
cmp dword [rbp + 0x17], 0
mov r14d, edi
jbe 0x14002a779
nop dword [rax + rax]
mov rcx, qword [rbp + 0xf]
lea r9, [rbp + 0x1f]
mov qword [rsp + 0x38], rdi
mov r8, rsi
mov qword [rsp + 0x30], rdi
mov edx, r14d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x1f], r15d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002a76e
mov ebx, edi
lea rdi, [rbp - 0x29]
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14002a7cc
inc ebx
add rdi, 8
cmp ebx, 7
jb 0x14002a750
xor edi, edi
inc r14d
mov ebx, edi
cmp r14d, dword [rbp + 0x17]
jb 0x14002a710
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
add r13, 8
cmp r12d, 2
jb 0x14002a662
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140095750
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14002a79f
Function at 0x14002aaa0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x1400b00f0]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], r15
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x50], r15
mov ebx, r15d
call fcn.1400325d0
test eax, eax
je 0x14002acca
mov qword [rsp + 0xa0], rsi
lea rcx, [0x1400b4688]
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_NetworkAdapterConfiguration
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x14002ab9d
test rax, rax
je 0x14002ab94
mov rcx, qword [rbp - 0x48]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov rdx, rsi
call r10
test eax, eax
jns 0x14002ab94
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.14002fa60
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0xa0]
test rdi, rdi
je 0x14002abb3
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb8]
je 0x14002aca8
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14002ac88
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x40]
mov edx, 0xffffffff
mov r8d, r12d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 0x18], r15d
je 0x14002ac84
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rdx, str.MACAddress
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14002ac67
movzx eax, word [rbp - 0x30]
cmp ax, r12w
je 0x14002ac67
test al, 8
je 0x14002ac5d
mov rcx, qword [rbp - 0x28]
lea rdx, str.08:00:27
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
jne 0x14002ac84
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x14002abf0
jmp 0x14002ac88
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r12, qword [rsp + 0xb0]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140095750
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x14002acb2
Function at 0x14002b180
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x1400b00f0]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x48], r15
mov ebx, r15d
call fcn.1400325d0
test eax, eax
je 0x14002b3a1
mov qword [rsp + 0xa0], rsi
lea rcx, [0x1400b4688]
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_PnPEntity
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x14002b27d
test rax, rax
je 0x14002b274
mov rcx, qword [rbp - 0x50]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov rdx, rsi
call r10
test eax, eax
jns 0x14002b274
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.14002fa60
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0xa0]
test rdi, rdi
je 0x14002b293
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb8]
je 0x14002b37f
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14002b35b
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x40]
mov edx, 0xffffffff
mov r8d, r12d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 0x18], r15d
je 0x14002b35b
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rdx, str.DeviceId
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14002b340
cmp word [rbp - 0x30], 8
jne 0x14002b336
mov rcx, qword [rbp - 0x28]
lea rdx, str.PCIVEN_80EEDEV_CAFE
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
jne 0x14002b35b
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x14002b2d0
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r12, qword [rsp + 0xb0]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140095750
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x14002b389
Function at 0x14002d240
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
lea rax, str.System32drivers_vmnet.sys
xor edx, edx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x3b0]
lea rax, str.System32drivers_vmmouse.sys
mov r8d, 0x208
mov qword [rsp + 0x28], rax
lea rax, str.System32drivers_vmusb.sys
mov qword [rsp + 0x30], rax
lea rax, str.System32drivers_vm3dmp.sys
mov qword [rsp + 0x38], rax
lea rax, str.System32drivers_vmci.sys
mov qword [rsp + 0x40], rax
lea rax, str.System32drivers_vmhgfs.sys
mov qword [rsp + 0x48], rax
lea rax, str.System32drivers_vmmemctl.sys
mov qword [rsp + 0x50], rax
lea rax, str.System32drivers_vmx86.sys
mov qword [rsp + 0x58], rax
lea rax, str.System32drivers_vmrawdsk.sys
mov qword [rsp + 0x60], rax
lea rax, str.System32drivers_vmusbmouse.sys
mov qword [rsp + 0x68], rax
lea rax, str.System32drivers_vmkdb.sys
mov qword [rsp + 0x70], rax
lea rax, str.System32drivers_vmnetuserif.sys
mov qword [rsp + 0x78], rax
lea rax, str.System32drivers_vmnetadapter.sys
mov qword [rbp - 0x80], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edi, edi
lea rcx, [rbp + 0x3b0]
mov edx, 0x104
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.1400321d0
test eax, eax
je 0x14002d360
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop dword [rax]
mov r8, qword [rsp + rdi*8 + 0x20]
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x1a0]
mov edx, 0x100
lea r8, str.Checking_file__s
lea rcx, [rbp - 0x60]
call fcn.140028690
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002d419
test al, 0x10
jne 0x14002d419
cmp byte [0x1400e4382], 0
je 0x14002d471
lea rdx, [rbp - 0x60]
lea rcx, [0x1400b3630]
call fcn.14002bdf0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002d3e4
mov ebx, 0x5f
sub rbx, rax
je 0x14002d412
nop dword [rax + rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, 1
jne 0x14002d400
mov ecx, 1
jmp 0x14002d468
cmp byte [0x1400e4382], 0
je 0x14002d471
lea rdx, [rbp - 0x60]
lea rcx, [0x1400b3630]
call fcn.14002bdf0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002d440
mov ebx, 0x5f
sub rbx, rax
je 0x14002d466
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, 1
jne 0x14002d454
xor ecx, ecx
lea rdx, [rbp - 0x60]
call fcn.14002f950
inc rdi
cmp rdi, 0xd
jl 0x14002d360
call fcn.1400321d0
test eax, eax
je 0x14002d491
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140095750
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14002d560
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rax, str.System32drivers_balloon.sys
xor edx, edx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x390]
lea rax, str.System32drivers_netkvm.sys
mov r8d, 0x208
mov qword [rsp + 0x28], rax
lea rax, str.System32driverspvpanic.sys
mov qword [rsp + 0x30], rax
lea rax, str.System32drivers_viofs.sys
mov qword [rsp + 0x38], rax
lea rax, str.System32drivers_viogpudo.sys
mov qword [rsp + 0x40], rax
lea rax, str.System32drivers_vioinput.sys
mov qword [rsp + 0x48], rax
lea rax, str.System32drivers_viorng.sys
mov qword [rsp + 0x50], rax
lea rax, str.System32drivers_vioscsi.sys
mov qword [rsp + 0x58], rax
lea rax, str.System32drivers_vioser.sys
mov qword [rsp + 0x60], rax
lea rax, str.System32drivers_viostor.sys
mov qword [rsp + 0x68], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edi, edi
lea rcx, [rbp + 0x390]
mov edx, 0x104
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.1400321d0
test eax, eax
je 0x14002d660
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop dword [rax + rax]
mov r8, qword [rsp + rdi*8 + 0x20]
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x180]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x180]
mov edx, 0x100
lea r8, str.Checking_file__s
lea rcx, [rbp - 0x80]
call fcn.140028690
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002d719
test al, 0x10
jne 0x14002d719
cmp byte [0x1400e4382], 0
je 0x14002d771
lea rdx, [rbp - 0x80]
lea rcx, [0x1400b3630]
call fcn.14002bdf0
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002d6e4
mov ebx, 0x5f
sub rbx, rax
je 0x14002d712
nop dword [rax + rax]
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, 1
jne 0x14002d700
mov ecx, 1
jmp 0x14002d768
cmp byte [0x1400e4382], 0
je 0x14002d771
lea rdx, [rbp - 0x80]
lea rcx, [0x1400b3630]
call fcn.14002bdf0
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002d740
mov ebx, 0x5f
sub rbx, rax
je 0x14002d766
lea rcx, [0x1400b362c]
call fcn.14002bdf0
sub rbx, 1
jne 0x14002d754
xor ecx, ecx
lea rdx, [rbp - 0x80]
call fcn.14002f950
inc rdi
cmp rdi, 0xa
jl 0x14002d660
call fcn.1400321d0
test eax, eax
je 0x14002d792
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140095750
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14002d7c0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea rdx, [0x1400e2b80]
mov ecx, ebx
mov rax, rdx
nop dword [rax]
cmp dword [rax], ebx
je 0x14002d83a
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14002d7f0
xor eax, eax
mov qword [rsp + 0x280], rdi
lea rdi, [rsp + 0x20]
mov ecx, 0x238
rep stosb byte [rdi], al
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002d882
lea rcx, [0x1400b4540]
call fcn.14002fa60
jmp 0x14002d911
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14002d7ff
mov ecx, ebx
mov rax, rdx
nop
cmp dword [rax], ebx
je 0x14002d866
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14002d850
call rbx
jmp 0x14002d91b
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14002d87b
mov rbx, qword [rdx + rcx*8 + 0x28]
call rbx
jmp 0x14002d91b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14002d8aa
lea rcx, str.Process32First
call fcn.14002fa60
jmp 0x14002d908
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x14002d8cf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14002d911
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14002d908
nop
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x14002d8c3
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002d8e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x280]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140095750
add rsp, 0x270
pop rbx
ret

Function at 0x14002d940
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14002da08
movabs rax, 0xc3c3c3c3c3c3c3c3
mov byte [rbx], al
mov edx, dword [rsp + 0x2c]
lea r9, [rsp + 0x58]
mov r8d, 0x140
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14002da08
call rbx
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140095750
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140095750
add rsp, 0x70
pop rbx
ret
Function at 0x14002da20
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x458
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
mov edx, 0x5c
add rcx, 2
call qword [sym.imp.SHLWAPI.dll_StrChrW]
test rax, rax
je 0x14002dc78
mov edx, 0x5c
lea rcx, [rax + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rsi, rax
test rax, rax
je 0x14002dc78
mov qword [rsp + 0x478], rbp
xor edx, edx
movzx ebp, word [rax]
mov r8d, 0x202
mov qword [rsp + 0x480], rdi
mov qword [rsp + 0x450], r14
xor r14d, r14d
mov word [rax], r14w
mov ecx, dword [0x1400b329c]
mov dword [rsp + 0x20], ecx
movzx ecx, word [0x1400b32a0]
mov word [rsp + 0x24], cx
lea rcx, [rsp + 0x26]
call sub.VCRUNTIME140.dll_memset
mov edi, 0x41
mov r8d, 0x104
mov word [rsp + 0x20], di
lea rdx, [rsp + 0x230]
mov word [rsp + 0x230], r14w
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14002db01
mov rdx, rbx
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14002db44
inc di
cmp di, 0x5a
jb 0x14002dac1
mov word [rsi], bp
mov eax, 0x80004005
mov rdi, qword [rsp + 0x480]
mov rbp, qword [rsp + 0x478]
mov r14, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140095750
add rsp, 0x458
pop rsi
pop rbx
ret
mov edx, 0x82
lea rax, [rsp + 0x20]
mov ecx, edx
cmp word [rax], r14w
je 0x14002db60
add rax, 2
sub rcx, 1
jne 0x14002db50
mov rax, rdx
mov r9d, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14002dbc3
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14002dbb4
lea r11, [0x1400b3310]
mov eax, r9d
sub r11, rcx
test rax, rax
je 0x14002dbb4
movzx r10d, word [r11 + rcx]
test r10w, r10w
je 0x14002dbb4
mov word [rcx], r10w
dec rax
add rcx, 2
sub r8, 1
jne 0x14002db93
test r8, r8
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov rcx, rdx
lea rax, [rsp + 0x20]
nop dword [rax + rax]
cmp word [rax], r14w
je 0x14002dbe0
add rax, 2
sub rcx, 1
jne 0x14002dbd0
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14002dc31
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14002dc22
sub rsi, rcx
test r9, r9
je 0x14002dc22
movzx eax, word [rsi + rcx + 2]
test ax, ax
je 0x14002dc22
mov word [rcx], ax
dec r9
add rcx, 2
sub r8, 1
jne 0x14002dc03
test r8, r8
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
lea rcx, [rsp + 0x20]
sub rcx, rbx
nop dword [rax]
lea rax, [rdx + 0x7fffff7c]
test rax, rax
je 0x14002dc62
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14002dc62
mov word [rbx], ax
add rbx, 2
sub rdx, 1
jne 0x14002dc40
test rdx, rdx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
xor eax, eax
jmp 0x14002db12
mov eax, 0x80004005
jmp 0x14002db2a