joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008a070
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 [0x140159080]
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, [0x14013e118]
mov qword [rbp - 9], rax
lea rax, [0x14013e120]
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 0x14008a23c
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 0x14008a232
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 0x14008a232
cmp dword [rbp + 0x17], 0
mov r14d, edi
jbe 0x14008a229
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 0x14008a21e
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 0x14008a27c
inc ebx
add rdi, 8
cmp ebx, 7
jb 0x14008a200
xor edi, edi
inc r14d
mov ebx, edi
cmp r14d, dword [rbp + 0x17]
jb 0x14008a1c0
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 0x14008a112
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f48b0
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 0x14008a24f
Function at 0x14008a550
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x14013d910]
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.140091570
test eax, eax
je 0x14008a76a
mov qword [rsp + 0xa0], rsi
lea rcx, [0x140141da0]
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 0x14008a64a
test rax, rax
je 0x14008a641
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 0x14008a641
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.14008f300
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 0x14008a660
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb8]
je 0x14008a748
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x14008a728
nop
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 0x14008a724
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 0x14008a707
movzx eax, word [rbp - 0x30]
cmp ax, r12w
je 0x14008a707
test al, 8
je 0x14008a6fd
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 0x14008a724
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x14008a690
jmp 0x14008a728
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.1400f48b0
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x14008a752
Function at 0x14008ca90
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 [0x140159080]
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.140091170
test eax, eax
je 0x14008cbb0
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.140088200
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008cc69
test al, 0x10
jne 0x14008cc69
cmp byte [0x1401757f1], 0
je 0x14008ccbd
lea rdx, [rbp - 0x60]
lea rcx, str.____s
call fcn.14008b640
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008cc34
mov ebx, 0x5f
sub rbx, rax
je 0x14008cc62
nop dword [rax + rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, 1
jne 0x14008cc50
mov ecx, 1
jmp 0x14008ccb8
cmp byte [0x1401757f1], 0
je 0x14008ccbd
lea rdx, [rbp - 0x60]
lea rcx, str.____s
call fcn.14008b640
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008cc90
mov ebx, 0x5f
sub rbx, rax
je 0x14008ccb6
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, 1
jne 0x14008cca4
xor ecx, ecx
call fcn.14008f240
inc rdi
cmp rdi, 0xd
jl 0x14008cbb0
call fcn.140091170
test eax, eax
je 0x14008ccdd
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.1400f48b0
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14008cdb0
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 [0x140159080]
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.140091170
test eax, eax
je 0x14008ceb0
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.140088200
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008cf69
test al, 0x10
jne 0x14008cf69
cmp byte [0x1401757f1], 0
je 0x14008cfbd
lea rdx, [rbp - 0x80]
lea rcx, str.____s
call fcn.14008b640
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008cf34
mov ebx, 0x5f
sub rbx, rax
je 0x14008cf62
nop dword [rax + rax]
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, 1
jne 0x14008cf50
mov ecx, 1
jmp 0x14008cfb8
cmp byte [0x1401757f1], 0
je 0x14008cfbd
lea rdx, [rbp - 0x80]
lea rcx, str.____s
call fcn.14008b640
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008cf90
mov ebx, 0x5f
sub rbx, rax
je 0x14008cfb6
lea rcx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008b640
sub rbx, 1
jne 0x14008cfa4
xor ecx, ecx
call fcn.14008f240
inc rdi
cmp rdi, 0xa
jl 0x14008ceb0
call fcn.140091170
test eax, eax
je 0x14008cfde
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.1400f48b0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14008d010
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea rdx, [0x140173da0]
mov ecx, ebx
mov rax, rdx
nop dword [rax]
cmp dword [rax], ebx
je 0x14008d08a
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14008d040
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 0x14008d0d2
lea rcx, [0x140141c68]
call fcn.14008f300
jmp 0x14008d161
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14008d04f
mov ecx, ebx
mov rax, rdx
nop
cmp dword [rax], ebx
je 0x14008d0b6
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x14008d0a0
call rbx
jmp 0x14008d16b
movsxd rax, ecx
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], bl
je 0x14008d0cb
mov rbx, qword [rdx + rcx*8 + 0x28]
call rbx
jmp 0x14008d16b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14008d0fa
lea rcx, str.Process32First
call fcn.14008f300
jmp 0x14008d158
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
jne 0x14008d11f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14008d161
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14008d158
nop
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x14008d113
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14008d130
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.1400f48b0
add rsp, 0x270
pop rbx
ret

Function at 0x14008d190
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 [0x140159080]
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 0x14008d258
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 0x14008d258
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.1400f48b0
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f48b0
add rsp, 0x70
pop rbx
ret
Function at 0x14008d270
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x458
mov rax, qword [0x140159080]
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 0x14008d4c8
mov edx, 0x5c
lea rcx, [rax + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rsi, rax
test rax, rax
je 0x14008d4c8
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 [0x140140aac]
mov dword [rsp + 0x20], ecx
movzx ecx, word [0x140140ab0]
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 0x14008d351
mov rdx, rbx
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14008d394
inc di
cmp di, 0x5a
jb 0x14008d311
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.1400f48b0
add rsp, 0x458
pop rsi
pop rbx
ret
mov edx, 0x82
lea rax, [rsp + 0x20]
mov ecx, edx
cmp word [rax], r14w
je 0x14008d3b0
add rax, 2
sub rcx, 1
jne 0x14008d3a0
mov rax, rdx
mov r9d, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14008d413
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14008d404
lea r11, [0x14010ab18]
mov eax, r9d
sub r11, rcx
test rax, rax
je 0x14008d404
movzx r10d, word [r11 + rcx]
test r10w, r10w
je 0x14008d404
mov word [rcx], r10w
dec rax
add rcx, 2
sub r8, 1
jne 0x14008d3e3
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 0x14008d430
add rax, 2
sub rcx, 1
jne 0x14008d420
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r14
je 0x14008d481
mov r8, rdx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub r8, rax
je 0x14008d472
sub rsi, rcx
test r9, r9
je 0x14008d472
movzx eax, word [rsi + rcx + 2]
test ax, ax
je 0x14008d472
mov word [rcx], ax
dec r9
add rcx, 2
sub r8, 1
jne 0x14008d453
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 0x14008d4b2
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14008d4b2
mov word [rbx], ax
add rbx, 2
sub rdx, 1
jne 0x14008d490
test rdx, rdx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
xor eax, eax
jmp 0x14008d362
mov eax, 0x80004005
jmp 0x14008d37a
Function at 0x140090b70
Capabilities:
Check process job object
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r12d, r12d
mov ecx, 0x2010
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140090d5e
mov rdi, rax
xor eax, eax
mov ecx, 0x2010
rep stosb byte [rdi], al
mov dword [r14 + 4], 0x400
mov qword [rsp + 0x20], r12
mov r9d, 0x2010
mov r8, r14
lea edx, [rax + 3]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x140090d55
mov esi, r12d
mov ebp, r12d
mov eax, dword [r14]
test eax, eax
je 0x140090d4f
mov eax, ebp
mov rdi, qword [r14 + rax*8 + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp rdi, rax
jne 0x140090c1b
inc esi
jmp 0x140090d42
mov r8d, edi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140090d42
mov ecx, 0x2000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140090d39
mov rdi, rax
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x140090d30
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140006760
nop
lea rdx, str.WindowsSystem32conhost.exe
lea rcx, [rsp + 0x30]
call fcn.140006760
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400065e0
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140090ce6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090ce0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090d90
call fcn.1400f48d0
nop
lea eax, [rsi + 1]
cmp rdi, 0xffffffffffffffff
cmove eax, esi
mov esi, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140090d30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090d2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090d97
call fcn.1400f48d0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
mov eax, dword [r14]
cmp ebp, eax
jb 0x140090c00
cmp esi, eax
setne r12b
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r12d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f48b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140091230
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140159080]
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 0x1400912fc
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 0x1400912f1
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400912f1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400912fe
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.1400f48b0
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret

Function at 0x140091320
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 [0x140159080]
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 0x14009137e
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo._n
call fcn.14008b640
lea eax, [rdi - 1]
jmp 0x140091442
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400913e4
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 0x1400913d6
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.140002250
lea eax, [rbx + 1]
jmp 0x140091442
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14009142c
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 0x14009141d
cmp dx, word [rax + 0x198]
jne 0x14009141d
cmp cl, byte [rax + 0x19a]
je 0x140091427
mov rax, qword [rax]
test rax, rax
jne 0x140091403
jmp 0x14009142c
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.1400f48b0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret