joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dd80
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r9
mov rdi, rcx
add r8, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x40]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17he802da179d
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x60]
lea rbx, [rsp + 0x40]
mov rdx, rbx
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17he802da179d
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
je 0x41de62
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x41de3d
mov rcx, qword [rsp + 0x60]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x41de5b
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
xor ebx, ebx
jmp 0x41def6
mov r14, qword [rsp + 0x40]
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 0
mov rdi, qword [rsp + 0x60]
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
test eax, eax
sete bl
mov r15d, dword [rsp + 0x38]
mov rcx, r14
call fcn.004fb524
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x41ded8
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x41def6
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
shl r15, 8
movzx eax, bl
or rax, r15
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x41e010
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 0x41e041
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x41e056
cmp qword [rax + 8], 0
je 0x41e056
add rax, 0x10
jmp 0x41e100
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x41e031
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x41e0e5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x41e0fe
mov rbx, rax
test rax, rax
jne 0x41e0b7
mov rax, qword [0x005757d8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x41e114
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], 0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x41e108
dec ecx
mov rdx, rbx
call fcn.004fb5ec
test rsi, rsi
je 0x41e0d1
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x41e0d3
mov rcx, qword [rsi + 8]
jmp 0x41e0d3
xor ecx, ecx
lea rax, [rbx + 0x10]
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], rcx
jmp 0x41e100
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x41e072
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::h6fae390b6c46bfa0
mov ecx, eax
jmp 0x41e0af
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x41f700
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 0x41f7d6
lea rcx, [0x0054312a]
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 0x41f7d6
mov rbx, qword [rsp + 0x38]
cmp qword [rsi + 0x20], 0
je 0x41f7a2
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x41f7a2
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 0x41f7e5
mov qword [rdi], 2
mov rcx, rsi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::hc975a48812b74167
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x41fb00
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x78], 0
je 0x41fb43
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 0x41fb43
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 0x41fbc0
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 0x41fc0c
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 0x41fc20
Capabilities:
Get disk information

Disassembly:
push rsi
sub rsp, 0x80
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x34], eax
test eax, eax
je 0x41fcb2
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x58], rax
movabs rax, 0x2000000000
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call sym.rayon::range::__impl_rayon::range::private::IndexedRangeInteger_for_u32_::len::h2842299b2d2c1e0e
mov r9d, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x58]
mov r8, rax
call sym._ZN117__LT_rayon..iter..plumbing..bridge..Callback_LT_C_GT__u20_as_u20_rayon..iter..plumbing..ProducerCallback_LT_I_GT__GT_8ca
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x68]
call sym.rayon::iter::extend::vec_append::h4e8e142fb1bfec8c
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x41fcc0
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x80
pop rsi
ret
Function at 0x423600
Capabilities:
Get local ipv4 addresses

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov dword [rsp + 0x34], 0x3c00
mov dword [rsp + 0x30], 0
mov ecx, 0x3c00
call sym.malloc
test rax, rax
je 0x42375d
mov rdi, rax
lea rbx, [rsp + 0x34]
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
test eax, eax
je 0x4237b6
cmp eax, 0x6f
jne 0x4236e9
mov rcx, rdi
call fcn.004fc258
mov ecx, dword [rsp + 0x34]
call sym.malloc
test rax, rax
je 0x42375d
mov rdi, rax
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
test eax, eax
je 0x4237b6
cmp eax, 0x6f
jne 0x4236e9
mov rcx, rdi
call fcn.004fc258
mov ecx, dword [rsp + 0x34]
call sym.malloc
test rax, rax
je 0x42375d
mov rdi, rax
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
test eax, eax
je 0x4237b6
mov rcx, rdi
call fcn.004fc258
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::hf81b76ea85f53f1e]
mov qword [rsp + 0x40], rax
lea rax, [0x005435a0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call dbg.format_inner
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
jmp 0x4237c5
mov rax, qword [0x005757d8]
movzx eax, byte [rax]
mov ecx, 0x32
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x4237d3
movups xmm0, xmmword [0x00543560]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x00543550]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov qword [rsi], rax
mov qword [rsi + 8], 0x32
mov qword [rsi + 0x10], 0x32
jmp 0x4237c5
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi], 0
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 0x32
call dbg.handle_alloc_error
ud2
Function at 0x433340
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rdx + 0x10]
movzx ebp, byte [rdx + 0x18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], bpl
mov rax, qword [0x005757d8]
movzx eax, byte [rax]
mov ecx, 0x5f0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x4335a6
mov rbx, rax
movabs r15, 0x800000000000000
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x20], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
nop dword [rax]
mov eax, 1
lock xadd qword [0x00590058], rax
mov r13, rax
xor r13, rcx
lea r11, [rdx + r13]
mov r14, r13
rol r14, 0x10
xor r14, r11
lea r12, [r14 + r8]
rol r14, 0x15
add r13, r9
mov r11, r13
xor r11, r10
rol r13, 0x20
xor rax, r12
add rax, r11
rol r11, 0xd
xor r12, r15
xor r11, rax
rol rax, 0x20
xor r12, r14
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r12, rax
xor r11, r13
rol r13, 0x20
xor rax, r15
add rax, r11
rol r11, 0xd
xor r11, rax
rol rax, 0x20
xor r13, 0xff
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor r12, rax
add rax, r11
rol r11, 0xd
xor r11, rax
rol rax, 0x20
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor r12, rax
add rax, r11
rol r11, 0xd
add r13, r12
rol r12, 0x10
xor r12, r13
rol r12, 0x15
xor r11, rax
add r13, r11
rol r11, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r11
xor rax, r12
xor rax, r13
je 0x433400
mov rcx, qword [rsi + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rdx, qword [rsp + 0x28]
mov qword [rdi + 0x138], rdx
mov byte [rdi + 0x140], bpl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rdx, qword [rsp + 0x20]
mov qword [rdi + 0x100], rdx
mov qword [rdi + 0x108], rax
mov qword [rdi + 0x110], rcx
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x433592
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x433592
mov r8d, 1
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call dbg.handle_alloc_error
ud2

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

Disassembly:
mov rdx, rcx
lea rcx, sym.std::sys::common::thread_local::os_local::destroy_value::h334eaed04c5644cf
jmp sym.std::sys::common::thread_local::os_local::Key_T_::get::ha634dbcb96b40bfc
Function at 0x435880
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 0x4358b1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x4358c6
cmp qword [rax + 8], 0
je 0x4358c6
add rax, 0x10
jmp 0x435970
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x4358a1
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x435955
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x43596e
mov rbx, rax
test rax, rax
jne 0x435927
mov rax, qword [0x005757d8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x435984
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], 0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x435978
dec ecx
mov rdx, rbx
call fcn.004fb5ec
test rsi, rsi
je 0x435941
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x435943
mov rcx, qword [rsi + 8]
jmp 0x435943
xor ecx, ecx
lea rax, [rbx + 0x10]
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], rcx
jmp 0x435970
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x4358e2
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::h6fae390b6c46bfa0
mov ecx, eax
jmp 0x43591f
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x4359a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x4359d1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x4359e6
cmp qword [rax + 8], 0
je 0x4359e6
add rax, 0x10
jmp 0x435ad9
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x4359c1
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x435abe
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x435ad7
mov rdi, rax
test rax, rax
jne 0x435a4f
mov rax, qword [0x005757d8]
movzx eax, byte [rax]
mov ecx, 0x28
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x435af0
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x435ae1
dec ecx
mov rdx, rdi
call fcn.004fb5ec
test rsi, rsi
je 0x435a87
mov rax, qword [rsi]
mov qword [rsi], 0
cmp rax, 1
jne 0x435a87
mov r9, qword [rsi + 8]
movzx r8d, byte [rsi + 0x10]
movzx edx, byte [rsi + 0x11]
movzx eax, word [rsi + 0x16]
mov word [rsp + 0x2c], ax
mov eax, dword [rsi + 0x12]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsi + 0x18]
jmp 0x435a91
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
mov qword [rdi + 8], 1
lea rax, [rdi + 0x10]
mov qword [rdi + 0x10], r9
mov byte [rdi + 0x18], r8b
mov byte [rdi + 0x19], dl
mov edx, dword [rsp + 0x28]
mov dword [rdi + 0x1a], edx
movzx edx, word [rsp + 0x2c]
mov word [rdi + 0x1e], dx
mov qword [rdi + 0x20], rcx
jmp 0x435ad9
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x435a02
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
jmp 0x435a47
mov ecx, 8
mov edx, 0x28
call dbg.handle_alloc_error
ud2
Function at 0x4376d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x4376ed
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThe_global_thread_pool_has_already_been_initialized.
lea rcx, [rsp + 0x28]
mov r8d, 0x11
call sym.std::env::_var::haf4b51fa02480166
movzx eax, byte [rsp + 0x40]
cmp al, 3
jne 0x437758
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x437776
mov rbx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x28]
mov rdx, rdi
call sym.core::num::__impl_core::str::traits::FromStr_for_u64_::from_str::hb40e0114cf99fe82
movzx ebp, byte [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
test rbx, rbx
je 0x43774e
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
test bpl, bpl
jne 0x437776
jmp 0x4377dc
cmp al, 2
je 0x437776
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x437776
mov rcx, qword [rsp + 0x28]
mov r8d, 1
call sym.__rust_dealloc
lea rdx, [0x005457bd]
lea rcx, [rsp + 0x28]
mov r8d, 0x11
call sym.std::env::_var::haf4b51fa02480166
movzx eax, byte [rsp + 0x40]
cmp al, 3
jne 0x4377e7
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x437805
mov rbx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x28]
mov rdx, rdi
call sym.core::num::__impl_core::str::traits::FromStr_for_u64_::from_str::hb40e0114cf99fe82
movzx ebp, byte [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
test rbx, rbx
je 0x4377d7
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
test bpl, bpl
jne 0x437805
test rsi, rsi
jne 0x4376e1
jmp 0x437805
cmp al, 2
je 0x437805
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x437805
mov rcx, qword [rsp + 0x28]
mov r8d, 1
call sym.__rust_dealloc
nop
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
jmp sym.num_cpus::get_num_cpus::hed3fdef5905ec130

Function at 0x43ab80
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43ab97
dec ecx
jmp 0x43aba1
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
mov edx, 1
call fcn.004fb5ec
mov edx, 0x28
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43abc9
dec ecx
jmp 0x43abd3
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
xor esi, esi
xor edx, edx
call fcn.004fb5ec
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x43ac10
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43ac27
dec ecx
jmp 0x43ac31
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
mov edx, 1
call fcn.004fb5ec
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43ac59
dec ecx
jmp 0x43ac63
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h6fae390b6c46bfa0
mov ecx, eax
xor esi, esi
xor edx, edx
call fcn.004fb5ec
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x43d4b0
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 0x43d629
mov eax, ebx
and eax, 0x1f
jne 0x43d629
shr ebx, 5
mov rsi, rbx
shl rsi, 5
mov rax, qword [0x005757d8]
movzx eax, byte [rax]
mov edx, 8
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x43d65d
mov rdi, rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetLogicalProcessorInformation
test eax, eax
je 0x43d618
mov ecx, dword [rsp + 0x20]
cmp rcx, 0x20
jb 0x43d618
mov eax, ecx
shr eax, 5
cmp ecx, 0xa0
jae 0x43d550
xor ebx, ebx
xor ecx, ecx
jmp 0x43d5d9
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 [0x00546240]
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 0x43d580
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 0x43d5f0
test rbx, rbx
je 0x43d618
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
jmp 0x43d64d
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 0x43d690
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