joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004fd10
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 0x14004fd28
test edx, edx
jne 0x14004fe9f
mov rbx, qword [0x1400d2158]
test rbx, rbx
je 0x14004fe9f
xor r14d, r14d
jmp 0x14004fd49
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14004fd7d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14004feea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14004fd40
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009ad84
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14004fd40
test r14b, 1
je 0x14004fe9f
mov rbx, qword [0x1400d2158]
test rbx, rbx
je 0x14004fe9f
xor r14d, r14d
jmp 0x14004fda9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14004fddd
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14004feea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14004fda0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009ad84
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14004fda0
test r14b, 1
je 0x14004fe9f
mov rbx, qword [0x1400d2158]
test rbx, rbx
je 0x14004fe9f
xor r14d, r14d
jmp 0x14004fe09
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14004fe3d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14004feea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14004fe00
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009ad84
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14004fe00
test r14b, 1
je 0x14004fe9f
mov rbx, qword [0x1400d2158]
test rbx, rbx
je 0x14004fe9f
xor r14d, r14d
jmp 0x14004fe69
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14004fe99
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x14004feea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14004fe60
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009ad84
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x14004fe60
test r14b, 1
jne 0x14004feab
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x1400d2158]
jmp 0x14004feb8
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14004fe9f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x14004feea
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14004feb4
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14009ad84
mov rcx, rdi
call r14
jmp 0x14004feb4
lea rcx, str.hc_n_
call sym.core::option::unwrap_failed::hc0851016c6838662
ud2
Function at 0x1400539d0
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 0x1400539e9
dec ecx
jmp 0x1400539f3
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14009ad84
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + 8], 0
je 0x140053a2a
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140053a2a
lock dec qword [rax]
jne 0x140053a2a
lea rax, [rcx + 0x10]
mov rdi, rcx
mov rcx, rax
call dbg.drop_slow<std::thread::Inner, 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 0x140053a45
dec ecx
jmp 0x140053a4f
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.14009ad84
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140053af0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140053b07
dec ecx
jmp 0x140053b11
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14009ad84
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140053b39
dec ecx
jmp 0x140053b43
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.14009ad84

Function at 0x140053bf0
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 0x140053c09
dec ecx
jmp 0x140053c13
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14009ad84
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + 8], 0
je 0x140053c4a
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140053c4a
lock dec qword [rax]
jne 0x140053c4a
lea rax, [rcx + 0x10]
mov rdi, rcx
mov rcx, rax
call dbg.drop_slow<std::sync::mpmc::context::Inner, 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 0x140053c65
dec ecx
jmp 0x140053c6f
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.14009ad84
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140053d10
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140053d27
dec ecx
jmp 0x140053d31
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14009ad84
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140053d59
dec ecx
jmp 0x140053d63
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.14009ad84
Function at 0x140053e10
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 0x140053e29
dec ecx
jmp 0x140053e33
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14009ad84
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + 8], 0
je 0x140053e6a
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140053e6a
lock dec qword [rax]
jne 0x140053e6a
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 0x140053e85
dec ecx
jmp 0x140053e8f
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.14009ad84
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140054170
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 [0x1400d2138]
cmp rax, 3
jne 0x14005427c
lea rax, [rsp + 0x26]
mov qword [rsp + 0x30], rax
cmp rdi, 0x17f
ja 0x14005429e
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 0x140054202
lea rax, [0x1400a4518]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14005426e
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 0x140054253
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140054267
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 0x1400541b8
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8, rdi
call dbg.run_with_cstr_allocating<std::sys_common::net::LookupHost>
jmp 0x14005426e
Function at 0x1400542b0
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov eax, 1
test rcx, rcx
jne 0x140054362
mov rax, qword [0x1400d2138]
cmp rax, 3
jne 0x140054388
mov rsi, rdx
mov rcx, rdx
mov edx, 1
call sym.std::sys::pal::windows::net::Socket::new::hcd1973642841914a
test rax, rax
je 0x1400542f1
mov eax, 1
jmp 0x140054362
cmp word [rsi], 0
je 0x140054313
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 0x140054328
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 0x140054369
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 0x1400542ea
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 0x1400542d5

Function at 0x1400546f0
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 0x14005479f
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x1400547ae
cmp ecx, 0x17
jne 0x1400547d5
cmp eax, 0x1b
jbe 0x1400547ee
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 0x1400547dc
cmp eax, 0xf
jbe 0x140054806
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, str.invalid_argument
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.0j_n_
mov edx, 0x43
call dbg.panic
lea rcx, [0x1400a6a51]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
call dbg.panic
int3
Function at 0x1400549e0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x50
mov rax, r8
cmp r8, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
cmp word [r9], 0
je 0x140054a1e
movups xmm0, xmmword [r9 + 4]
mov eax, dword [r9 + 0x14]
mov r11d, dword [r9 + 0x18]
movzx r10d, word [r9 + 0x1c]
mov r9d, 0x1c
mov si, 0x17
jmp 0x140054a34
mov eax, dword [r9 + 2]
movzx r10d, word [r9 + 6]
mov r9d, 0x10
mov si, 2
xorps xmm0, xmm0
rol r10w, 8
mov word [rsp + 0x34], si
mov word [rsp + 0x36], r10w
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x3c], xmm0
mov dword [rsp + 0x4c], r11d
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
call sub.WS2_32.dll_sendto
cmp eax, 0xffffffff
je 0x140054a7c
movsxd rdx, eax
xor eax, eax
add rsp, 0x50
pop rsi
ret
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x50
pop rsi
ret

Function at 0x140054aa0
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x48
mov rax, r8
test rdx, rdx
je 0x140054ab1
add rsp, 0x48
ret
cmp word [rax], 0
je 0x140054ad3
movups xmm0, xmmword [rax + 4]
mov edx, dword [rax + 0x14]
mov r9d, dword [rax + 0x18]
movzx eax, word [rax + 0x1c]
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x140054ae8
mov edx, dword [rax + 2]
movzx eax, word [rax + 6]
mov r8d, 0x10
mov r10w, 2
xorps xmm0, xmm0
rol ax, 8
mov word [rsp + 0x2c], r10w
mov word [rsp + 0x2e], ax
mov dword [rsp + 0x30], edx
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], r9d
mov rcx, qword [rcx]
lea rdx, [rsp + 0x2c]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x140054b1e
xor eax, eax
add rsp, 0x48
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x48
ret
Function at 0x1400593d0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x54], 0
mov word [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call dbg.open
mov rdi, rdx
test rax, rax
je 0x140059460
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call dbg.file_attr
cmp dword [rsp + 0x38], 2
jne 0x14005948f
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x1400594db
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
cmp qword [rsp + 0x80], 2
jne 0x140059507
lea rcx, [rsp + 0x88]
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x140059565
mov qword [rsp + 0x80], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x1400595e1
mov rbx, qword [rsp + 0x80]
jmp 0x140059567
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 0x1400595d0
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 0x1400595d0
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x14005960d
mov qword [rsi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14005960d
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14005944f
Function at 0x14005b530
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 [0x14009d070]
test ecx, ecx
je 0x14005b560
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005b579
cmp qword [rax + 8], 0
je 0x14005b579
add rax, 0x10
jmp 0x14005b644
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 0x14005b550
mov ecx, dword [0x14009d070]
test ecx, ecx
je 0x14005b625
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005b642
test rax, rax
jne 0x14005b5eb
mov rax, qword [str.1__r_]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005b664
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x14009d070]
test ecx, ecx
je 0x14005b64b
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009ad84
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x14005b60b
mov rdx, qword [rsi]
mov qword [rsi], 0
cmp rdx, 1
jne 0x14005b60b
mov rdx, qword [rsi + 8]
mov ecx, dword [rsi + 0x10]
jmp 0x14005b60d
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 0x14005b644
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 0x14005b598
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 0x14005b5dd
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3
Function at 0x14005b680
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 [0x14009d090]
test ecx, ecx
je 0x14005b799
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005b6af
cmp qword [rax + 8], 0
jne 0x14005b793
mov ecx, dword [0x14009d090]
test ecx, ecx
je 0x14005b7bb
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005b7d8
test rax, rax
jne 0x14005b739
mov qword [rsp + 0x28], 0
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsp + 0x20], rax
mov rax, qword [str.1__r_]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005b7fa
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x14009d090]
test ecx, ecx
je 0x14005b7e1
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009ad84
mov rax, rdi
test rsi, rsi
je 0x14005b753
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x14005b755
mov rcx, qword [rsi + 8]
jmp 0x14005b755
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 0x14005b793
test rdx, rdx
je 0x14005b793
lock dec qword [rdx]
jne 0x14005b793
lea rcx, [rsp + 0x28]
mov rsi, rax
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov rax, rsi
add rax, 0x10
jmp 0x14005b7da
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 0x14005b6a4
jmp 0x14005b6af
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 0x14005b6ce
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 0x14005b72b
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x14005b830
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 [0x14009d0b0]
test ecx, ecx
je 0x14005b85f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005b878
cmp byte [rax + 8], 0
je 0x14005b878
add rax, 9
jmp 0x14005b92b
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005b850
mov ecx, dword [0x14009d0b0]
test ecx, ecx
je 0x14005b90c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005b929
test rax, rax
jne 0x14005b8e6
mov rax, qword [str.1__r_]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005b948
lea rcx, dbg.destroy_value_u8_
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x14009d0b0]
test ecx, ecx
je 0x14005b932
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009ad84
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x14005b8fc
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 0x14005b92b
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005b897
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 0x14005b8d8
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3

Function at 0x14005b960
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 [0x14009d0d0]
test ecx, ecx
je 0x14005b98f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005b9a8
cmp byte [rax + 8], 0
je 0x14005b9a8
add rax, 9
jmp 0x14005ba5b
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005b980
mov ecx, dword [0x14009d0d0]
test ecx, ecx
je 0x14005ba3c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005ba59
test rax, rax
jne 0x14005ba16
mov rax, qword [str.1__r_]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005ba78
lea rcx, dbg.destroy_value_u8_
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x14009d0d0]
test ecx, ecx
je 0x14005ba62
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009ad84
mov rax, rdi
xor ecx, ecx
test rsi, rsi
je 0x14005ba2c
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 0x14005ba5b
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005b9c7
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 0x14005ba08
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3
Function at 0x14005ba90
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 [0x14009d0f0]
test ecx, ecx
je 0x14005bba3
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005babf
cmp qword [rax + 8], 0
jne 0x14005bb9d
mov ecx, dword [0x14009d0f0]
test ecx, ecx
je 0x14005bbd5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005bbf2
test rax, rax
jne 0x14005bb49
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 [str.1__r_]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14005bc14
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov ecx, dword [0x14009d0f0]
test ecx, ecx
je 0x14005bbfb
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.14009ad84
mov rax, rdi
test rsi, rsi
je 0x14005bbc5
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x14005bbc5
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 0x14005bb9d
test rdx, rdx
je 0x14005bb9d
lock dec qword [rdx]
jne 0x14005bb9d
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 0x14005bbf4
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 0x14005bab4
jmp 0x14005babf
mov rsi, rax
call sym.std::sync::mpmc::context::Context::new::h52887c5962e8c9c3
mov rcx, rax
mov rax, rsi
jmp 0x14005bb5f
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 0x14005bade
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 0x14005bb3b
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2