joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038630
Capabilities:
Create process on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rbp + 0x220], rax
lea rcx, str.OpenTaskschdWindowNormal_Start
call fcn.140036ce0
xor ebx, ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x1400386b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WTSQueryUserToken_Fail:__u
call fcn.140037200
lea rcx, str.OpenTaskmgrWindowNormal_End_r_n
call fcn.140036ce0
jmp 0x140038811
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140059e60
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x70], 0x68
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x34], 1
mov eax, 5
mov word [rbp - 0x30], ax
movdqa xmm0, xmmword [0x1400ac8a0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], bx
lea r8d, [rax + 0xf]
lea rdx, str.mmc.exe_taskschd.msc
lea rcx, [rbp]
call fcn.140001a50
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x20]
call fcn.140059e60
lea r8, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r8, qword [rbp]
mov edx, 0x100
lea rcx, [rbp + 0x20]
call fcn.140067d98
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, str.C:WindowsSystem32_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x430
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1400387a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_taskschd.msc_Fail:__u
call fcn.140037200
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.OpenTaskschdWindowNormal_End_r_n
call fcn.140036ce0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140038811
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003880c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038831
call fcn.140055724
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140055700
mov rbx, qword [rsp + 0x340]
add rsp, 0x330
pop rbp
ret
call fcn.14005c4ec
int3
Function at 0x140039650
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rdx + 0x18], 8
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x58], r9d
jb 0x14003967c
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
je 0x140039782
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400396b3
mov rdx, qword [rbx]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140039782
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14003972d
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140039728
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039874
mov rcx, r8
call fcn.140055724
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14003977b
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140039776
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039874
mov rcx, r8
call fcn.140055724
xor al, al
jmp 0x140039850
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x14003978f
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400397c9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400396ee
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140039804
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400397ff
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039874
mov rcx, r8
call fcn.140055724
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14003984e
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140039849
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039874
mov rcx, r8
call fcn.140055724
mov al, 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140055700
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
call fcn.14005c4ec
int3
Function at 0x140039880
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
mov rsi, r8
cmp qword [rcx + 0x18], 8
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x40], edi
jb 0x1400398b6
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov rdx, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400398e4
xor bl, bl
jmp 0x140039987
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400398f1
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400398dd
mov ecx, dword [rsp + 0x30]
call fcn.140055768
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.140059e60
cmp qword [rbx + 0x18], 8
jb 0x14003993c
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140039969
xor bl, bl
jmp 0x14003997a
cmp dword [rsp + 0x40], 4
je 0x140039974
xor bl, bl
jmp 0x14003997a
mov eax, dword [rdi]
mov bl, 1
mov dword [rsi], eax
test rdi, rdi
je 0x140039987
mov rcx, rdi
call fcn.140055724
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140055700
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003a140
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x14003a263
xor edx, edx
mov qword [rsp + 0x490], rdi
mov r8d, 0x400
lea rcx, [rsp + 0x70]
call fcn.140059e60
mov r8d, 0x400
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor eax, eax
lea r8, [0x1400aa470]
mov qword [rsp + 0x60], rax
lea rdx, str.ASUSSystemDiagnosis
mov qword [rsp + 0x58], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x50], rax
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
test rax, rax
jne 0x14003a219
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x14003a25b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x14003a247
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14003a25b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rdi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140055700
add rsp, 0x480
pop rbx
ret

Function at 0x14003a280
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x14003a301
mov r8d, 0xf01ff
lea rdx, str.ASUSSystemDiagnosis
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x14003a301
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x14003a303
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140055700
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14003a320
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp ecx, 1
jle 0x14003a42d
mov rdi, qword [rdx + 8]
lea rdx, [0x1400aa488]
mov rcx, rdi
call fcn.140085ae0
test eax, eax
je 0x14003a372
lea rdx, str._install
mov rcx, rdi
call fcn.140085ae0
test eax, eax
jne 0x14003a389
call fcn.14003a140
test al, al
jne 0x14003a522
mov eax, 0xffffffff
jmp 0x14003a524
xor ebx, ebx
lea rdx, [0x1400aa4a8]
mov ecx, ebx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14003a3bd
cmp rcx, 8
jne 0x14003a3a0
call fcn.14003a280
jmp 0x14003a522
lea rcx, str._remove
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rbx]
inc rbx
cmp al, byte [rcx + rbx - 1]
jne 0x14003a3ed
cmp rbx, 8
jne 0x14003a3d0
call fcn.14003a280
jmp 0x14003a522
lea rdx, [0x1400aa4b8]
mov rcx, rdi
call fcn.140085ae0
test eax, eax
je 0x14003a417
lea rdx, str._console
mov rcx, rdi
call fcn.140085ae0
test eax, eax
jne 0x14003a522
lea rcx, str._AS_HW_Test_RPC_Server_Is_Running..._n
call fcn.140039af0
call fcn.140020a90
jmp 0x14003a522
xor ebx, ebx
mov qword [rsp + 0xa0], rbp
xor edx, edx
mov dword [rsp + 0x24], ebx
xor ecx, ecx
mov dword [rsp + 0x3c], ebx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
lea rbp, str.ASUSSystemDiagnosis
mov rdi, rax
test rax, rax
je 0x14003a4f2
mov r8d, 0xf003f
mov qword [rsp + 0xa8], rsi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x14003a4ea
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea edx, [rbx + 2]
mov dword [rsp + 0x20], 0x15180
mov rcx, rsi
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 1
mov dword [rsp + 0x38], 3
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
je 0x14003a4ea
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0xa8]
xor eax, eax
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, [0x14003a020]
mov qword [rsp + 0x68], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
mov rbp, qword [rsp + 0xa0]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140055700
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x140052fa0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rbp, rdx
mov rsi, rcx
call fcn.1400538a0
test rbp, rbp
je 0x140053136
mov qword [rsp + 0x20], rsi
lea r9, [0x14008eb48]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14008eb18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140053136
mov ecx, SafeArrayPutElement
call fcn.14005572c
mov rbx, rax
mov qword [rsp + 0x88], rax
xor edi, edi
test rax, rax
je 0x14005303d
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140053160
jmp 0x140053040
mov rbx, rdi
mov qword [rsp + 0x88], rbx
test rbx, rbx
je 0x140053155
mov rcx, qword [rsi]
lea r14, [rsi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + SafeArrayPutElement]
mov ebp, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400530c0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400530a1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400530b3
call fcn.140055724
mov qword [rbx + 8], rdi
mov edx, SafeArrayPutElement
mov rcx, rbx
call fcn.140055724
test ebp, ebp
js 0x140053136
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140053136
lea rbx, [rsi + 0x28]
mov qword [rsp + 0x20], rbx
lea r9, [0x14008eb28]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14008eb38]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140053136
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r8, [rsi + 0x30]
lea rdx, [0x14008eb58]
call qword [rax]
test eax, eax
js 0x140053136
mov al, 1
jmp 0x140053140
mov rcx, rsi
call fcn.1400538a0
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140058e30
nop
mov ecx, 0x8007000e
call fcn.140058e30
int3
Function at 0x140053b90
Capabilities:
Reference wmi statements

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov qword [rcx], 0
mov ecx, 0x48
call fcn.14005572c
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov rcx, rax
call fcn.140052ed0
nop
mov qword [rbx], rax
lea rdx, str.ROOTcimv2
mov rcx, rax
call fcn.140052fa0
lea rdx, str.SELECT__FROM_Win32_DiskDrive
mov rcx, qword [rbx]
call fcn.140053170
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140054890
Capabilities:
Reference wmi statements

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov qword [rcx], 0
mov ecx, 0x48
call fcn.14005572c
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov rcx, rax
call fcn.140052ed0
nop
mov qword [rbx], rax
lea rdx, str.ROOTcimv2
mov rcx, rax
call fcn.140052fa0
lea rdx, str.SELECT__FROM_Win32_Battery
mov rcx, qword [rbx]
call fcn.140053170
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140054ef0
Capabilities:
Reference wmi statements

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebx, edx
mov rdi, rcx
xor esi, esi
mov qword [rcx], rsi
lea ecx, [rsi + 0x48]
call fcn.14005572c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov rcx, rax
call fcn.140052ed0
nop
mov qword [rdi], rax
lea rdx, str.ROOTcimv2
mov rcx, rax
call fcn.140052fa0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov r9d, ebx
lea r8, [0x1400ac2b4]
lea edx, [rsi + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005120
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea r8d, [rsi + 0x1c]
lea rdx, str.SELECT__FROM_Win32_Process
lea rcx, [rsp + 0x30]
call fcn.140001a50
nop
lea r8d, [rsi + 0x10]
lea rdx, str.WHERE_Handle___
lea rcx, [rsp + 0x30]
call fcn.140002cf0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140054ff0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140002cf0
mov r8d, 1
lea rdx, [0x1400abad0]
lea rcx, [rsp + 0x30]
call fcn.140002cf0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140053170
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140055079
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055074
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005509e
call fcn.140055724
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140055700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14005c4ec
int3
Function at 0x1400553e0
Capabilities:
Reference wmi statements

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov qword [rcx], rsi
lea ecx, [rsi + 0x48]
call fcn.14005572c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov rcx, rax
call fcn.140052ed0
nop
mov qword [rdi], rax
lea rdx, str.ROOTcimv2
mov rcx, rax
call fcn.140052fa0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea r8d, [rsi + 0x30]
lea rdx, str.SELECT__FROM_Win32_NetworkAdapterConfiguration
lea rcx, [rsp + 0x30]
call fcn.140001a50
nop
lea r8d, [rsi + 0x13]
lea rdx, str.WHERE_SettingID___
lea rcx, [rsp + 0x30]
call fcn.140002cf0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400554aa
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140002cf0
mov r8d, 1
lea rdx, [0x1400abad0]
lea rcx, [rsp + 0x30]
call fcn.140002cf0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140053170
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140055527
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055522
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055549
call fcn.140055724
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140055700
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14005c4ec
int3
Function at 0x140076cf8
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140076cd5
call fcn.140060730
mov dword [rax], SafeArrayPutElement
call fcn.14005c4cc
or eax, 0xffffffff
jmp 0x140076cf2
sub dword [rcx + 0x10], 1
jns 0x140076ce4
add rsp, 0x28
jmp 0x140081218
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140076cb4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14008124a
call fcn.140060730
mov dword [rax], SafeArrayPutElement
call fcn.14005c4cc
jmp 0x140081366
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140081366
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140081366
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140081279
lock or dword [rcx + 0x14], 0x10
jmp 0x140081366
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14008128d
call fcn.14008138c
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.1400745c8
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.140084cd4
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140081354
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x14008131f
mov rcx, rdi
call fcn.1400745c8
cmp eax, esi
je 0x14008130a
mov rcx, rdi
call fcn.1400745c8
cmp eax, 0xfffffffe
je 0x14008130a
mov rcx, rdi
call fcn.1400745c8
movsxd rbx, eax
lea r14, [0x1400c11c0]
mov rcx, rdi
sar rbx, 6
call fcn.1400745c8
mov rdx, qword [r14 + rbx*8]
and eax, 0x3f
shl rax, 6
add rdx, rax
jmp 0x140081311
lea rdx, [0x1400be430]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14008131f
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140081343
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140081343
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140081343
mov dword [rdi + 0x20], 0x1000
add dword [rdi + 0x10], esi
mov rax, qword [rdi]
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140081369
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret