joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cba0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4031a3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408c00
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045adc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403180
cmp byte [0x005873eb], 0
je 0x45cbb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x459e00
jmp 0x403180

Function at 0x45cbc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005876a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005873eb], 0
je 0x45cbf5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00587960]
aesenc xmm0, xmmword [0x00587970]
aesenc xmm0, xmmword [0x00587980]
movq rax, xmm0
ret
jmp 0x408e20

Function at 0x45cc00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005876a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005873eb], 0
je 0x45cc36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00587960]
aesenc xmm0, xmmword [0x00587970]
aesenc xmm0, xmmword [0x00587980]
movq rax, xmm0
ret
jmp 0x408e80

Function at 0x45e900
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45e934
mov rcx, 0x28
jmp 0x45e93f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00587608], rcx
pop rbp
ret
Function at 0x474a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x474b4a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403120
xorps xmm15, xmm15
mov r14, qword [0x00587608]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x474b2f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0048dbe0]
xor ebx, ebx
mov rcx, rdx
call fcn.004454a0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00475120
inc rbx
cmp rcx, rbx
jae 0x474b1e
mov edi, 1
lea rsi, [0x0048dbe0]
call fcn.00445580
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004c1d58]
lea rsi, [0x004c1698]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045adc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00474a80
Function at 0x1400091e0
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 [0x140027010]
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 0x1400092a8
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 0x1400092a8
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.140016140
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140016140
add rsp, 0x70
pop rbx
ret
Function at 0x1400096b0
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 [0x140027010]
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.1400096b0]
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 0x140009863
mov rdi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r8, [rsp + 0x28]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x1400097ea
xor ebx, ebx
cmp dword [rsp + 0x30], ebx
jbe 0x1400097ea
mov rsi, qword [rsp + 0x28]
nop dword [rax]
nop dword [rax + rax]
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 0x1400097d7
mov eax, dword [rsp + 0x64]
test al, 0x10
jne 0x1400097b7
test al, 0x20
jne 0x1400097b7
test al, al
js 0x1400097b7
test al, 0x40
je 0x1400097cf
bt eax, 8
jb 0x14000988e
test dword [rsp + 0x50], 0x100
jne 0x14000988e
test al, 1
jne 0x14000988e
mov eax, dword [rsp + 0x30]
add rbx, rbp
add rsi, rbp
cmp rbx, rax
jb 0x140009760
mov rsi, qword [0x140040060]
mov rbp, qword [0x140040068]
cmp rsi, rbp
je 0x140009863
nop dword [rax]
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 0x14000985a
mov eax, dword [rsp + 0x64]
test al, 0x10
jne 0x14000985a
test al, 0x20
jne 0x14000985a
test al, al
js 0x14000985a
test al, 0x40
je 0x14000988e
add rsi, 8
cmp rsi, rbp
jne 0x140009800
xor eax, eax
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140016140
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 0x140009865
Function at 0x14000bbf0
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x458
mov rax, qword [0x140027010]
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 0x14000be48
mov edx, 0x5c
lea rcx, [rax + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rsi, rax
test rax, rax
je 0x14000be48
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 [0x14001c0a4]
mov dword [rsp + 0x20], ecx
movzx ecx, word [0x14001c0a8]
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 0x14000bcd1
mov rdx, rbx
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14000bd14
inc di
cmp di, 0x5a
jb 0x14000bc91
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.140016140
add rsp, 0x458
pop rsi
pop rbx
ret
mov edx, 0x82
lea rax, [rsp + 0x20]
mov ecx, edx
cmp word [rax], r14w
je 0x14000bd30
add rax, 2
sub rcx, 1
jne 0x14000bd20
mov rax, rdx
mov r9d, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14000bd93
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14000bd84
lea r11, [0x14001c0ac]
mov eax, r9d
sub r11, rcx
test rax, rax
je 0x14000bd84
movzx r10d, word [r11 + rcx]
test r10w, r10w
je 0x14000bd84
mov word [rcx], r10w
dec rax
add rcx, 2
sub r8, 1
jne 0x14000bd63
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 0x14000bdb0
add rax, 2
sub rcx, 1
jne 0x14000bda0
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14000be01
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14000bdf2
sub rsi, rcx
test r9, r9
je 0x14000bdf2
movzx eax, word [rsi + rcx + 2]
test ax, ax
je 0x14000bdf2
mov word [rcx], ax
dec r9
add rcx, 2
sub r8, 1
jne 0x14000bdd3
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 0x14000be32
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14000be32
mov word [rbx], ax
add rbx, 2
sub rdx, 1
jne 0x14000be10
test rdx, rdx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
xor eax, eax
jmp 0x14000bce2
mov eax, 0x80004005
jmp 0x14000bcfa
Function at 0x14000d890
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea rdx, [0x14003f180]
mov ecx, ebx
mov rax, rdx
nop dword [rax]
cmp dword [rax], ebx
je 0x14000d90a
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14000d8c0
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 0x14000d952
lea rcx, [0x140021a30]
call fcn.140012b60
jmp 0x14000d9e1
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14000d8cf
mov ecx, ebx
mov rax, rdx
nop
cmp dword [rax], ebx
je 0x14000d936
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14000d920
call rbx
jmp 0x14000d9eb
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14000d94b
mov rbx, qword [rdx + rcx*8 + 0x28]
call rbx
jmp 0x14000d9eb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000d97a
lea rcx, str.Process32First
call fcn.140012b60
jmp 0x14000d9d8
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x14000d99f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14000d9e1
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000d9d8
nop
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x14000d993
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000d9b0
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.140016140
add rsp, 0x270
pop rbx
ret
Function at 0x14000e220
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x202
mov dword [rsp + 0x20], 0x101
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000e26b
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14000e280
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016140
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016140
add rsp, 0x30
pop rbx
ret

Function at 0x14000e2a0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ecx, 0x20
mov dword [rsp + 0x20], SafeArrayLock
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000e2eb
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14000e300
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016140
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016140
add rsp, 0x30
pop rbx
ret

Function at 0x14000e320
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140027010]
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 qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000e397
lea r8, [rsp + 0x20]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14000e3ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016140
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016140
add rsp, 0x30
pop rbx
ret
Function at 0x14000ed10
Capabilities:
Enumerate disk properties

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
lea rcx, [0x1400188e0]
xor r8d, r8d
xor edx, edx
lea r9d, [rbp + 2]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000eefd
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 0x14000eec2
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 0x14000ee2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000ee2f
test rbx, rbx
je 0x14000eddd
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 0x14000ee90
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 0x14000edc4
test rbx, rbx
je 0x14000ee90
lea rdx, str.vbox
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000eef6
lea rdx, str.vmware
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000eef6
lea rdx, str.qemu
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000eef6
lea rdx, str.virtual
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000eef6
inc r14d
lea r8, [rsp + 0x48]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000ed90
test rbx, rbx
je 0x14000eeba
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 0x14000eef2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
jne 0x14000eefd
mov eax, ebp
jmp 0x14000eeff
mov ebp, 1
jmp 0x14000eeb1
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140016140
mov rbp, qword [rsp + 0x98]
add rsp, 0x70
pop rsi
ret
Function at 0x14000f640
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140027010]
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.140015420
test eax, eax
je 0x14000f823
lea r8, str.rootWMI
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.140015270
test eax, eax
je 0x14000f821
mov qword [rsp + 0x90], rsi
lea rcx, [0x140021b60]
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 0x14000f73c
test rax, rax
je 0x14000f733
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, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov rdx, rsi
call r10
test eax, eax
jns 0x14000f733
lea rcx, str.ExecQuery
mov r14d, ebx
call fcn.140012b60
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 0x14000f752
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x98]
test r14d, r14d
mov r14, qword [rsp + 0xa0]
je 0x14000f821
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x30], ebx
test rcx, rcx
je 0x14000f7fd
nop
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 0x14000f7f8
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 0x14000f7e6
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 0x14000f780
jmp 0x14000f7fd
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000f7fd
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.140016140
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14000f840
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x14001d8e0]
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.140015270
test eax, eax
je 0x14000fa2c
mov qword [rsp + 0xa0], rsi
lea rcx, [0x140021b60]
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 0x14000f930
test rax, rax
je 0x14000f927
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 0x14000f927
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.140012b60
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 0x14000f946
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb0]
je 0x14000fa2c
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14000fa08
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 + 0x20]
mov ebx, r15d
cmp dword [rbp - 0x18], ebx
je 0x14000fa08
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 0x14000f9d0
cmp qword [rbp - 0x28], rbx
je 0x14000f9ef
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 0x14000f980
jmp 0x14000fa08
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.140016140
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret