joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009710
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 [0x14004c010]
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 0x1400097d8
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 0x1400097d8
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.140016110
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140016110
add rsp, 0x70
pop rbx
ret
Function at 0x140009be0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4b0
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebp, dword [rsp + 0x74]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
lea rdx, [fcn.140009be0]
mov ecx, 4
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140009d83
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x140009d0b
xor ebx, ebx
cmp dword [rsp + 0x30], ebx
jbe 0x140009d0b
mov rsi, qword [rsp + 0x28]
xor eax, eax
lea rdi, [rsp + 0xa0]
mov ecx, 0x200
lea rdx, str.Scanning__p...
rep stosb byte [rdi], al
lea rcx, [rsp + 0xa0]
mov r8, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jb 0x140009cf8
mov eax, dword [rsp + 0x64]
test al, 0x10
jne 0x140009cd8
test al, 0x20
jne 0x140009cd8
test al, al
js 0x140009cd8
test al, 0x40
je 0x140009cf0
bt eax, 8
jb 0x140009dae
test dword [rsp + 0x50], 0x100
jne 0x140009dae
test al, 1
jne 0x140009dae
mov eax, dword [rsp + 0x30]
add rbx, rbp
add rsi, rbp
cmp rbx, rax
jb 0x140009c81
mov rsi, qword [0x1400669a0]
mov rbp, qword [0x1400669a8]
cmp rsi, rbp
je 0x140009d83
nop
mov rbx, qword [rsi]
lea rdi, [rsp + 0xa0]
xor eax, eax
lea rdx, str.Scanning_delta_for__p...
mov ecx, 0x200
mov r8, rbx
rep stosb byte [rdi], al
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jb 0x140009d7a
mov eax, dword [rsp + 0x64]
test al, 0x10
jne 0x140009d7a
test al, 0x20
jne 0x140009d7a
test al, al
js 0x140009d7a
test al, 0x40
je 0x140009dae
add rsi, 8
cmp rsi, rbp
jne 0x140009d20
xor eax, eax
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140016110
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x140009d85
Function at 0x14000c070
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x458
mov rax, qword [0x14004c010]
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 0x14000c2c8
mov edx, 0x5c
lea rcx, [rax + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rsi, rax
test rax, rax
je 0x14000c2c8
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 [0x1400409bc]
mov dword [rsp + 0x20], ecx
movzx ecx, word [0x1400409c0]
mov word [rsp + 0x24], cx
lea rcx, [rsp + 0x26]
call fcn.1400184d0
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 0x14000c151
mov rdx, rbx
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14000c194
inc di
cmp di, 0x5a
jb 0x14000c111
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.140016110
add rsp, 0x458
pop rsi
pop rbx
ret
mov edx, 0x82
lea rax, [rsp + 0x20]
mov ecx, edx
cmp word [rax], r14w
je 0x14000c1b0
add rax, 2
sub rcx, 1
jne 0x14000c1a0
mov rax, rdx
mov r9d, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14000c213
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14000c204
lea r11, [0x1400409c4]
mov eax, r9d
sub r11, rcx
test rax, rax
je 0x14000c204
movzx r10d, word [r11 + rcx]
test r10w, r10w
je 0x14000c204
mov word [rcx], r10w
dec rax
add rcx, 2
sub r8, 1
jne 0x14000c1e3
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 0x14000c230
add rax, 2
sub rcx, 1
jne 0x14000c220
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14000c281
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14000c272
sub rsi, rcx
test r9, r9
je 0x14000c272
movzx eax, word [rsi + rcx + 2]
test ax, ax
je 0x14000c272
mov word [rcx], ax
dec r9
add rcx, 2
sub r8, 1
jne 0x14000c253
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 0x14000c2b2
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14000c2b2
mov word [rbx], ax
add rbx, 2
sub rdx, 1
jne 0x14000c290
test rdx, rdx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
xor eax, eax
jmp 0x14000c162
mov eax, 0x80004005
jmp 0x14000c17a
Function at 0x14000dd70
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea rdx, [0x140064d50]
mov ecx, ebx
mov rax, rdx
nop dword [rax]
cmp dword [rax], ebx
je 0x14000ddea
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14000dda0
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 0x14000de32
lea rcx, [0x140046370]
call fcn.140012d90
jmp 0x14000dec1
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14000ddaf
mov ecx, ebx
mov rax, rdx
nop
cmp dword [rax], ebx
je 0x14000de16
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14000de00
call rbx
jmp 0x14000decb
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14000de2b
mov rbx, qword [rdx + rcx*8 + 0x28]
call rbx
jmp 0x14000decb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000de5a
lea rcx, str.Process32First
call fcn.140012d90
jmp 0x14000deb8
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x14000de7f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14000dec1
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000deb8
nop
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x14000de73
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000de90
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.140016110
add rsp, 0x270
pop rbx
ret
Function at 0x14000e700
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x202
mov dword [rsp + 0x20], 0x101
call fcn.14001ebfc
mov rbx, rax
test rax, rax
je 0x14000e749
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14000e75e
mov rcx, rbx
call fcn.14001ec04
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016110
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016110
add rsp, 0x30
pop rbx
ret

Function at 0x14000e780
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x20
mov dword [rsp + 0x20], SafeArrayLock
call fcn.14001ebfc
mov rbx, rax
test rax, rax
je 0x14000e7c9
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14000e7de
mov rcx, rbx
call fcn.14001ec04
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016110
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016110
add rsp, 0x30
pop rbx
ret

Function at 0x14000e800
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov ecx, dword [rsp + 0x20]
mov eax, 2
inc ecx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001ebfc
mov rbx, rax
test rax, rax
je 0x14000e875
lea r8, [rsp + 0x20]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14000e88a
mov rcx, rbx
call fcn.14001ec04
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016110
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016110
add rsp, 0x30
pop rbx
ret
Function at 0x14000ec50
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x140042200]
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.140015480
test eax, eax
je 0x14000ee92
mov qword [rsp + 0xa0], rsi
lea rcx, [0x1400464a0]
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_LogicalDisk
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x14000ed4a
test rax, rax
je 0x14000ed41
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, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14000ed41
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.140012d90
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14000ed58
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14d, r14d
mov r14, qword [rsp + 0xb8]
je 0x14000ee60
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14000ee40
movabs rsi, 0x1400000000
nop dword [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 + 0x20]
cmp dword [rbp - 0x18], r15d
je 0x14000ee3c
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rdx, str.Size
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000ee1f
cmp word [rbp - 0x30], r12w
je 0x14000ee1f
call fcn.14001ee90
mov dword [rax], r15d
call fcn.140020280
mov rcx, qword [rbp - 0x28]
xor edx, edx
mov r9, rax
lea r8d, [rdx + 0xa]
call fcn.14002005c
mov rdi, rax
call fcn.14001ee90
cmp dword [rax], r15d
jne 0x14000ee15
cmp rdi, rsi
cmovb 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 + 0x10]
test ebx, ebx
jne 0x14000ee3c
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x14000ed90
jmp 0x14000ee40
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdi, qword [rsp + 0xa8]
mov eax, ebx
mov rsi, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016110
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x14000ee7a
Function at 0x14000f1d0
Capabilities:
Enumerate disk properties

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
lea rcx, [0x140033850]
xor r8d, r8d
xor edx, edx
lea r9d, [rbp + 2]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000f3bd
mov qword [rsp + 0x80], rbx
lea r8, [rsp + 0x48]
mov qword [rsp + 0x90], r14
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x48], 0x20
mov r14d, ebp
mov dword [rsp + 0x40], ebp
mov ebx, ebp
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000f382
mov qword [rsp + 0x88], rdi
nop
lea rax, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
jne 0x14000f2ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000f2ef
test rbx, rbx
je 0x14000f29d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x40]
mov ecx, 0x40
lea edx, [rax + rax]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000f350
lea rax, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14000f284
test rbx, rbx
je 0x14000f350
lea rdx, str.vbox
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000f3b6
lea rdx, str.vmware
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000f3b6
lea rdx, str.qemu
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000f3b6
lea rdx, str.virtual
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000f3b6
inc r14d
lea r8, [rsp + 0x48]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000f250
test rbx, rbx
je 0x14000f37a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdi, qword [rsp + 0x88]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
test eax, eax
je 0x14000f3b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
jne 0x14000f3bd
mov eax, ebp
jmp 0x14000f3bf
mov ebp, 1
jmp 0x14000f371
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140016110
mov rbp, qword [rsp + 0x98]
add rsp, 0x70
pop rsi
ret
Function at 0x14000fb00
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x40], rbx
call fcn.140015630
test eax, eax
je 0x14000fce3
lea r8, str.rootWMI
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.140015480
test eax, eax
je 0x14000fce1
mov qword [rsp + 0x90], rsi
lea rcx, [0x1400464a0]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14d, 1
mov rdi, rax
test rsi, rsi
je 0x14000fbf9
test rax, rax
je 0x14000fbf0
mov rcx, qword [rbp - 0x48]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9d, [r14 + 0x2f]
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14000fbf0
lea rcx, str.ExecQuery
mov r14d, ebx
call fcn.140012d90
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x90]
test rdi, rdi
je 0x14000fc0f
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x98]
test r14d, r14d
mov r14, qword [rsp + 0xa0]
je 0x14000fce1
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x30], ebx
test rcx, rcx
je 0x14000fcbd
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 0x30], ebx
je 0x14000fcb8
mov rcx, qword [rbp - 0x50]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x28], rbx
lea rdx, str.CurrentTemperature
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
lea rcx, [rbp - 0x28]
test eax, eax
jns 0x14000fca6
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x14000fc40
jmp 0x14000fcbd
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000fcbd
mov ebx, 1
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016110
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14000fd00
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x140042200]
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.140015480
test eax, eax
je 0x14000feec
mov qword [rsp + 0xa0], rsi
lea rcx, [0x1400464a0]
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 0x14000fded
test rax, rax
je 0x14000fde4
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, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14000fde4
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.140012d90
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
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 0x14000fe03
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb0]
je 0x14000feec
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14000fec8
nop dword [rax]
nop word [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 + 0x20]
mov ebx, r15d
cmp dword [rbp - 0x18], ebx
je 0x14000fec8
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 + 0x20]
test eax, eax
js 0x14000fe90
cmp qword [rbp - 0x28], rbx
je 0x14000feaf
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x14000fe40
jmp 0x14000fec8
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 + 0x10]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016110
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret