joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023cc0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax]
mov rcx, rax
xor edx, edx
test cl, 3
sete dl
or rdx, rax
or rdx, 0x20
lock cmpxchg qword [rsi], rdx
jne 0x140023cd0
test cl, 3
je 0x140023d18
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x140023d73
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x140023d6b
mov rcx, rsi
add rsp, 0x68
pop rdi
pop rsi
jmp sym.tokio::runtime::task::harness::Harness_T_S_::dealloc::hcf4bf09631d46928
lea rdi, [rsi + 0x20]
mov qword [rsp + 0x48], 4
lea rdx, [rsp + 0x48]
mov rcx, rdi
call sym.tokio::runtime::task::core::Core_T_S_::set_stage::h102c99f5a0f64c17
xor eax, eax
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], 1
lea rdx, [rsp + 0x28]
mov rcx, rdi
call sym.tokio::runtime::task::core::Core_T_S_::set_stage::h102c99f5a0f64c17
mov rcx, rsi
add rsp, 0x68
pop rdi
pop rsi
jmp sym.tokio::runtime::task::harness::Harness_T_S_::complete::hf1c665645dc3d983
nop
add rsp, 0x68
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x140130a40]
mov edx, 0x27
call dbg.panic
ud2

Function at 0x14002d780
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14002d790
test al, 1
je 0x14002d7af
test al, 2
jne 0x14002d7c9
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140130868]
mov edx, 0x23
call dbg.panic
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140130828]
mov edx, 0x25
call dbg.panic
ud2
Function at 0x14002e270
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14002e2a6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002e2bb
mov r14, rax
cmp qword [rax + 8], 0
je 0x14002e2bb
add r14, 0x10
jmp 0x14002e3cb
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002e293
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x14002e3af
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14002e3c8
mov rbx, rax
test rax, rax
jne 0x14002e338
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov rax, qword [0x140166748]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002e3e7
mov rbx, rax
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x14002e3d8
dec ecx
mov rdx, rbx
call fcn.140126534
xor eax, eax
test rsi, rsi
je 0x14002e357
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x14002e359
mov rcx, qword [rsi + 8]
mov eax, dword [rsi + 0x10]
jmp 0x14002e359
xor ecx, ecx
lea r14, [rbx + 0x10]
cmp qword [rbx + 8], 0
mov rsi, qword [rbx + 0x10]
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], rcx
mov byte [rbx + 0x18], al
je 0x14002e3cb
test rsi, rsi
je 0x14002e3cb
dec qword [rsi]
jne 0x14002e3cb
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
jne 0x14002e394
lea rcx, [rsi + 0x10]
call sym.alloc::sync::Arc_T_A_::drop_slow::hd870b55501ed0703
dec qword [rsi + 8]
jne 0x14002e3cb
mov edx, 0x20
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
jmp 0x14002e3cb
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14002e2d7
xor r14d, r14d
mov rax, r14
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
jmp 0x14002e330
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x14002e420
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14002e454
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002e469
mov rsi, rax
cmp qword [rax + 8], 0
je 0x14002e469
add rsi, 8
jmp 0x14002e575
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002e441
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14002e55a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14002e573
mov rsi, rax
test rax, rax
jne 0x14002e4e0
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
mov rax, qword [0x140166748]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002e5a0
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14002e580
dec ecx
mov rdx, rsi
call fcn.140126534
test rdi, rdi
je 0x14002e4f4
mov rax, qword [rdi]
mov qword [rdi], 0
test rax, rax
jne 0x14002e534
mov rax, qword [0x140166748]
movzx eax, byte [rax]
mov ecx, 0x30
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002e58f
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov byte [rax + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x20], xmm0
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rcx
mov qword [rsi], rax
test rcx, rcx
je 0x14002e575
lock dec qword [rcx]
jne 0x14002e575
lea rcx, [rsp + 0x20]
call sym.alloc::sync::Arc_T_A_::drop_slow::h981e64664d6637c4
jmp 0x14002e575
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14002e485
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
jmp 0x14002e4d8
mov ecx, 8
mov edx, 0x30
call dbg.handle_alloc_error
ud2
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x14002e5d0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rdi, qword [rcx]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x14002e5e8
dec ecx
jmp 0x14002e5f2
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.140126534
cmp qword [rsi + 8], 0
je 0x14002e63d
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x14002e63d
dec qword [rbx]
jne 0x14002e63d
mov rax, qword [rbx + 0x10]
lock dec qword [rax]
jne 0x14002e624
lea rcx, [rbx + 0x10]
call sym.alloc::sync::Arc_T_A_::drop_slow::hd870b55501ed0703
dec qword [rbx + 8]
jne 0x14002e63d
mov edx, 0x20
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
mov edx, 0x20
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x14002e65b
dec ecx
jmp 0x14002e665
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
call fcn.140126534
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002e720
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14002e739
dec ecx
jmp 0x14002e743
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.140126534
mov rdi, qword [rsp + 0x30]
cmp qword [rdi + 8], 0
je 0x14002e78a
mov rax, qword [rdi + 0x18]
cmp rax, 2
je 0x14002e78a
lea rcx, [rdi + 0x20]
test rax, rax
je 0x14002e77c
mov rax, qword [rcx]
lock dec qword [rax]
jne 0x14002e78a
call sym.alloc::sync::Arc_T_A_::drop_slow::h86335ceece3bfac7
jmp 0x14002e78a
mov rax, qword [rcx]
lock dec qword [rax]
jne 0x14002e78a
call sym.alloc::sync::Arc_T_A_::drop_slow::hd49ddedda78a998c
mov edx, 0x60
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14002e7a8
dec ecx
jmp 0x14002e7b2
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
call fcn.140126534
nop
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14002e860
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14002e879
dec ecx
jmp 0x14002e883
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.140126534
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002e8aa
lock dec qword [rax]
jne 0x14002e8aa
lea rcx, [rdi + 8]
call sym.alloc::sync::Arc_T_A_::drop_slow::h981e64664d6637c4
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14002e8c8
dec ecx
jmp 0x14002e8d2
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
call fcn.140126534
nop
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14002ffe0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm6
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.KERNEL32.dll_GetLogicalProcessorInformation
mov ebx, dword [rsp + 0x20]
cmp rbx, 0x20
jb 0x140030159
mov eax, ebx
and eax, 0x1f
jne 0x140030159
shr ebx, 5
mov rsi, rbx
shl rsi, 5
mov rax, qword [0x140166748]
movzx eax, byte [rax]
mov edx, 8
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x14003018d
mov rdi, rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetLogicalProcessorInformation
test eax, eax
je 0x140030148
mov ecx, dword [rsp + 0x20]
cmp rcx, 0x20
jb 0x140030148
mov eax, ecx
shr eax, 5
cmp ecx, 0xa0
jae 0x140030080
xor ecx, ecx
xor ebx, ebx
jmp 0x140030109
mov ecx, eax
and ecx, 3
mov edx, 4
cmovne rdx, rcx
mov rcx, rax
sub rcx, rdx
lea rdx, [rdi + 0x68]
pxor xmm1, xmm1
movdqa xmm2, xmmword [0x140131110]
mov r8, rcx
pxor xmm3, xmm3
pxor xmm0, xmm0
nop
movd xmm4, dword [rdx - 0x40]
movd xmm5, dword [rdx - 0x60]
punpckldq xmm5, xmm4
movd xmm4, dword [rdx]
movd xmm6, dword [rdx - 0x20]
punpckldq xmm6, xmm4
pshufd xmm4, xmm5, 0xd4
pcmpeqd xmm4, xmm1
pand xmm4, xmm2
paddq xmm3, xmm4
pshufd xmm4, xmm6, 0xd4
pcmpeqd xmm4, xmm1
pand xmm4, xmm2
paddq xmm0, xmm4
sub rdx, 0xffffffffffffff80
add r8, 0xfffffffffffffffc
jne 0x1400300b0
paddq xmm0, xmm3
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movq rbx, xmm1
sub rax, rcx
shl rcx, 5
add rcx, rdi
add rcx, 8
nop word [rax + rax]
cmp dword [rcx], 1
adc rbx, 0
add rcx, 0x20
dec rax
jne 0x140030120
test rbx, rbx
je 0x140030148
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
jmp 0x14003017d
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov ebx, dword [rsp + 0x40]
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov rdx, rsi
call dbg.handle_alloc_error
ud2

Function at 0x1400301c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140030250
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x30]
mov r8d, 0x118
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x2c], 0x11c
lea rcx, [rsp + 0x2c]
call sub.ntdll.dll_RtlGetVersion
test eax, eax
js 0x14003029d
mov al, 1
cmp dword [rsp + 0x30], 6
ja 0x140030295
sete cl
cmp dword [rsp + 0x34], 3
setae al
and al, cl
add rsp, 0x148
ret
mov al, 1
add rsp, 0x148
ret
Function at 0x140032850
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14003294c
mov rdi, rax
movsxd r13, dword [rsp + 0x2c]
mov qword [rsp + 0x30], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
test r13, r13
je 0x140032931
shl r13, 3
xor ebp, ebp
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x60]
lea r15, [rsp + 0x30]
jmp 0x1400328ea
mov rax, qword [rsp + 0x30]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rsp + 0x58]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + rcx*8], xmm0
inc qword [rsp + 0x40]
add rbp, 8
cmp r13, rbp
je 0x140032931
mov r12, qword [rdi + rbp]
mov rcx, r12
call sub.msvcrt.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], 0
mov rcx, rbx
mov rdx, r14
call sym._ZN95__LT_alloc..string..String_u20_as_u20_core..iter..traits..collect..FromIterator_LT_char_GT__GT_9from_iter17h20a9b37b43eda
mov rdx, qword [rsp + 0x40]
cmp rdx, qword [rsp + 0x38]
jne 0x1400328c0
mov rcx, r15
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h45369f4dfc7a075f
mov rdx, qword [rsp + 0x40]
jmp 0x1400328c0
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x14003295a
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140037410
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x40
lea rcx, [rsp + 0x90]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi + 0xa0], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x1400374fc
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0xb0], r8
mov qword [rsi + 0xb8], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rsi
ret
Function at 0x140038e60
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov dword [rsp + 0x2c], 0
lea r8, [rsp + 0x2c]
mov ecx, 5
xor edx, edx
call sub.KERNEL32.dll_GetComputerNameExW
mov edi, dword [rsp + 0x2c]
test rdi, rdi
je 0x140038eb6
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call sym.__rust_alloc_zeroed
mov rbx, rax
test rax, rax
jne 0x140038ebb
mov ecx, 2
mov rdx, r14
call dbg.handle_alloc_error
ud2
mov ebx, 2
lea r8, [rsp + 0x2c]
mov ecx, 5
mov rdx, rbx
call sub.KERNEL32.dll_GetComputerNameExW
cmp eax, 1
jne 0x140038ef6
test rdi, rdi
je 0x140038f18
lea rax, [rdi + rdi]
xor r8d, r8d
nop
cmp word [rbx + r8*2], 0
je 0x140038f1b
inc r8
add rax, 0xfffffffffffffffe
jne 0x140038ee0
mov r8, rdi
jmp 0x140038f1b
test rdi, rdi
je 0x140038f0f
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov qword [rsi], 0
jmp 0x140038f5a
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rdx, rbx
call dbg.from_utf16
cmp qword [rsp + 0x30], 0
je 0x140038f67
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140038f5a
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi], 0
test rdi, rdi
jne 0x140038f46
jmp 0x140038f5a
Function at 0x1400461b0
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x78], 0
je 0x1400461f3
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x48]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400461f3
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x80], rax
mov al, 1
add rsp, 0x30
pop rsi
ret
xor eax, eax
add rsp, 0x30
pop rsi
ret

Function at 0x140046270
Capabilities:
Get disk size

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
xor edi, edi
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov rcx, rdx
xor edx, edx
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400462bc
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov edi, 1
mov qword [rsi], rdi
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400462d0
Capabilities:
Get disk information

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x14004630d
movabs rax, 0x2000000000
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sym.rayon::iter::from_par_iter::collect_extended::h702e149093090b28
jmp 0x14004631b
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400463c1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400463d6
cmp qword [rax + 8], 0
je 0x1400463d6
add rax, 0x10
jmp 0x140046480
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400463b1
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140046465
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14004647e
mov rbx, rax
test rax, rax
jne 0x140046437
mov rax, qword [0x140166748]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140046494
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], 0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140046488
dec ecx
mov rdx, rbx
call fcn.140126534
test rsi, rsi
je 0x140046451
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x140046453
mov rcx, qword [rsi + 8]
jmp 0x140046453
xor ecx, ecx
lea rax, [rbx + 0x10]
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], rcx
jmp 0x140046480
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400463f2
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
jmp 0x14004642f
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140047a70
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], 0
cmp qword [rdx + 0x10], 0
je 0x140047b46
lea rcx, [0x1401325a2]
call sub.OLEAUT32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call rax
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
test ebp, ebp
js 0x140047b46
mov rbx, qword [rsp + 0x38]
cmp qword [rsi + 0x20], 0
je 0x140047b12
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140047b12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x140047b55
mov qword [rdi], 2
mov rcx, rsi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::he2b2090094665043
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400497b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400497f2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400497fa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14004980b
jmp 0x140049822
xor r10d, r10d
jmp 0x1400498ad
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140049822
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140049839
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140049859
add r11, r8
jmp 0x14004998a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140049922
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400498d0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140049940
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140049952
jmp 0x14004996c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14004996c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140049986
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret