joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060e32
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x660
movaps xmmword [rsp + 0x650], xmm6
mov rsi, rcx
mov rax, r8
shr rax, 0x3d
jne 0x140060ebf
movzx ebx, r9b
shl rbx, 7
sub rbx, 0xffffffffffffff80
shl r8, 3
cmp r8, rbx
jne 0x140060ebf
mov rdi, rdx
lea rcx, [rsp + 0x140]
mov r8d, 0xf4
xor edx, edx
call sub.msvcrt.dll_memset
call sym.ring::aead::aes::detect_implementation::h9b6555690c103114
cmp eax, 3
je 0x140060ea2
mov eax, eax
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
cmp eax, 2
jne 0x140060eb6
call fcn.1400e8140
jmp 0x140060ebb
lea r8, [rsp + 0x140]
mov rcx, rdi
mov edx, ebx
call dbg.ring_core_0_17_7_aes_nohw_set_encrypt_key
jmp 0x140060ebb
call fcn.1400e7590
test eax, eax
je 0x140060ed8
mov dword [rsi], 2
movaps xmm6, xmmword [rsp + 0x650]
add rsp, 0x660
pop rbx
pop rdi
pop rsi
ret
lea rdi, [rsp + 0x358]
lea rdx, [rsp + 0x140]
mov r8d, 0xf4
mov rcx, rdi
call sym.memcpy
xorps xmm6, xmm6
lea r8, [rsp + 0x450]
movaps xmmword [r8], xmm6
lea rbx, [rsp + 0x140]
mov rcx, rbx
mov rdx, rdi
call sym.ring::aead::aes::Key::encrypt_block::h8975cc281021f825
movaps xmm0, xmmword [rbx]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rcx, [rsp + 0x20]
call sym._ZN123__LT__u5b_I_u3b__u20_16_u5d__u20_as_u20_ring..polyfill..array_split_map..ArraySplitMap_LT_I_C_O_C_8_usize_C_2_usize_GT__
xor eax, eax
cmp rax, 0x100
je 0x140060f45
movups xmmword [rsp + rax + 0x140], xmm6
add rax, 0x10
jmp 0x140060f2f
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x140]
mov r8d, 0x100
call sym.memcpy
call sym.ring::aead::gcm::detect_implementation::h370d8aafc2695314
test al, al
je 0x140060f9d
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, rax
shld rdx, rcx, 1
shld rcx, rax, 1
sar rax, 0x3f
movabs r8, 0xc200000000000000
and r8, rax
xor r8, rdx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rcx
jmp 0x140060fc6
mov rax, qword [0x1401b7590]
mov eax, dword [rax + 4]
not eax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
test eax, 0x10400000
jne 0x140060fc1
call fcn.1400f26e0
jmp 0x140060fc6
call fcn.1400f1cc0
lea rdi, [rsp + 0x450]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
mov rcx, rdi
call sym.memcpy
lea rcx, [rsp + 0x550]
lea rdx, [rsp + 0x358]
mov r8d, 0xf4
call sym.memcpy
lea rcx, [rsp + 0x14c]
mov r8d, 0x200
mov rdx, rdi
call sym.memcpy
and dword [rsi], 0
add rsi, 4
lea rdx, [rsp + 0x140]
mov r8d, 0x20c
mov rcx, rsi
call sym.memcpy
jmp 0x140060ec5
Function at 0x14006bfc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14006c01b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14006c01b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14006c036
cmp eax, 0x42
jne 0x14006c01b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14006c0e6
cmp byte [r9 + r11], 0x5f
jne 0x14006c0e6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14006c14e
mov rcx, rsi
xor edx, edx
call dbg.print_path
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call dbg.print_path
test al, al
jne 0x14006c1e1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006c072
lea rdx, [0x140171abb]
mov r8d, 1
call dbg.pad
test al, al
jne 0x14006c1e1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14006c02a
xor r14d, r14d
lea rbx, [0x140171e6e]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14006c0a4
cmp byte [rax + rcx], 0x45
je 0x14006c203
sub r14, 1
jb 0x14006c0c9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006c0c9
mov r8d, 2
mov rdx, rbx
call dbg.pad
test al, al
jne 0x14006c1e1
mov rcx, rsi
call dbg.print_generic_arg
test al, al
jne 0x14006c1e1
mov rax, qword [rsi]
test rax, rax
jne 0x14006c090
jmp 0x14006c02a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14006c1a8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14006c142
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14006c12c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14006c11b
add dl, 0xa9
jmp 0x14006c12a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14006c1a8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14006c1a8
movzx edx, bl
add rax, rdx
jae 0x14006c0f0
jmp 0x14006c1a8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14006c1a8
cmp rax, rcx
jae 0x14006c1a5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14006c1fb
cmp qword [rsi + 0x20], 0
je 0x14006c1f4
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call dbg.print_path_maybe_open_generics
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14006c02c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006c1e9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140171e30]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call dbg.pad
test al, al
je 0x14006c1e9
mov dil, 2
jmp 0x14006c02a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14006c02a
mov dil, 1
xor r8d, r8d
jmp 0x14006c1aa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14006c02a
Function at 0x14006e8f8
Capabilities:
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, 0xc8
mov rbp, r9
mov r12, r8
mov r14, rdx
mov rsi, rcx
add rdx, 0x220
lea rcx, [rsp + 0x5c]
mov r8, r9
call sym.rustls::cipher::make_nonce::hd65f7f8fb1960d4c
mov bl, byte [r12 + 0x10]
mov dil, byte [r12 + 0x11]
movzx eax, word [r12 + 0x12]
movzx ecx, word [r12 + 0x14]
mov r13, qword [r12 + 8]
mov qword [rsp + 0x30], r13
mov word [rsp + 0x3c], cx
mov word [rsp + 0x28], cx
mov word [rsp + 0x3e], ax
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x40]
mov rdx, rbp
mov r8d, ebx
mov r9d, edi
call sym.rustls::tls12::cipher::make_tls12_aad::h71f00e3a60208f51
lea rcx, [r13 + 0x18]
xor edx, edx
call sym.alloc::raw_vec::RawVec_T_A_::allocate_in::h45582a0f870d8a90
lea rbp, [rsp + 0x68]
mov qword [rbp], rax
mov qword [rbp + 8], rdx
and qword [rbp + 0x10], 0
lea rdx, [rsp + 0x60]
lea r15, [rsp + 0x68]
mov rcx, rbp
mov r8, r15
call sym._ZN132__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_alloc..vec..spec_extend..SpecExtend_LT__RF_T_C_core..slice..iter..Iter_LT_T
mov rdx, qword [r12]
add r13, rdx
mov rcx, rbp
mov r8, r13
call sym._ZN132__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_alloc..vec..spec_extend..SpecExtend_LT__RF_T_C_core..slice..iter..Iter_LT_T
mov eax, dword [r15 - 4]
lea r13, [rsp + 0x98]
mov dword [r13 + 8], eax
mov rax, qword [r15 - 0xc]
mov qword [r13], rax
mov r12, qword [rbp]
mov rdx, qword [rbp + 0x10]
lea r9, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_rustls_0.21.10_src_tls12_cipher.rs
mov r8d, 8
mov rcx, r12
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::habbd5297afea48fb
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r15, [rsp + 0x87]
mov rcx, r15
mov rdx, r14
mov r8, r13
lea r9, [rsp + 0x40]
call sym.ring::aead::less_safe_key::LessSafeKey::seal_in_place_separate_tag::h2260e9efddc5f5e1
cmp byte [r15], 0
je 0x14006ea46
movups xmm0, xmmword [rsp + 0xa9]
movups xmm1, xmmword [rsp + 0xb8]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 9], xmm0
mov byte [rsi + 8], 6
mov rdx, qword [rsp + 0x70]
mov rcx, r12
call sym.core::ptr::drop_in_place_alloc::boxed::Box__u8___::h2b762216416e4529
mov eax, 1
jmp 0x14006ea95
movups xmm0, xmmword [rsp + 0x88]
lea r8, [rsp + 0x50]
movaps xmmword [r8 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x40]
mov rcx, r14
call sym._ZN132__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_alloc..vec..spec_extend..SpecExtend_LT__RF_T_C_core..slice..iter..Iter_LT_T
mov rax, qword [r14 + 0x10]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [r14]
movups xmmword [rsi + 8], xmm0
mov byte [rsi + 0x20], bl
mov byte [rsi + 0x21], dil
movzx eax, word [rsp + 0x3e]
mov word [rsi + 0x22], ax
movzx eax, word [rsp + 0x3c]
mov word [rsi + 0x24], ax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14008f6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov dword [rsp + 0x24], 3
cmp ecx, 1
jne case.0x14008f98b.0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x48], r9
mov rsi, qword [rsp + 0x100]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call sym._Unwind_GetLanguageSpecificData
mov r13, rax
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x34]
mov rcx, rsi
call sym._Unwind_GetIPInfo
mov r14, rax
cmp dword [rsp + 0x34], 1
sbb r14, 0
mov rcx, rsi
call sym._Unwind_GetRegionStart
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x88], r14
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rax, dbg.drop_in_place_core::iter::adapters::copied::Copied_core::slice::iter::Iter_u8___
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, dbg.drop_in_place_core::iter::adapters::copied::Copied_core::slice::iter::Iter_u8___
mov qword [rsp + 0x80], rax
test r13, r13
je 0x14008f7a0
movzx r8d, byte [r13]
inc r13
mov qword [rsp + 0x28], r13
cmp r8b, 0xff
je 0x14008f7a7
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x68]
call dbg.read_encoded_pointer
mov qword [rsp + 0x38], rdx
test rax, rax
jne case.0x14008f98b.0
mov r13, qword [rsp + 0x28]
jmp 0x14008f7b1
xor eax, eax
jmp 0x14008f96a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
movzx eax, byte [r13]
inc r13
mov qword [rsp + 0x28], r13
cmp al, 0xff
je 0x14008f7e0
nop word cs:[rax + rax]
cmp byte [r13], 0
lea r13, [r13 + 1]
js 0x14008f7d0
mov qword [rsp + 0x28], r13
movzx edi, byte [r13]
inc r13
mov qword [rsp + 0x28], r13
xor ebp, ebp
xor ecx, ecx
nop word cs:[rax + rax]
movzx eax, byte [r13]
mov edx, eax
and edx, 0x7f
shl rdx, cl
inc r13
or rbp, rdx
add rcx, 7
test al, al
js 0x14008f800
mov qword [rsp + 0x28], r13
add rbp, r13
lea rbx, [rsp + 0x68]
nop dword [rax + rax]
Function at 0x14008fbe0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx eax, byte [0x1401f5170]
test al, al
je 0x14008fd7f
test edx, edx
je 0x14008fc07
cmp edx, 3
jne 0x14008fd7f
mov rbx, qword [0x1401f5178]
test rbx, rbx
je 0x14008fd7f
xor r14d, r14d
jmp 0x14008fc29
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008fc5d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14008fdca
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14008fc20
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1401030f4
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14008fc20
test r14b, 1
je 0x14008fd7f
mov rbx, qword [0x1401f5178]
test rbx, rbx
je 0x14008fd7f
xor r14d, r14d
jmp 0x14008fc89
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008fcbd
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14008fdca
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14008fc80
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1401030f4
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14008fc80
test r14b, 1
je 0x14008fd7f
mov rbx, qword [0x1401f5178]
test rbx, rbx
je 0x14008fd7f
xor r14d, r14d
jmp 0x14008fce9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008fd1d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14008fdca
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14008fce0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1401030f4
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14008fce0
test r14b, 1
je 0x14008fd7f
mov rbx, qword [0x1401f5178]
test rbx, rbx
je 0x14008fd7f
xor r14d, r14d
jmp 0x14008fd49
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008fd79
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14008fdca
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14008fd40
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1401030f4
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14008fd40
test r14b, 1
jne 0x14008fd8b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x1401f5178]
jmp 0x14008fd98
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008fd7f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x14008fdca
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14008fd94
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1401030f4
mov rcx, rdi
call r14
jmp 0x14008fd94
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.library_std_src_syswindows_thread_local_key.rs
mov edx, 0x2b
call dbg.panic
ud2
Function at 0x140090a30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x14010e080]
test ecx, ecx
je 0x140090b24
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140090a64
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140090a64
add rdi, 0x10
jmp 0x140090b1a
mov ecx, dword [0x14010e080]
test ecx, ecx
je 0x140090b37
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140090b18
mov rsi, rax
test rax, rax
jne 0x140090ae7
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1401f5209]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140090b5a
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov ecx, dword [0x14010e080]
test ecx, ecx
je 0x140090b4a
dec ecx
mov rdx, rsi
call fcn.1401030f4
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x140090b1a
test rcx, rcx
je 0x140090b1a
lock dec qword [rcx]
jne 0x140090b1a
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
jmp 0x140090b1a
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x140090a46
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x140090a74
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x140090adf
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140090de0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140090e65
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x140090ea6
cmp dword [rsp + 0x2c], 0
je 0x140090e8a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140090ece
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1401f5178]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1401f5178], rsi
jne 0x140090e40
mov byte [0x1401f5170], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140090e9c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140090f1a
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140090e8f
mov edi, dword [rsp + 0x28]
jmp 0x140090e9c
mov edi, dword [rsi + 0x18]
jmp 0x140090e9a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x140178f10]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call dbg.panic_fmt
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call dbg.assert_failed<u32, u32>
ud2

Function at 0x140091050
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov qword [rsp + 0x20], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140091069
dec ecx
jmp 0x140091073
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.1401030f4
mov rdi, qword [rsp + 0x20]
cmp qword [rdi + 8], 0
je 0x1400910a1
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400910a1
lock dec qword [rax]
jne 0x1400910a1
mov rcx, qword [rdi + 0x10]
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400910b9
dec ecx
jmp 0x1400910c3
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401030f4
Function at 0x1400914c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14010e0a0]
test ecx, ecx
je 0x14009155f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400914e9
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14009154e
mov ecx, dword [0x14010e0a0]
test ecx, ecx
je 0x140091572
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140091554
mov rsi, rax
test rax, rax
jne 0x140091548
movzx eax, byte [0x1401f5209]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140091595
mov rsi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14010e0a0]
test ecx, ecx
je 0x140091585
dec ecx
mov rdx, rsi
call fcn.1401030f4
mov word [rsi + 8], 1
add rsi, 9
jmp 0x140091556
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400914d5
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400914f5
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x140091540
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x140092160
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14010e060]
test ecx, ecx
je 0x14009221d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140092190
cmp qword [rax + 8], 0
je 0x140092190
add rax, 0x10
jmp 0x140092217
mov ecx, dword [0x14010e060]
test ecx, ecx
je 0x140092230
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140092215
mov rsi, rax
test rax, rax
jne 0x1400921fb
movzx eax, byte [0x1401f5209]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140092253
mov rsi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14010e060]
test ecx, ecx
je 0x140092243
dec ecx
mov rdx, rsi
call fcn.1401030f4
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140092217
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x140092175
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400921a0
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400921f3
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2

Function at 0x1400922c0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400922d7
dec ecx
jmp 0x1400922e1
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.1401030f4
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140092303
dec ecx
jmp 0x14009230d
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401030f4
Function at 0x1400961c0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, r8
mov rdi, rcx
mov dword [rsp + 0x60], 0
mov word [rsp + 0x64], 0
mov dword [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 7
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x40]
mov rcx, rdx
mov rdx, rax
call dbg.open
mov rsi, rdx
test rax, rax
je 0x14009626f
mov eax, esi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140096263
test rax, rax
je 0x140096263
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x140096256
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call sym.__rust_dealloc
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
mov qword [rdi], 0
jmp 0x1400963cf
lea rcx, [rsp + 0x40]
mov rdx, rsi
call dbg.file_attr
cmp dword [rsp + 0x40], 2
jne 0x1400962ed
mov rax, qword [rsp + 0x48]
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x1400962ce
test rcx, rcx
je 0x1400962ce
lea rbx, [rax - 1]
mov r14, qword [rax - 1]
mov r15, qword [rax + 7]
mov rcx, r14
call qword [r15]
cmp qword [r15 + 8], 0
je 0x1400962c1
mov rdx, qword [r15 + 0x10]
mov rcx, r14
call sym.__rust_dealloc
mov edx, 8
mov rcx, rbx
call sym.__rust_dealloc
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rsp + 0x78]
test rsi, rsi
je 0x14009633f
mov qword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x1400963bb
mov rbx, qword [rsp + 0x40]
jmp 0x140096341
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x1400963aa
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
test r15, r15
je 0x1400963aa
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x1400963c7
mov qword [rdi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x1400963c7
call fcn.14010321c
mov qword [rdi], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret