joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140082ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400c1209], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x140082d88
lea rdx, [0x1400abc7a]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140082df0
mov rbx, qword [0x1400c10a8]
jmp 0x140082d25
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x140082d20
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x140082d77
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.140072110
mov r8, rax
cmp rdi, rbx
jne 0x140082d60
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400c10a8], rax
mov ebx, dword [rax]
mov qword [0x1400c10a8], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400c10a8], rdx
call fcn.140081e10
cmp eax, ebx
jne 0x140082e77
mov byte [0x1400c1209], 1
jmp 0x140082d00
cmp byte [0x1400c1208], 0
jne 0x140082d17
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x1400c1d88], rax
call rbx
mov qword [0x1400c1d80], rax
call rbx
mov qword [0x1400c1d78], rax
call rbx
mov qword [0x1400c1d70], rax
call rbx
mov qword [0x1400c1d68], rax
call rbx
mov qword [0x1400c1d60], rax
call rbx
mov qword [0x1400c1d58], rax
call rbx
mov byte [0x1400c1208], 1
mov qword [0x1400c1d50], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x1400c10a0], rax
jmp 0x140082d17
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14008b760
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14009cef0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14009cef0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14008c432
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400c2248]
test eax, eax
je 0x14008c4ca
lea rax, [0x1400c2220]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400c2250]
mov qword [rbp - 8], rax
jmp 0x14008c4ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14008c4a2
cmp qword [rbp - 0x10], 0
je 0x14008c4a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14008c468
lea rax, [0x1400c2220]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14008c4cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14008c5d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14008c5f8
mov eax, 0
jmp 0x14008c646
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14008c621
mov eax, 0
jmp 0x14008c646
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14008c641
mov eax, 0
jmp 0x14008c646
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14008c64c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14008c6ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14008c6c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14008c6c1
mov rax, qword [rbp - 8]
jmp 0x14008c6df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14008c694
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180004780
Capabilities:
Check mutex on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
call sym.crypt_file::proc_sens::sensitive_processes::h0a70f3bdab0748cc
lea rax, [0x18010e53a]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x30], 0x4a2a2c87
mov edx, dword [rsp + 0x30]
call sym.obfstr::xref::inner::hda164ddfa00b64ca
mov ecx, 0xe914427
xor ecx, dword [rax]
movzx eax, byte [rax + 4]
xor al, 0x8d
mov dword [rsp + 0x28], ecx
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x28]
mov r8d, 5
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h665e439864441071
xor eax, eax
cmp rax, qword [rsp + 0x58]
jno 0x18000496d
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
xor ecx, ecx
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_CreateMutexA
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x180004945
call sym.crypt_file::ssn_solving::setup_ssn_solving::hb63483954d26531d
mov ecx, 0x7d0
call sym.crypt_file::sleepModule::sleepModule::h232d199f15a75f5e
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov r14d, 1
mov ecx, 0xfbd5
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x1800049a7
mov rbx, rax
movabs r12, 0x8000000000000000
lea rdx, [0x180105490]
mov r8d, 0xfbd5
mov rcx, rax
call fcn.180102e60
lea rax, [0x180115065]
nop word cs:[rax + rax]
lea ecx, [r14 - 1]
and ecx, 0x1e
movzx ecx, byte [rcx + rax]
xor byte [rbx + r14 - 1], cl
cmp r14, 0xfbd5
je 0x1800048ad
mov ecx, r14d
and ecx, 0x1f
movzx ecx, byte [rcx + rax]
xor byte [rbx + r14], cl
add r14, 2
jmp 0x180004880
mov ecx, 0x40000
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_HeapCreate
mov r14, rax
mov r8d, 0xfbd5
mov rcx, rax
mov edx, 8
call sub.kernel32.dll_HeapAlloc
mov r15, rax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x180004932
mov ecx, 0xfa0
call sym.crypt_file::sleepModule::sleepModule::h232d199f15a75f5e
lea rcx, [rsp + 0x30]
call sym.crypt_file::amsi_care::setup_bypass::h42c038a11bae8e38
mov rdx, qword [rsp + 0x30]
cmp rdx, r12
je 0x180004911
test rdx, rdx
je 0x180004911
mov rcx, qword [rsp + 0x38]
mov r8d, 1
call sym.__rust_dealloc
mov r8d, 0xfbd5
mov rcx, r15
mov rdx, rbx
call sub.msvcrt.dll_memmove
call r15
mov rcx, r14
xor edx, edx
mov r8, r15
call fcn.180102384
mov edx, 0xfbd5
mov r8d, 1
mov rcx, rbx
call sym.__rust_dealloc
mov byte [rdi], 0
test rsi, rsi
je 0x18000495e
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rax, [0x180105478]
mov qword [rsp + 0x20], rax
lea r9, fcn.1800044e0
lea r8, [rsp + 0x30]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
jmp 0x1800049b6
mov ecx, 1
mov edx, 0xfbd5
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
ud2
Function at 0x180007830
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x10
lea rsi, [rsp + 0x50]
lea rdi, [rsp + 0x30]
nop word cs:[rax + rax]
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
je 0x18000790b
mov rax, qword [rbx + 0x60]
movzx ecx, word [rbx + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call sym.murmur3::murmur3_32::murmur3_32::h5cd6b985e4ec46f0
cmp dword [rsp + 0x50], 1
je 0x180007914
cmp dword [rsp + 0x54], 0xaddfe535
jne 0x180007860
mov rsi, qword [rbx + 0x30]
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xa2b1807f
call sym._ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h7ff676faf173f3aeE.llvm.11158661709550262550
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xced7e31f
call sym._ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h7ff676faf173f3aeE.llvm.11158661709550262550
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0x91c3ed4a
call sym._ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h7ff676faf173f3aeE.llvm.11158661709550262550
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xb2036547
call sym._ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h7ff676faf173f3aeE.llvm.11158661709550262550
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xa596d8ce
call sym._ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h7ff676faf173f3aeE.llvm.11158661709550262550
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, str.src_ssn_solving.rs
mov qword [rsp + 0x20], rax
lea r9, sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hb32aab8aa067a8aeE.llvm.11158661709550262550
lea r8, [rsp + 0x48]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
ud2
Function at 0x180007960
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
cmp word [rdx], 0x5a4d
jne 0x180007a8c
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x180007a8c
mov ebx, r8d
mov qword [rsp + 0x28], rcx
mov eax, dword [rdi + rax + 0x88]
mov r14d, dword [rax + rdi + 0x20]
add r14, rdi
mov ecx, dword [rax + rdi + 0x14]
mov qword [rsp + 0x48], rcx
mov ebp, dword [rax + rdi + 0x18]
mov ecx, dword [rax + rdi + 0x1c]
add rcx, rdi
mov qword [rsp + 0x38], rcx
mov eax, dword [rax + rdi + 0x24]
add rax, rdi
mov qword [rsp + 0x40], rax
xor r13d, r13d
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x60]
xor eax, eax
nop word [rax + rax]
cmp rax, rbp
je 0x180007aa3
mov rsi, rax
mov eax, dword [r14 + rax*4]
add rax, rdi
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180007a00
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call sym.murmur3::murmur3_32::murmur3_32::h5cd6b985e4ec46f0
cmp dword [rsp + 0x50], 1
je 0x180007ac4
lea rax, [rsi + 1]
cmp dword [rsp + 0x54], ebx
jne 0x1800079e0
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rsi*2]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jae 0x180007af4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + rcx*4]
cmp byte [rax + rdi], 0x4c
mov rcx, qword [rsp + 0x28]
jne 0x180007a8c
add rax, rdi
cmp byte [rax + 1], 0x8b
jne 0x180007a8c
cmp byte [rax + 2], 0xd1
jne 0x180007a8c
cmp byte [rax + 3], 0xb8
jne 0x180007a8c
cmp byte [rax + 6], 0
jne 0x180007a8c
cmp byte [rax + 7], 0
je 0x180007aaa
xor r13d, r13d
mov qword [rcx], r13
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x28]
jmp 0x180007a8f
movzx edx, byte [rax + 4]
or dl, byte [rax + 5]
movzx edx, dl
mov qword [rcx + 8], rax
mov word [rcx + 0x10], dx
mov r13d, 1
jmp 0x180007a8f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.src_ssn_solving.rs
mov qword [rsp + 0x20], rax
lea r9, sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hb32aab8aa067a8aeE.llvm.11158661709550262550
lea r8, [rsp + 0x30]
mov ecx, 1
xor edx, edx
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
ud2
lea r8, str.src_ssn_solving.rs
call sym.core::panicking::panic_bounds_check::h2af885eb59ed1636
mov rsi, rax
lea rcx, [rsp + 0x30]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17hb32aab8aa067a8aeE.llvm.11158661709550262550
mov rcx, rsi
call sym._Unwind_Resume
call sym.core::panicking::panic_in_cleanup::h78403c559e394d35
int3
Function at 0x18000e650
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x180104328]
jmp sym.std::sys::thread_local::os::Storage_T_::get::hd9dd4a809a276262
Function at 0x180011bc0
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x40
cmp qword [rcx + 0x88], 0
je 0x180011c2c
mov rsi, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 0x58]
lea r9, [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x180011c06
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x90], rax
mov al, 1
add rsp, 0x40
pop rsi
ret
call sym.windows_result::error::Error::from_win32::h9ec3aecf1ff2f56f
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x28], 1
test rax, rax
je 0x180011c2c
lea rcx, [rsp + 0x30]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
xor eax, eax
add rsp, 0x40
pop rsi
ret

Function at 0x180011d30
Capabilities:
Get disk size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x180011dd9
mov rbx, qword [rcx + 8]
lea rsi, [rsp + 0x30]
shl rax, 5
lea r14, [rax + rax*4]
xor r15d, r15d
lea rdi, [rsp + 0x20]
jmp 0x180011d89
mov rax, qword [rsp + 0x20]
mov qword [rbx + r15 + 0x90], rax
add r15, 0xa0
cmp r14, r15
je 0x180011dd9
cmp qword [rbx + r15 + 0x88], 0
je 0x180011d7d
mov qword [rsp + 0x20], 0
mov rcx, qword [rbx + r15 + 0x58]
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
jne 0x180011d70
call sym.windows_result::error::Error::from_win32::h9ec3aecf1ff2f56f
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x28], 1
test rax, rax
je 0x180011d7d
mov rcx, rsi
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
jmp 0x180011d7d
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180014370
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rcx, [0x180116c18]
lea r9, [0x180116c08]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1800143f6
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x180014436
cmp qword [rsi], 0
je 0x1800143db
mov rcx, rsi
call sym.__windows_core::unknown::IUnknown_as_core::ops::drop::Drop_::drop::h659523cb82d64178
mov qword [rsi], rbx
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsi]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
mov qword [rdi + 8], rax
jmp 0x180014442
lea rbx, [rsp + 0x38]
mov ecx, eax
call sym._ZN108__LT_windows_result..error..Error_u20_as_u20_core..convert..From_LT_windows_result..hresult..HRESULT_GT__GT_4from17h6940
mov r14, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
cmp qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 1
jne 0x180014427
mov rcx, rbx
call sym.__windows_core::unknown::IUnknown_as_core::ops::drop::Drop_::drop::h659523cb82d64178
test r14, r14
je 0x180014436
lea rcx, [rsp + 0x48]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
mov byte [rdi + 0x18], 2
mov rcx, rsi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::h662fdd99263139d3
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1800149b0
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 8], 0
je 0x180014b2f
lea rcx, [0x180116c3a]
call sub.oleaut32.dll_SysAllocString
mov r15, rax
mov qword [rsp + 0x38], rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov qword [rsp + 0x40], rax
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x48], 0
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov qword [rsp + 0x50], 1
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 1
lea r14, [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
lea r12, [rsp + 0x78]
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, r15
mov r8, rax
mov r9d, 0x30
call r10
test eax, eax
js 0x180014a8d
mov r15, qword [rsp + 0x48]
xor r13d, r13d
test r15, r15
sete r13b
xor ebp, ebp
test byte [rsp + 0x70], 1
jne 0x180014aae
jmp 0x180014aa6
mov ecx, eax
call sym._ZN108__LT_windows_result..error..Error_u20_as_u20_core..convert..From_LT_windows_result..hresult..HRESULT_GT__GT_4from17h6940
mov r15, rax
mov ebp, edx
mov r13d, 1
test byte [rsp + 0x70], 1
jne 0x180014aae
mov rcx, r12
call sym.__windows_core::unknown::IUnknown_as_core::ops::drop::Drop_::drop::h659523cb82d64178
test byte [rsp + 0x60], 1
jne 0x180014abd
mov rcx, r14
call sym.__windows_core::strings::bstr::BSTR_as_core::ops::drop::Drop_::drop::hdd94d06c21dc0917
test byte [rsp + 0x50], 1
jne 0x180014acc
mov rcx, rbx
call sym.__windows_core::strings::bstr::BSTR_as_core::ops::drop::Drop_::drop::hdd94d06c21dc0917
mov rcx, qword [rsp + 0x38]
call fcn.18010202c
mov rcx, qword [rsp + 0x40]
call fcn.18010202c
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r15
mov dword [rsp + 0x90], ebp
lea rcx, [rsp + 0x40]
call sym.__windows_core::strings::bstr::BSTR_as_core::ops::drop::Drop_::drop::hdd94d06c21dc0917
lea rcx, [rsp + 0x38]
call sym.__windows_core::strings::bstr::BSTR_as_core::ops::drop::Drop_::drop::hdd94d06c21dc0917
mov r14, qword [rsp + 0x88]
test byte [rsp + 0x80], 1
je 0x180014b3d
test r14, r14
je 0x180014b2f
lea rcx, [rsp + 0x88]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
mov byte [rdi + 0x18], 2
mov rcx, rsi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::h662fdd99263139d3
jmp 0x180014b6a
cmp qword [rsi + 0x10], 0
je 0x180014b50
lea rbx, [rsi + 0x10]
mov rcx, rbx
call sym.__windows_core::unknown::IUnknown_as_core::ops::drop::Drop_::drop::h659523cb82d64178
mov qword [rsi + 0x10], r14
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rsi + 0x18]
mov qword [rdi + 0x18], rax
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1800157b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015857
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x18001584f
je 0x1800157f0
test rdi, rdi
je 0x1800157f4
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1800157f6
mov rbx, qword [rdi + 8]
jmp 0x1800157f6
xor eax, eax
jmp 0x18001584f
xor ebx, ebx
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x180015871
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1801024ec
test rdi, rdi
je 0x18001584c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1800157d4
jmp 0x18001584f
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
int3

Function at 0x180015890
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015933
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x18001592b
je 0x180015929
test rdi, rdi
je 0x1800158cc
test byte [rdi], 1
mov dword [rdi], 0
je 0x1800158cc
mov rdi, qword [rdi + 4]
jmp 0x1800158ce
xor edi, edi
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x18001594d
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1801024ec
test rdi, rdi
je 0x180015924
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x18001592b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h9918f0af148d1982
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1800158b4
jmp 0x18001592b
mov ecx, 4
mov edx, 0xc
call sym.alloc::alloc::handle_alloc_error::hcd217d9ce9262906
int3