joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a238f
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hf97965ecc46fe141
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400a24fd
test eax, eax
je 0x1400a2476
cmp eax, 0x90317
je 0x1400a24f7
cmp eax, 0x90321
jne 0x1400a251b
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h95fd827f14e26fe4
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400a2529
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::h392dba47e5b3aba6
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call sym.alloc::vec::Vec_T_A_::extend_from_slice::h2d02381b622084fb
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::h95fd827f14e26fe4
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400a2529
mov byte [rsi + 1], 1
jmp 0x1400a2517
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400a2529
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400a35c8
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
jo 0x1400a362e
lea ecx, [0x140249350]
Function at 0x1400a9fa6
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne sym.__tokio_native_tls::TlsStream_S__as_tokio::io::async_read::AsyncRead_::poll_read::hf1b9c909339504b3
add rcx, 8
jmp sym.__tokio::net::tcp::stream::TcpStream_as_tokio::io::async_read::AsyncRead_::poll_read::h8e3924f9ca33d055
Function at 0x1400bb6be
Capabilities:
Load assembly via iassembly

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xae8
movaps xmmword [rsp + 0xad0], xmm7
movaps xmmword [rsp + 0xac0], xmm6
mov qword [rsp + 0x50], r8
mov rbx, rdx
mov qword [rsp + 0x1d0], rcx
lea rax, [rdx + 0x378]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rdx + 0x378]
cmp rax, 2
jne 0x1400bb714
mov eax, 2
jmp 0x1400bb77d
test rax, rax
je 0x1400bb73b
mov rcx, qword [rbx + 0x380]
mov rax, qword [rbx + 0x388]
mov rdx, qword [rax + 0x10]
dec rdx
and rdx, 0xfffffffffffffff0
add rcx, rdx
add rcx, 0x10
jmp 0x1400bb749
mov rcx, qword [rbx + 0x380]
mov rax, qword [rbx + 0x388]
lea rdx, [rbx + 0x390]
call qword [rax + 0x70]
mov rsi, rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x1d8]
call sym.__tracing_core::dispatcher::Dispatch_as_core::clone::Clone_::clone::h7e8aa92b242c4713
mov rax, qword [rdi]
movups xmm0, xmmword [rdi + 8]
movaps xmmword [rsp + 0x5a0], xmm0
mov rcx, qword [rbx + 0x398]
mov qword [rsp + 0x748], rax
movaps xmm0, xmmword [rsp + 0x5a0]
movups xmmword [rsp + 0x750], xmm0
mov qword [rsp + 0x760], rsi
mov qword [rsp + 0x768], rcx
cmp rax, 2
je 0x1400bb7c7
lea rdx, [rsp + 0x760]
lea rcx, [rsp + 0x748]
call sym.tracing_core::dispatcher::Dispatch::enter::h690bbe0f6ddeb56d
mov rax, qword [0x1401ea3f0]
lea rcx, [rsp + 0x90]
mov qword [rcx], 2
mov qword [rcx + 0x20], rax
add rax, 0x30
lea r8, str.open
lea rdx, [rsp + 0x5a0]
mov qword [rdx], r8
and qword [rdx + 8], 0
mov qword [rdx + 0x10], rax
mov qword [rsp + 0x718], rcx
call sym.tracing::span::Span::record_all::h5ff8cf3f30ff536a
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x6c0], xmm0
movaps xmmword [rsp + 0x6d0], xmm1
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x6e0], rax
cmp dword [rsp + 0x6c0], 2
je 0x1400bb85c
lea rdx, [rsp + 0x6d8]
lea rcx, [rsp + 0x6c0]
call sym.tracing_core::dispatcher::Dispatch::enter::h690bbe0f6ddeb56d
lea rax, [rbx + 0x3f8]
mov qword [rsp + 0x380], rax
lea rax, [rbx + 0x48]
mov qword [rsp + 0x348], rax
lea rax, [rbx + 0x3a0]
mov qword [rsp + 0x228], rax
lea rax, [rbx + 0x410]
mov qword [rsp + 0x340], rax
lea rax, [rbx + 0x3d8]
mov qword [rsp + 0x2c8], rax
lea rax, [rbx + 0x188]
mov qword [rsp + 0x388], rax
lea rax, [rbx + 0x390]
mov qword [rsp + 0x740], rax
lea rax, [rbx + 0x50]
mov qword [rsp + 0x330], rax
lea rax, [rbx + 0x58]
mov qword [rsp + 0x378], rax
lea rax, [rbx + 0x43c]
mov qword [rsp + 0x338], rax
xorps xmm6, xmm6
lea rsi, [rbx + 0x1a0]
lea rax, [rbx + 0x1c8]
mov qword [rsp + 0x738], rax
lea rax, [rbx + 0x230]
mov qword [rsp + 0x730], rax
lea rax, [rbx + 0x47c]
mov qword [rsp + 0x728], rax
lea rax, [rbx + 0x4b1]
mov qword [rsp + 0x720], rax
lea rax, [0x14024bde4]
mov qword [rsp + 0x328], rax
Function at 0x1400e36b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae dbg.do_count_chars
cmp rax, rcx
je 0x1400e36d5
cmp rdx, 4
jae 0x1400e36d8
xor eax, eax
xor r8d, r8d
jmp 0x1400e3770
xor eax, eax
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1401eee90]
movdqa xmm3, xmmword [0x1401eeea0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400e3700
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400e3787
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400e3770
ret
Function at 0x1400e4640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov r10, qword [rcx]
test r10, r10
je 0x1400e46be
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400e46be
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400e46d6
cmp eax, 0x42
jne 0x1400e46be
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x1400e47fd
cmp byte [r10 + rsi], 0x5f
jne 0x1400e478c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x1400e47fd
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400e4857
mov dil, 1
xor r9d, r9d
jmp 0x1400e47ff
xor edx, edx
call dbg.print_path
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call dbg.print_path
test al, al
jne 0x1400e483d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400e4715
lea rdx, [0x14024ee0a]
mov r8d, 1
call dbg.pad
mov rdx, rbx
test al, al
jne 0x1400e483d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400e46ca
xor r14d, r14d
lea rdi, [0x14024f161]
nop word [rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400e4744
cmp byte [rax + rcx], 0x45
je 0x1400e4894
sub r14, 1
jb 0x1400e476c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400e476c
mov r8d, 2
mov rdx, rdi
call dbg.pad
mov rdx, rbx
test al, al
jne 0x1400e483d
mov rcx, rdx
call dbg.print_generic_arg
test al, al
jne 0x1400e483d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400e4730
jmp 0x1400e46ca
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400e47ed
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x1400e47cf
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x1400e47c1
add dl, 0xa9
jmp 0x1400e47cd
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x1400e47fd
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x1400e47fd
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x1400e47ff
cmp rsi, r11
jb 0x1400e47a0
jmp 0x1400e47ff
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1400e4699
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400e4845
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as_mut_const___dyn___unsafe_extern___
lea rdx, [0x14024f140]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call dbg.pad
mov rcx, rbx
test al, al
je 0x1400e4845
mov sil, 2
jmp 0x1400e46ca
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x1400e46ca
cmp qword [rcx + 0x20], 0
je 0x1400e4850
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
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 0x1400e46cc
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400e46ca
Function at 0x1400e7271
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400e729a
mov rdx, qword [rsp + 0x20]
jmp 0x1400e72a2
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret

Function at 0x1400e749f
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
mov dword [rsp + 0x88], 4
mov dword [rsp + 0xd0], 0x400010
cmp qword [rcx + 0x18], rax
je 0x1400e750f
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0xb0], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0xb8], rdx
cmp qword [rcx + 0x30], rax
je 0x1400e754a
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400e7541
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x140287bf0]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400e752e
jmp 0x1400e7543
xor edx, edx
mov dword [rsp + 0xc0], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400e7599
mov rax, rsi
shr rax, 0x3c
jne 0x1400e765e
mov r14, qword [rcx + 8]
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call sym._ZN5alloc5alloc6Global10alloc_impl17hc83fc75a14499477E.12965
test rax, rax
je 0x1400e7663
mov rdi, rax
xor eax, eax
mov rcx, qword [r14 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400e7587
jmp 0x1400e75a0
mov edi, 8
xor esi, esi
lea rax, [rsp + 0x88]
mov dword [rax + 4], esi
mov qword [rax + 8], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
and qword [rsp + 0x40], 0
lea rdx, [0x140251fb0]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test eax, eax
je 0x1400e75f9
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400e7640
movaps xmm0, xmmword [rsp + 0x50]
mov eax, 1
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x78], xmm0
mov al, byte [0x1402e61a8]
mov edx, 0x20
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x1400e7670
mov rbx, rax
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor r14d, r14d
mov rcx, rsi
mov rdx, rdi
call sym.core::ptr::drop_in_place_tokio::runtime::scheduler::multi_thread::idle::Synced_::h4db89fd8aaa84ccd
mov rax, r14
mov rdx, rbx
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
ret
call sym.alloc::raw_vec::capacity_overflow::heae1a780ed80a88f
mov ecx, 8
mov rdx, rbx
call dbg.handle_alloc_error
lea r14, [rsp + 0x78]
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2
Function at 0x1400ef462
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400ef48e
xor eax, eax
jmp 0x1400ef493
call sym.std::io::error::Error::last_os_error::h0458cd349e8bdcb7
nop
add rsp, 0x38
ret

Function at 0x1400efef0
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 [0x1402e6140]
test al, al
je 0x1400f008f
test edx, edx
je 0x1400eff17
cmp edx, 3
jne 0x1400f008f
mov rbx, qword [0x1402e6148]
test rbx, rbx
je 0x1400f008f
xor r14d, r14d
jmp 0x1400eff39
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400eff6d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400f00da
dec esi
mov ecx, esi
call fcn.14017ee14
test rax, rax
je 0x1400eff30
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14017ee1c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400eff30
test r14b, 1
je 0x1400f008f
mov rbx, qword [0x1402e6148]
test rbx, rbx
je 0x1400f008f
xor r14d, r14d
jmp 0x1400eff99
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400effcd
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400f00da
dec esi
mov ecx, esi
call fcn.14017ee14
test rax, rax
je 0x1400eff90
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14017ee1c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400eff90
test r14b, 1
je 0x1400f008f
mov rbx, qword [0x1402e6148]
test rbx, rbx
je 0x1400f008f
xor r14d, r14d
jmp 0x1400efff9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400f002d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400f00da
dec esi
mov ecx, esi
call fcn.14017ee14
test rax, rax
je 0x1400efff0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14017ee1c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400efff0
test r14b, 1
je 0x1400f008f
mov rbx, qword [0x1402e6148]
test rbx, rbx
je 0x1400f008f
xor r14d, r14d
jmp 0x1400f0059
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400f0089
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400f00da
dec esi
mov ecx, esi
call fcn.14017ee14
test rax, rax
je 0x1400f0050
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14017ee1c
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400f0050
test r14b, 1
jne 0x1400f009b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x1402e6148]
jmp 0x1400f00a8
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400f008f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x1400f00da
dec esi
mov ecx, esi
call fcn.14017ee14
test rax, rax
je 0x1400f00a4
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.14017ee1c
mov rcx, rdi
call r14
jmp 0x1400f00a4
lea rcx, str.library_std_src_syspalwindows_thread_local_key.rs
call dbg.unwrap_failed
ud2
Function at 0x1400f0b90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x40
mov ecx, dword [0x1401ea500]
test ecx, ecx
je 0x1400f0c82
dec ecx
call fcn.14017ee14
cmp rax, 2
jb 0x1400f0bc0
cmp qword [rax + 8], 0
je 0x1400f0bc0
add rax, 0x10
jmp 0x1400f0c7c
mov ecx, dword [0x1401ea500]
test ecx, ecx
je 0x1400f0c95
dec ecx
call fcn.14017ee14
cmp rax, 1
je 0x1400f0c7a
test rax, rax
jne 0x1400f0c40
mov qword [rsp + 0x30], 0
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsp + 0x28], rax
movzx eax, byte [0x1402e61a8]
mov edx, 0x18
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x1400f0cc1
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401ea500]
test ecx, ecx
je 0x1400f0ca8
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.14017ee1c
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x1400f0c7c
test rcx, rcx
je 0x1400f0c7c
lock dec qword [rcx]
jne 0x1400f0c7c
mov rsi, rax
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov rax, rsi
jmp 0x1400f0c7c
xor eax, eax
add rsp, 0x40
pop rsi
ret
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x1400f0ba5
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x1400f0bd0
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov rsi, rax
call dbg.init
mov ecx, eax
mov rax, rsi
jmp 0x1400f0c32
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2
Function at 0x1400f10e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400f1167
mov dword [rsp + 0x2c], 0
lea rdi, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rdi
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1400f11a8
cmp dword [rsp + 0x2c], 0
je 0x1400f118c
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400f11ce
mov ebx, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1402e6148]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402e6148], rsi
jne 0x1400f1140
mov byte [0x1402e6140], 1
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
mov eax, ebx
jmp 0x1400f11a0
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1400f1218
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400f1191
mov eax, dword [rsp + 0x28]
jmp 0x1400f11a0
mov eax, dword [rsi + 0x18]
jmp 0x1400f119e
mov ecx, dword [rsp + 0x28]
mov esi, eax
call sub.kernel32.dll_TlsFree
mov eax, esi
dec eax
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x140256b80]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
mov rcx, rdi
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.xq__
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.open
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call dbg.panic_fmt
lea rax, str.xq__
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.open
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>
int3

Function at 0x1400f1350
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 0x1400f1367
dec ecx
jmp 0x1400f1371
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.14017ee1c
cmp qword [rdi + 8], 0
je 0x1400f139a
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400f139a
lock dec qword [rax]
jne 0x1400f139a
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 0x1400f13b2
dec ecx
jmp 0x1400f13bc
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.14017ee1c

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1401ea520]
test ecx, ecx
je 0x1400f1916
dec ecx
call fcn.14017ee14
cmp rax, 2
jb 0x1400f18a6
cmp byte [rax + 8], 0
jne 0x1400f1908
mov ecx, dword [0x1401ea520]
test ecx, ecx
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400f1895
Function at 0x1400f2020
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1402568e0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x1400f2091
mov rcx, rdi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400f20c7
test eax, eax
js 0x1400f20a2
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400f20ba
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x140256948]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call sym.std::io::Write::write_fmt::hb4cafe7f16dd1809
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::h89c73ec8751a9466
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1401ea4e0]
test ecx, ecx
je 0x1400f271d
dec ecx
call fcn.14017ee14
cmp rax, 2
jb 0x1400f2690
cmp qword [rax + 8], 0
je 0x1400f2690
add rax, 0x10
jmp 0x1400f2717
mov ecx, dword [0x1401ea4e0]
test ecx, ecx
je 0x1400f2730
dec ecx
call fcn.14017ee14
cmp rax, 1
je 0x1400f2715
test rax, rax
jne 0x1400f26f8
movzx eax, byte [0x1402e61a8]
mov edx, 0x20
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x1400f2759
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401ea4e0]
test ecx, ecx
je 0x1400f2743
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.14017ee1c
mov rax, rsi
mov qword [rax + 8], 1
mov rcx, rax
add rax, 0x10
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
jmp 0x1400f2717
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 0x1400f2675
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400f26a0
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
mov rsi, rax
call dbg.init
mov ecx, eax
mov rax, rsi
jmp 0x1400f26ea
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3