joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400544a0
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
cmp edx, 3
je 0x1400544b8
test edx, edx
jne 0x14005462f
mov rbx, qword [0x140edd158]
test rbx, rbx
je 0x14005462f
xor r14d, r14d
jmp 0x1400544d9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14005450d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14005467a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400544d0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009f514
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400544d0
test r14b, 1
je 0x14005462f
mov rbx, qword [0x140edd158]
test rbx, rbx
je 0x14005462f
xor r14d, r14d
jmp 0x140054539
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14005456d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14005467a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140054530
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009f514
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140054530
test r14b, 1
je 0x14005462f
mov rbx, qword [0x140edd158]
test rbx, rbx
je 0x14005462f
xor r14d, r14d
jmp 0x140054599
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400545cd
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14005467a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140054590
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009f514
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140054590
test r14b, 1
je 0x14005462f
mov rbx, qword [0x140edd158]
test rbx, rbx
je 0x14005462f
xor r14d, r14d
jmp 0x1400545f9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140054629
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14005467a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400545f0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009f514
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400545f0
test r14b, 1
jne 0x14005463b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x140edd158]
jmp 0x140054648
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14005462f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x14005467a
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140054644
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009f514
mov rcx, rdi
call r14
jmp 0x140054644
lea rcx, [0x140eb13f0]
call sym.core::option::unwrap_failed::hc0851016c6838662
ud2
Function at 0x1400585a0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov qword [rsp + 0x38], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400585b9
dec ecx
jmp 0x1400585c3
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14009f514
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + 8], 0
je 0x1400585fa
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400585fa
lock dec qword [rax]
jne 0x1400585fa
lea rax, [rcx + 0x10]
mov rdi, rcx
mov rcx, rax
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov rcx, rdi
mov edx, 0x18
mov r8d, 8
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140058615
dec ecx
jmp 0x14005861f
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.14009f514
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140058900
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x200
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rsp + 0x26], ax
mov rax, qword [0x140edd138]
cmp rax, 3
jne 0x140058a0c
lea rax, [rsp + 0x26]
mov qword [rsp + 0x30], rax
cmp rdi, 0x17f
ja 0x140058a2e
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov r8, rdi
call sym.memcpy
mov byte [rsp + rdi + 0x80], 0
inc rdi
lea rcx, [rsp + 0x38]
mov rdx, rbx
mov r8, rdi
call dbg.from_bytes_with_nul
cmp qword [rsp + 0x38], 0
je 0x140058992
lea rax, [0x140eaf518]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400589fe
mov rcx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x1400589e3
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400589f7
mov rax, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x26]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x200
pop rbx
pop rdi
pop rsi
ret
mov rbx, rdx
call dbg.initialize<unsafe extern "system" fn() -> i32, std::sync::once_lock::{impl#0}::get_or_init::{closure_env#0}<unsafe extern "system" fn() -> i32, std::sys::pal::windows::net::init::{closure_env#0}>, !>
mov rdx, rbx
lea rax, [rsp + 0x26]
mov qword [rsp + 0x30], rax
cmp rdi, 0x17f
jbe 0x140058948
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8, rdi
call dbg.run_with_cstr_allocating<std::sys_common::net::LookupHost>
jmp 0x1400589fe
Function at 0x140058a40
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov eax, 1
test rcx, rcx
jne 0x140058af2
mov rax, qword [0x140edd138]
cmp rax, 3
jne 0x140058b18
mov rsi, rdx
mov rcx, rdx
mov edx, 1
call sym.std::sys::pal::windows::net::Socket::new::hcd1973642841914a
test rax, rax
je 0x140058a81
mov eax, 1
jmp 0x140058af2
cmp word [rsi], 0
je 0x140058aa3
movups xmm0, xmmword [rsi + 4]
mov eax, dword [rsi + 0x14]
mov r9d, dword [rsi + 0x18]
movzx ecx, word [rsi + 0x1c]
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x140058ab8
mov eax, dword [rsi + 2]
movzx ecx, word [rsi + 6]
mov r8d, 0x10
mov r10w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x2c], r10w
mov word [rsp + 0x2e], cx
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], r9d
lea rax, [rsp + 0x2c]
mov rsi, rdx
mov rcx, rdx
mov rdx, rax
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x140058af9
xor eax, eax
mov rdx, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call sub.WS2_32.dll_closesocket
mov rdx, rdi
jmp 0x140058a7a
mov rsi, rdx
call dbg.initialize<unsafe extern "system" fn() -> i32, std::sync::once_lock::{impl#0}::get_or_init::{closure_env#0}<unsafe extern "system" fn() -> i32, std::sys::pal::windows::net::init::{closure_env#0}>, !>
mov rdx, rsi
jmp 0x140058a65

Function at 0x140058e80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140058f2f
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x140058f3e
cmp ecx, 0x17
jne 0x140058f65
cmp eax, 0x1b
jbe 0x140058f7e
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
add rsp, 0xb0
pop rsi
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140058f6c
cmp eax, 0xf
jbe 0x140058f96
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
add rsp, 0xb0
pop rsi
ret
lea rax, [0x140eb1b20]
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, [0x140eb1ab0]
lea r8, [0x140eb1af8]
mov edx, 0x43
call dbg.panic
lea rcx, [0x140eb1a51]
lea r8, [0x140eb1a98]
mov edx, 0x42
call dbg.panic
int3
Function at 0x14005fcc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400a2070]
test ecx, ecx
je 0x14005fcf0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005fd09
cmp qword [rax + 8], 0
je 0x14005fd09
add rax, 0x10
jmp 0x14005fdd4
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005fce0
mov ecx, dword [0x1400a2070]
test ecx, ecx
je 0x14005fdb5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005fdd2
test rax, rax
jne 0x14005fd7b
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005fdf4
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1400a2070]
test ecx, ecx
je 0x14005fddb
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x14005fd9b
mov rdx, qword [rsi]
mov qword [rsi], 0
cmp rdx, 1
jne 0x14005fd9b
mov rdx, qword [rsi + 8]
mov ecx, dword [rsi + 0x10]
jmp 0x14005fd9d
xor edx, edx
mov qword [rax + 8], 1
lea r8, [rax + 0x10]
mov qword [rax + 0x10], rdx
mov byte [rax + 0x18], cl
mov rax, r8
jmp 0x14005fdd4
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005fd28
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x14005fd6d
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14005fe10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a2090]
test ecx, ecx
je 0x14005ff29
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005fe3f
cmp qword [rax + 8], 0
jne 0x14005ff23
mov ecx, dword [0x1400a2090]
test ecx, ecx
je 0x14005ff4b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005ff68
test rax, rax
jne 0x14005fec9
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsp + 0x20], rax
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005ff8a
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400a2090]
test ecx, ecx
je 0x14005ff71
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
test rsi, rsi
je 0x14005fee3
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x14005fee5
mov rcx, qword [rsi + 8]
jmp 0x14005fee5
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x14005ff23
test rdx, rdx
je 0x14005ff23
lock dec qword [rdx]
jne 0x14005ff23
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x14005ff6a
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005fe34
jmp 0x14005fe3f
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005fe5e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x14005febb
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x14005ffc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400a20b0]
test ecx, ecx
je 0x14005ffef
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140060008
cmp byte [rax + 8], 0
je 0x140060008
add rax, 9
jmp 0x1400600bb
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005ffe0
mov ecx, dword [0x1400a20b0]
test ecx, ecx
je 0x14006009c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400600b9
test rax, rax
jne 0x140060076
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400600d8
lea rcx, dbg.destroy_value_u8_
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1400a20b0]
test ecx, ecx
je 0x1400600c2
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x14006008c
cmp byte [rsi], 0
mov byte [rsi], 0
movzx edx, byte [rsi + 1]
cmove edx, ecx
mov ecx, edx
lea rdx, [rax + 9]
mov byte [rax + 8], 1
mov byte [rax + 9], cl
mov rax, rdx
jmp 0x1400600bb
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140060027
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140060068
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400a20d0]
test ecx, ecx
je 0x14006011f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140060138
cmp byte [rax + 8], 0
je 0x140060138
add rax, 9
jmp 0x1400601eb
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140060110
mov ecx, dword [0x1400a20d0]
test ecx, ecx
je 0x1400601cc
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400601e9
test rax, rax
jne 0x1400601a6
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140060208
lea rcx, dbg.destroy_value_u8_
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1400a20d0]
test ecx, ecx
je 0x1400601f2
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x1400601bc
cmp byte [rsi], 0
mov byte [rsi], 0
movzx edx, byte [rsi + 1]
cmove edx, ecx
mov ecx, edx
lea rdx, [rax + 9]
mov byte [rax + 8], 1
mov byte [rax + 9], cl
mov rax, rdx
jmp 0x1400601eb
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140060157
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140060198
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x140060220
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a20f0]
test ecx, ecx
je 0x140060333
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14006024f
cmp qword [rax + 8], 0
jne 0x14006032d
mov ecx, dword [0x1400a20f0]
test ecx, ecx
je 0x140060365
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140060382
test rax, rax
jne 0x1400602d9
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov qword [rsp + 0x20], rax
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400603a4
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400a20f0]
test ecx, ecx
je 0x14006038b
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
test rsi, rsi
je 0x140060355
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x140060355
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x14006032d
test rdx, rdx
je 0x14006032d
lock dec qword [rdx]
jne 0x14006032d
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::sync::mpmc::context::Inner, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x140060384
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140060244
jmp 0x14006024f
mov rsi, rax
call sym.std::sync::mpmc::context::Context::new::h52887c5962e8c9c3
mov rcx, rax
mov rax, rsi
jmp 0x1400602ef
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14006026e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_std::sync::mpmc::context::Context___
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x1400602cb
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x1400603d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a2110]
test ecx, ecx
je 0x1400604e9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400603ff
cmp qword [rax + 8], 0
jne 0x1400604e3
mov ecx, dword [0x1400a2110]
test ecx, ecx
je 0x14006050b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140060528
test rax, rax
jne 0x140060489
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov qword [rsp + 0x20], rax
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14006054a
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400a2110]
test ecx, ecx
je 0x140060531
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
test rsi, rsi
je 0x1400604a3
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400604a5
mov rcx, qword [rsi + 8]
jmp 0x1400604a5
xor ecx, ecx
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rdx
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
test r8, r8
je 0x1400604e3
test rdx, rdx
je 0x1400604e3
lock dec qword [rdx]
jne 0x1400604e3
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x14006052a
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400603f4
jmp 0x1400603ff
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14006041e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell_core::option::Option_alloc::sync::Arc_std::sync::mutex::Mutex_alloc::vec::Vec_u8__alloc::alloc::Global____alloc::alloc::Global____
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x14006047b
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x140060580
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400a2130]
test ecx, ecx
je 0x140060672
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400605af
cmp qword [rax + 8], 0
jne 0x14006066c
mov ecx, dword [0x1400a2130]
test ecx, ecx
je 0x140060694
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400606b1
test rax, rax
jne 0x140060625
mov rax, qword [0x140ecea88]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400606d3
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1400a2130]
test ecx, ecx
je 0x1400606ba
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009f514
mov rax, rdi
test rsi, rsi
je 0x14006063e
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 8]
mov qword [rsi], 0
cmp rcx, 1
je 0x140060660
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov rsi, rax
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, rsi
movaps xmm0, xmmword [rsp + 0x20]
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm0
add rax, 0x10
jmp 0x1400606b3
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400605a4
jmp 0x1400605af
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400605ce
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov rdi, rax
call dbg.init
mov ecx, eax
mov rax, rdi
jmp 0x140060617
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x140094900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14009497a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140094970
cmp r11, r10
ja 0x140094a05
cmp r10, rdx
ja 0x140094a17
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140094972
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140094950
jmp 0x1400949e7
ja 0x14009497a
mov r11, r10
cmp rax, r8
jne 0x140094922
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400949eb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400949c0
mov r8, r10
sub ecx, r9d
jns 0x1400949de
jmp 0x1400949ed
cmp r10, rdx
je 0x1400949f9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400949ed
xor al, 1
cmp r8, rdx
jne 0x1400949a0
jmp 0x1400949ed
xor eax, eax
jmp 0x1400949ed
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140ec3b80]
call sym.core::option::unwrap_failed::hc0851016c6838662
lea r8, [0x140ec3b98]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, [0x140ec3b98]
mov rcx, r10
call dbg.slice_end_index_len_fail
int3