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

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x1400aa750]
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.14002c580
test eax, eax
je 0x140025451
mov qword [rsp + 0xa0], rsi
lea rcx, [0x1400aed20]
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 0x14002532d
test rax, rax
je 0x140025324
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 0x140025324
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.140029bc0
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 0x140025343
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb8]
je 0x14002542f
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14002540b
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 0x14002540b
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 0x1400253f0
cmp word [rbp - 0x30], 8
jne 0x1400253e6
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 0x14002540b
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x140025380
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.14008f700
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x140025439
Function at 0x1400272f0
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 [0x1400be080]
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.14002c180
test eax, eax
je 0x140027410
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.140022740
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400274c9
test al, 0x10
jne 0x1400274c9
cmp byte [0x1400de356], 0
je 0x140027521
lea rdx, [rbp - 0x60]
lea rcx, [0x1400adc80]
call fcn.140025ea0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027494
mov ebx, 0x5f
sub rbx, rax
je 0x1400274c2
nop dword [rax + rax]
lea rcx, [0x1400adc7c]
call fcn.140025ea0
sub rbx, 1
jne 0x1400274b0
mov ecx, 1
jmp 0x140027518
cmp byte [0x1400de356], 0
je 0x140027521
lea rdx, [rbp - 0x60]
lea rcx, [0x1400adc80]
call fcn.140025ea0
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400274f0
mov ebx, 0x5f
sub rbx, rax
je 0x140027516
lea rcx, [0x1400adc7c]
call fcn.140025ea0
sub rbx, 1
jne 0x140027504
xor ecx, ecx
lea rdx, [rbp - 0x60]
call fcn.140029ab0
inc rdi
cmp rdi, 0xd
jl 0x140027410
call fcn.14002c180
test eax, eax
je 0x140027541
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.14008f700
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140027610
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 [0x1400be080]
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.14002c180
test eax, eax
je 0x140027710
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.140022740
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400277c9
test al, 0x10
jne 0x1400277c9
cmp byte [0x1400de356], 0
je 0x140027821
lea rdx, [rbp - 0x80]
lea rcx, [0x1400adc80]
call fcn.140025ea0
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027794
mov ebx, 0x5f
sub rbx, rax
je 0x1400277c2
nop dword [rax + rax]
lea rcx, [0x1400adc7c]
call fcn.140025ea0
sub rbx, 1
jne 0x1400277b0
mov ecx, 1
jmp 0x140027818
cmp byte [0x1400de356], 0
je 0x140027821
lea rdx, [rbp - 0x80]
lea rcx, [0x1400adc80]
call fcn.140025ea0
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400277f0
mov ebx, 0x5f
sub rbx, rax
je 0x140027816
lea rcx, [0x1400adc7c]
call fcn.140025ea0
sub rbx, 1
jne 0x140027804
xor ecx, ecx
lea rdx, [rbp - 0x80]
call fcn.140029ab0
inc rdi
cmp rdi, 0xa
jl 0x140027710
call fcn.14002c180
test eax, eax
je 0x140027842
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14008f700
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140027870
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea rdx, [0x1400dcb50]
mov ecx, ebx
mov rax, rdx
nop dword [rax]
cmp dword [rax], ebx
je 0x1400278ea
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x1400278a0
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 0x140027932
lea rcx, [0x1400aebe0]
call fcn.140029bc0
jmp 0x1400279c1
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x1400278af
mov ecx, ebx
mov rax, rdx
nop
cmp dword [rax], ebx
je 0x140027916
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x140027900
call rbx
jmp 0x1400279cb
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14002792b
mov rbx, qword [rdx + rcx*8 + 0x28]
call rbx
jmp 0x1400279cb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14002795a
lea rcx, str.Process32First
call fcn.140029bc0
jmp 0x1400279b8
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x14002797f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x1400279c1
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400279b8
nop
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x140027973
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140027990
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.14008f700
add rsp, 0x270
pop rbx
ret

Function at 0x1400279f0
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 [0x1400be080]
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 0x140027ab8
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 0x140027ab8
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.14008f700
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008f700
add rsp, 0x70
pop rbx
ret
Function at 0x140027ad0
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x458
mov rax, qword [0x1400be080]
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 0x140027d28
mov edx, 0x5c
lea rcx, [rax + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rsi, rax
test rax, rax
je 0x140027d28
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 [0x1400ad8ec]
mov dword [rsp + 0x20], ecx
movzx ecx, word [0x1400ad8f0]
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 0x140027bb1
mov rdx, rbx
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140027bf4
inc di
cmp di, 0x5a
jb 0x140027b71
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.14008f700
add rsp, 0x458
pop rsi
pop rbx
ret
mov edx, 0x82
lea rax, [rsp + 0x20]
mov ecx, edx
cmp word [rax], r14w
je 0x140027c10
add rax, 2
sub rcx, 1
jne 0x140027c00
mov rax, rdx
mov r9d, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x140027c73
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x140027c64
lea r11, [0x1400ad960]
mov eax, r9d
sub r11, rcx
test rax, rax
je 0x140027c64
movzx r10d, word [r11 + rcx]
test r10w, r10w
je 0x140027c64
mov word [rcx], r10w
dec rax
add rcx, 2
sub r8, 1
jne 0x140027c43
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 0x140027c90
add rax, 2
sub rcx, 1
jne 0x140027c80
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x140027ce1
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x140027cd2
sub rsi, rcx
test r9, r9
je 0x140027cd2
movzx eax, word [rsi + rcx + 2]
test ax, ax
je 0x140027cd2
mov word [rcx], ax
dec r9
add rcx, 2
sub r8, 1
jne 0x140027cb3
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 0x140027d12
movzx eax, word [rcx + rbx]
test ax, ax
je 0x140027d12
mov word [rbx], ax
add rbx, 2
sub rdx, 1
jne 0x140027cf0
test rdx, rdx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
xor eax, eax
jmp 0x140027bc2
mov eax, 0x80004005
jmp 0x140027bda
Function at 0x14002c240
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rsi, r8
mov qword [rsp + 0x30], 0
mov rbx, rdx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
mov rdi, r9
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x104
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002c30c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c301
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14002c301
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14002c30e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14008f700
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret

Function at 0x14002c330
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0x2c0
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14002c38e
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo._n
call fcn.140025ea0
lea eax, [rdi - 1]
jmp 0x14002c452
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14002c3f4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14002c3e6
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.140001cc0
lea eax, [rbx + 1]
jmp 0x14002c452
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14002c43c
movzx eax, byte [rsi]
movzx ecx, byte [rsi + 4]
mov byte [rsp + 0x24], al
movzx eax, byte [rsi + 2]
mov byte [rsp + 0x25], al
mov rax, rbx
movzx edx, word [rsp + 0x24]
cmp dword [rax + 0x194], 6
jne 0x14002c42d
cmp dx, word [rax + 0x198]
jne 0x14002c42d
cmp cl, byte [rax + 0x19a]
je 0x14002c437
mov rax, qword [rax]
test rax, rax
jne 0x14002c413
jmp 0x14002c43c
mov edi, 1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008f700
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002c470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
lea rdi, [rsp + 0x20]
xor eax, eax
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 0x14002c4c7
lea rcx, [0x1400aebe0]
call fcn.140029bc0
xor eax, eax
jmp 0x14002c55e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14002c4fa
lea rcx, str.Process32First
call fcn.140029bc0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14002c55e
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14002c551
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14002c544
nop
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14002c551
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002c520
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14002c55e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14008f700
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x14002c580
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov rbx, r8
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14002c5c4
lea rcx, [0x1400aecd0]
call fcn.140029bc0
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x60], rbp
xor r9d, r9d
xor ebp, ebp
xor r8d, r8d
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
lea edx, [rbp - 1]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x14002c613
lea rcx, [0x1400aeca0]
call fcn.140029bc0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x14002c710
xor edx, edx
mov qword [rsp + 0x20], rdi
lea r9, [0x1400aede0]
lea rcx, [0x1400a3908]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002c64f
lea rcx, [0x1400aec78]
call fcn.140029bc0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x14002c710
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x14002c6b3
mov rcx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov rdx, qword [rcx]
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rbp
mov r10, qword [rdx + 0x18]
mov rdx, rax
call r10
mov rcx, rbx
test eax, eax
jns 0x14002c6ad
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, str.ConnectServer
call fcn.140029bc0
jmp 0x14002c6f8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi]
xor r9d, r9d
mov dword [rsp + 0x38], ebp
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14002c70b
lea rcx, [0x1400aed28]
call fcn.140029bc0
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x14002c710
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret