joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac920
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4acb5b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
nop
call sym.crypto_internal_boring_sig.StandardCrypto.abi0
xorps xmm15, xmm15
mov r14, qword [0x006235f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add qword [rcx + 0x68], rax
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jle 0x4aca6a
nop dword [rax]
cmp rdx, 0x40
ja 0x4acb4d
lea rsi, [rdx - 0x40]
mov rdi, rsi
neg rsi
sar rdi, 0x3f
and rdi, rdx
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x20]
cmp rax, rsi
cmovl rsi, rax
mov qword [rsp + 0x28], rsi
mov rbx, qword [rsp + 0x60]
cmp rbx, rdx
je 0x4ac9d9
mov rax, rdx
mov rcx, rsi
nop
call sym.runtime.memmove
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x60]
add rdx, rsi
mov qword [rcx + 0x60], rdx
cmp rdx, 0x40
jne 0x4aca41
mov qword [rsp], rcx
lea rax, [rcx + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call sym.crypto_sha256.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x006235f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
cmp rax, rsi
jb 0x4acb42
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rax
sub r8, rsi
add rbx, rdx
jmp 0x4aca77
mov r8, rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmp r8, 0x40
jl 0x4acaf5
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call sym.crypto_sha256.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x006235f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x30]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
test r8, r8
je 0x4acb38
lea rdx, [rcx + 0x20]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
cmp rbx, rdx
je 0x4acb34
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
nop dword [rax + rax]
call sym.runtime.memmove
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x60], rsi
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rcx, rax
mov rax, rsi
call sym.runtime.panicSliceB
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.crypto_sha256._digest_.Write
Function at 0x4b41e0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4b41f7
inc rax
cmp rax, 4
jge 0x4b420f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4b41f4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4b4220
inc rax
cmp rax, 4
jge 0x4b422e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4b4257
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4b423b
jmp 0x4b421d
Function at 0x14000113c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140003040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [0x140003008]
lea r9, [0x140003020]
xorps xmm1, xmm1
lea r8, [section..data]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [0x140003028], xmm1
movdqu xmmword [rsp + 0x30], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x1400011b9
mov r8, qword [0x140003008]
lea edx, [rax + 2]
mov rcx, qword [0x140003020]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
nop dword [rax + rax]
cmp dword [section..data], 5
jbe 0x14000122c
movabs rcx, 0x2000000000000
test qword [0x140003010], rcx
je 0x14000122c
mov rax, qword [0x140003018]
and rax, rcx
cmp rax, qword [0x140003018]
jne 0x14000122c
and dword [rsp + 0x6c], 0
lea rax, str.CalculatorStarted
mov qword [rsp + 0x60], rax
lea rdx, [0x140002389]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x68], 0x12
mov qword [rsp + 0x28], rax
lea rcx, [section..data]
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
call fcn.140001090
mov dword [rsp + 0x28], 1
lea r8, str.ms_calculator:
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001280
add rsp, 0x88
ret

Function at 0x140001890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
xor rdx, rdx
mov ebx, 0x10
div rbx
sub rsp, rdx
sub rsp, 0x50
call fcn.14000191b
push rsi
push rdi
mov rbx, rcx
mov rdi, rdx
mov rsi, rbx
mov eax, dword [rbx + 0x3c]
add rbx, rax
add rbx, 0x88
mov ebx, dword [rbx]
lea rbx, [rbx + rsi]
mov ecx, dword [rbx + 0x20]
lea rcx, [rcx + rsi]
mov r10, rcx
mov edx, dword [rbx + 0x1c]
lea rdx, [rdx + rsi]
mov r8, rdx
xor r12, r12
mov r9, rsi

Function at 0x14000191b
Capabilities:
Access peb ldr_data

Disassembly:
pop rdi
xor rax, rax
mov rax, qword gs:[rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x40], rcx
mov edx, 0x4b95e
call rdi
mov rsi, rax
call 0x140001952
ja 0x1400019b5
outsb dx, byte [rsi]
imul ebp, dword [rsi + 0x65], 0xff590074
invalid
pop rsp
and al, 0x38
call rax
push rax
mov rcx, rsi
mov edx, 0x6a994
call rdi
pop rcx
xor rdx, rdx
call fcn.1400019fc
invalid
Function at 0x140008e30
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 0x140008ef8
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 0x140008ef8
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.140015dc0
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140015dc0
add rsp, 0x70
pop rbx
ret
Function at 0x140009300
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.140009300]
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 0x1400094a3
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 0x14000942b
xor ebx, ebx
cmp dword [rsp + 0x30], ebx
jbe 0x14000942b
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 0x140009418
mov eax, dword [rsp + 0x64]
test al, 0x10
jne 0x1400093f8
test al, 0x20
jne 0x1400093f8
test al, al
js 0x1400093f8
test al, 0x40
je 0x140009410
bt eax, 8
jb 0x1400094ce
test dword [rsp + 0x50], 0x100
jne 0x1400094ce
test al, 1
jne 0x1400094ce
mov eax, dword [rsp + 0x30]
add rbx, rbp
add rsi, rbp
cmp rbx, rax
jb 0x1400093a1
mov rsi, qword [0x140040050]
mov rbp, qword [0x140040058]
cmp rsi, rbp
je 0x1400094a3
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 0x14000949a
mov eax, dword [rsp + 0x64]
test al, 0x10
jne 0x14000949a
test al, 0x20
jne 0x14000949a
test al, al
js 0x14000949a
test al, 0x40
je 0x1400094ce
add rsi, 8
cmp rsi, rbp
jne 0x140009440
xor eax, eax
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140015dc0
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 0x1400094a5
Function at 0x14000b910
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 0x14000bb68
mov edx, 0x5c
lea rcx, [rax + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rsi, rax
test rax, rax
je 0x14000bb68
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 [0x14001c1d4]
mov dword [rsp + 0x20], ecx
movzx ecx, word [0x14001c1d8]
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 0x14000b9f1
mov rdx, rbx
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14000ba34
inc di
cmp di, 0x5a
jb 0x14000b9b1
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.140015dc0
add rsp, 0x458
pop rsi
pop rbx
ret
mov edx, 0x82
lea rax, [rsp + 0x20]
mov ecx, edx
cmp word [rax], r14w
je 0x14000ba50
add rax, 2
sub rcx, 1
jne 0x14000ba40
mov rax, rdx
mov r9d, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14000bab3
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14000baa4
lea r11, [0x14001c1dc]
mov eax, r9d
sub r11, rcx
test rax, rax
je 0x14000baa4
movzx r10d, word [r11 + rcx]
test r10w, r10w
je 0x14000baa4
mov word [rcx], r10w
dec rax
add rcx, 2
sub r8, 1
jne 0x14000ba83
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 0x14000bad0
add rax, 2
sub rcx, 1
jne 0x14000bac0
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14000bb21
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14000bb12
sub rsi, rcx
test r9, r9
je 0x14000bb12
movzx eax, word [rsi + rcx + 2]
test ax, ax
je 0x14000bb12
mov word [rcx], ax
dec r9
add rcx, 2
sub r8, 1
jne 0x14000baf3
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 0x14000bb52
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14000bb52
mov word [rbx], ax
add rbx, 2
sub rdx, 1
jne 0x14000bb30
test rdx, rdx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
xor eax, eax
jmp 0x14000ba02
mov eax, 0x80004005
jmp 0x14000ba1a
Function at 0x14000d5d0
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 0x14000d64a
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14000d600
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 0x14000d692
lea rcx, [0x140021b90]
call fcn.140012d80
jmp 0x14000d721
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14000d60f
mov ecx, ebx
mov rax, rdx
nop
cmp dword [rax], ebx
je 0x14000d676
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14000d660
call rbx
jmp 0x14000d72b
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14000d68b
mov rbx, qword [rdx + rcx*8 + 0x28]
call rbx
jmp 0x14000d72b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000d6ba
lea rcx, str.Process32First
call fcn.140012d80
jmp 0x14000d718
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x14000d6df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14000d721
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000d718
nop
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x14000d6d3
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000d6f0
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.140015dc0
add rsp, 0x270
pop rbx
ret
Function at 0x14000df30
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 0x14000df7b
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14000df90
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.140015dc0
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015dc0
add rsp, 0x30
pop rbx
ret

Function at 0x14000dfb0
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 0x14000dffb
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14000e010
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.140015dc0
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015dc0
add rsp, 0x30
pop rbx
ret

Function at 0x14000e030
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 0x14000e0a7
lea r8, [rsp + 0x20]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14000e0bc
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.140015dc0
add rsp, 0x30
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015dc0
add rsp, 0x30
pop rbx
ret
Function at 0x14000ea80
Capabilities:
Enumerate disk properties

Disassembly:
push rbp
push rsi
push r15
sub rsp, 0x80
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r15d, r15d
lea rcx, [0x1400188e0]
xor r8d, r8d
xor edx, edx
mov esi, r15d
lea r9d, [r15 + 2]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000ec6d
mov qword [rsp + 0xa0], rbx
lea r8, [rsp + 0x50]
mov qword [rsp + 0xb0], r14
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x50], 0x20
mov r14d, r15d
mov dword [rsp + 0x44], r15d
mov ebx, r15d
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000ec37
lea esi, [r15 + 1]
mov qword [rsp + 0xa8], rdi
nop dword [rax + rax]
lea rax, [rsp + 0x44]
mov r8d, esi
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
jne 0x14000eba9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000eba9
test rbx, rbx
je 0x14000eb5a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x44]
mov ecx, 0x40
lea edx, [rax + rax]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000ec02
lea rax, [rsp + 0x44]
mov r8d, esi
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14000eb41
test rbx, rbx
je 0x14000ec02
lea rdx, str.vbox
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000ec26
lea rdx, str.vmware
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000ec26
lea rdx, str.qemu
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000ec26
lea rdx, str.virtual
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000ec26
inc r14d
lea r8, [rsp + 0x50]
mov edx, r14d
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000eb10
mov esi, r15d
test rbx, rbx
je 0x14000ec2f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdi, qword [rsp + 0xa8]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
test eax, eax
je 0x14000ec69
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
cmovne esi, r15d
mov eax, esi
jmp 0x14000ec6f
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140015dc0
add rsp, 0x80
pop r15
pop rsi
pop rbp
ret
Function at 0x14000f3b0
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.140015630
test eax, eax
je 0x14000f593
lea r8, str.rootWMI
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.140015480
test eax, eax
je 0x14000f591
mov qword [rsp + 0x90], rsi
lea rcx, [0x140021cc0]
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 0x14000f4a9
test rax, rax
je 0x14000f4a0
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 0x14000f4a0
lea rcx, str.ExecQuery
mov r14d, ebx
call fcn.140012d80
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 0x14000f4bf
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x98]
test r14d, r14d
mov r14, qword [rsp + 0xa0]
je 0x14000f591
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x30], ebx
test rcx, rcx
je 0x14000f56d
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 0x14000f568
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 0x14000f556
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 0x14000f4f0
jmp 0x14000f56d
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000f56d
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.140015dc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret