joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021270
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002133f
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140021332
je 0x140021330
test rdi, rdi
je 0x1400212b9
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x1400212d5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140021359
movups xmmword [rax], xmm6
mov dword [rax + 0x10], 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.1400d0bbc
test rdi, rdi
je 0x14002132b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x140021332
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002129d
jmp 0x140021332
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3

Function at 0x140021370
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 0x140021417
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002140f
je 0x1400213b0
test rdi, rdi
je 0x1400213b4
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1400213b6
mov rbx, qword [rdi + 8]
jmp 0x1400213b6
xor eax, eax
jmp 0x14002140f
xor ebx, ebx
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140021431
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.1400d0bbc
test rdi, rdi
je 0x14002140c
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::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140021394
jmp 0x14002140f
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x140021450
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140021537
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002152f
je 0x14002152d
test rbx, rbx
je 0x140021494
mov rdi, qword [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
jne 0x1400214a4
call sym.crossbeam_epoch::default::default_collector::hccccc77b2a9aa749
mov rcx, rax
call sym.crossbeam_epoch::collector::Collector::register::h7b031bdd56d41130
mov rdi, rax
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140021551
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.1400d0bbc
test rdi, rdi
je 0x140021528
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x140021515
cmp rax, 1
jne 0x140021515
call sym.crossbeam_epoch::internal::Local::finalize::h81737de09759dd28
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x14002152f
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140021478
jmp 0x14002152f
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
ud2

Function at 0x1400215c0
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 0x140021663
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002165b
je 0x140021659
test rdi, rdi
je 0x1400215fc
cmp dword [rdi], 0
mov dword [rdi], 0
je 0x1400215fc
mov rdi, qword [rdi + 4]
jmp 0x1400215fe
xor edi, edi
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x14002167d
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.1400d0bbc
test rdi, rdi
je 0x140021654
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x14002165b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400215e4
jmp 0x14002165b
mov ecx, 4
mov edx, 0xc
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x140022860
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], 0
mov r15, qword [rdx + 0x10]
test r15, r15
je 0x140022937
lea rcx, [0x1400d62a2]
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]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
test ebp, ebp
js 0x140022937
mov rbx, qword [rsp + 0x30]
cmp qword [rsi + 0x20], 0
je 0x140022903
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140022903
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 0x14002299f
mov qword [rdi], 2
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
mov qword [rsi + 0x20], 0
je 0x14002295c
test rcx, rcx
je 0x14002295c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 0x10], 0
test r15, r15
je 0x140022978
test rcx, rcx
je 0x140022978
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x140022994
test rcx, rcx
je 0x140022994
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 0x30], 0
je 0x14002299f
call fcn.1400d0f44
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140022c20
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x78], 0
je 0x140022c63
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x50]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140022c63
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 0x140022ce0
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 0x140022d2c
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 0x140022d40
Capabilities:
Get disk information

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x24], eax
test eax, eax
je 0x140022dab
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x24]
mov qword [rsp + 0x40], rax
movabs rax, 0x2000000000
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call fcn.1400122e0
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
jmp 0x140022dc2
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x140022f40
Capabilities:
Get local ipv4 addresses

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rcx
mov dword [rsp + 0x30], 0x3c00
xor ebx, ebx
lea r14, [rsp + 0x30]
xor ebp, ebp
nop word cs:[rax + rax]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call sub.msvcrt.dll_realloc
test rax, rax
je 0x14002302e
mov rdi, rax
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x34], eax
test eax, eax
je 0x140023092
cmp ebp, 1
ja 0x140022fba
inc ebp
mov rbx, rdi
cmp eax, 0x6f
je 0x140022f70
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::hffb574642817ad4a]
mov qword [rsp + 0x40], rax
lea rax, str.c_r_
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 sym.alloc::fmt::format::format_inner::h5a493f368b54610e
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov rcx, rdi
call fcn.1400d17c0
jmp 0x1400230a7
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x32
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x1400230b8
mov rdi, rax
movups xmm0, xmmword [0x1400d636c]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400d635c]
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 rcx, rbx
call fcn.1400d17c0
mov qword [rsi], 0x32
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], 0x32
jmp 0x1400230a7
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ecx, 1
mov edx, 0x32
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
ud2
Function at 0x1400285e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x1400d3158]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::h2feb71aaebb58fe3

Function at 0x14002dfa0
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 + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rdx + 0x28]
movzx ebp, byte [rdx + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], bpl
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x5f0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002e210
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 + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
nop dword [rax]
mov eax, 1
lock xadd qword [0x140118040], rax
mov r11, rax
xor r11, rcx
mov r14, r11
rol r14, 0x10
lea r12, [r11 + rdx]
xor r14, r12
add r11, r8
lea r12, [r14 + r9]
mov r13, r11
xor r13, r10
rol r14, 0x15
rol r11, 0x20
xor rax, r12
xor r12, r15
xor r12, r14
add rax, r13
rol r13, 0xd
add r11, r12
xor r13, rax
rol r12, 0x10
xor r12, r11
rol rax, 0x20
add r11, r13
add rax, r12
rol r13, 0x11
xor r13, r11
rol r12, 0x15
rol r11, 0x20
xor r12, rax
xor rax, r15
xor r11, 0xff
add rax, r13
add r11, r12
rol r13, 0xd
xor r13, rax
rol r12, 0x10
rol rax, 0x20
xor r12, r11
add r11, r13
rol r13, 0x11
add rax, r12
xor r13, r11
rol r12, 0x15
xor r12, rax
rol r11, 0x20
add rax, r13
add r11, r12
rol r13, 0xd
xor r13, rax
rol r12, 0x10
rol rax, 0x20
xor r12, r11
add r11, r13
rol r13, 0x11
add rax, r12
xor r13, r11
rol r12, 0x15
xor r12, rax
rol r11, 0x20
add rax, r13
add r11, r12
rol r13, 0xd
xor r13, rax
rol r12, 0x10
xor r12, r11
add r11, r13
rol r13, 0x11
rol r12, 0x15
mov rax, r11
rol rax, 0x20
xor rax, r13
xor rax, r12
xor rax, r11
je 0x14002e060
mov rcx, qword [rsi + 0x58]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rdx, qword [rsp + 0x20]
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 + 0x28]
mov qword [rdi + 0x100], rdx
mov qword [rdi + 0x108], rax
mov qword [rdi + 0x110], rcx
mov rdx, qword [rsi + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002e1fc
test rdx, rdx
je 0x14002e1fc
mov rcx, qword [rsi + 0x18]
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 sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
ud2
Function at 0x14002e870
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, sym.std::sys::thread_local::os::destroy_value::h6e70635cb1f82b9a
jmp sym.std::sys::thread_local::os::Storage_T_::get::h9f0a6cb2f4f0e294

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

Disassembly:
mov rcx, qword [str._1_r_]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::hdffa30e91a68c41e

Function at 0x14002fba0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov edi, dword [rcx + 8]
mov edx, 1
mov ecx, edi
call fcn.1400d0bbc
mov edx, 0xc
mov r8d, 4
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, edi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400d0bbc

Function at 0x14002fbe0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov edi, dword [rcx + 8]
mov edx, 1
mov ecx, edi
call fcn.1400d0bbc
mov edx, 0x10
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, edi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400d0bbc

Function at 0x14002fc20
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 0x14002fcc7
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002fcbf
je 0x14002fc60
test rdi, rdi
je 0x14002fc64
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14002fc66
mov rbx, qword [rdi + 8]
jmp 0x14002fc66
xor eax, eax
jmp 0x14002fcbf
xor ebx, ebx
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002fce1
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.1400d0bbc
test rdi, rdi
je 0x14002fcbc
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::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002fc44
jmp 0x14002fcbf
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x14002fd00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002fde7
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002fddf
je 0x14002fddd
test rbx, rbx
je 0x14002fd44
mov rdi, qword [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
jne 0x14002fd54
call sym.crossbeam_epoch::default::default_collector::hccccc77b2a9aa749
mov rcx, rax
call sym.crossbeam_epoch::collector::Collector::register::h7b031bdd56d41130
mov rdi, rax
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002fe01
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.1400d0bbc
test rdi, rdi
je 0x14002fdd8
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x14002fdc5
cmp rax, 1
jne 0x14002fdc5
call sym.crossbeam_epoch::internal::Local::finalize::h81737de09759dd28
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x14002fddf
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002fd28
jmp 0x14002fddf
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
ud2

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

Disassembly:
mov rcx, qword [0x1400ff408]
xor edx, edx
jmp sym.std::sys::thread_local::os::Storage_T_::get::h9f0a6cb2f4f0e294

Function at 0x140038ce0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov edi, dword [rcx + 8]
mov edx, 1
mov ecx, edi
call fcn.1400d0bbc
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x140038d22
cmp rax, 1
jne 0x140038d22
call sym.crossbeam_epoch::internal::Local::finalize::h81737de09759dd28
mov edx, 0x10
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, edi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400d0bbc
Function at 0x14005c7d0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x14005dae0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3d8], 2
mov qword [rbp + 0x3e0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x14005db70
jmp 0x14005db5f
jae 0x14005dc2b
cmp r8, 0x201
jae 0x14005db70
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x14005dbc7
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14005db9f
lea rcx, [rbp + 0x3d0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h498cd2a0878ddf3d
mov rsi, qword [rbp + 0x3d0]
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x3c0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c0]
mov r12, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x14005dbed
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14005dc97
mov r8d, r13d
cmp r12, r8
jne 0x14005db50
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005dcca
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14005db5f
jmp 0x14005db70
cmp r14, r8
jb 0x14005dce4
lea rcx, [rbp + 0x3a0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h4f0d847f13879248
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
mov rsi, qword [rbp + 0x3c8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
je 0x14005dc80
mov rcx, qword [rbp + 0x3d8]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3c8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
jne 0x14005dc6b
jmp 0x14005dc80
lea rcx, str.internal_error:_entered_unreachable_codeH
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h82631201f060ca88
jmp 0x14005dcf9
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
ud2
Function at 0x14005dd30
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14005dd4f
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp], rax
mov rax, rbp
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hab0355a4f2b8b8d2]
mov qword [rbp - 8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
ud2