joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083cd3
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 0x140083cff
xor eax, eax
jmp 0x140083d04
call sym.std::io::error::Error::last_os_error::hc76c3db19144688c
nop
add rsp, 0x38
ret

Function at 0x1400843e0
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 [0x140135140]
test al, al
je 0x14008457f
test edx, edx
je 0x140084407
cmp edx, 3
jne 0x14008457f
mov rbx, qword [0x140135148]
test rbx, rbx
je 0x14008457f
xor r14d, r14d
jmp 0x140084429
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008445d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400845ca
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140084420
mov rdi, rax
mov ecx, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140084420
test r14b, 1
je 0x14008457f
mov rbx, qword [0x140135148]
test rbx, rbx
je 0x14008457f
xor r14d, r14d
jmp 0x140084489
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400844bd
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400845ca
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140084480
mov rdi, rax
mov ecx, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140084480
test r14b, 1
je 0x14008457f
mov rbx, qword [0x140135148]
test rbx, rbx
je 0x14008457f
xor r14d, r14d
jmp 0x1400844e9
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008451d
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400845ca
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x1400844e0
mov rdi, rax
mov ecx, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x1400844e0
test r14b, 1
je 0x14008457f
mov rbx, qword [0x140135148]
test rbx, rbx
je 0x14008457f
xor r14d, r14d
jmp 0x140084549
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140084579
mov esi, dword [rbx + 0x18]
mov r15, qword [rbx]
test r15, r15
je 0x1400845ca
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140084540
mov rdi, rax
mov ecx, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rcx, rdi
call r15
mov r14b, 1
jmp 0x140084540
test r14b, 1
jne 0x14008458b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rbx, qword [0x140135148]
jmp 0x140084598
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14008457f
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x1400845ca
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140084594
mov rdi, rax
mov ecx, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rcx, rdi
call r14
jmp 0x140084594
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 0x140085120
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400851a5
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 0x1400851e6
cmp dword [rsp + 0x2c], 0
je 0x1400851ca
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14008520e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140135148]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140135148], rsi
jne 0x140085180
mov byte [0x140135140], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1400851dc
call sub.kernel32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14008525a
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400851cf
mov edi, dword [rsp + 0x28]
jmp 0x1400851dc
mov edi, dword [rsi + 0x18]
jmp 0x1400851da
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, [0x1400fbc48]
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, [0x140123ed0]
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, [0x140123ed0]
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 0x140085710
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1400bf080]
test ecx, ecx
je 0x1400857f0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140085744
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140085744
add rdi, 0x10
jmp 0x1400857e6
mov ecx, dword [0x1400bf080]
test ecx, ecx
je 0x140085803
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400857e4
mov rsi, rax
test rax, rax
jne 0x1400857b3
movzx eax, byte [0x1401351a8]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140085826
mov rsi, rax
lea rax, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400bf080]
test ecx, ecx
je 0x140085816
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
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 0x1400857e6
test rcx, rcx
je 0x1400857e6
lock dec qword [rcx]
jne 0x1400857e6
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
jmp 0x1400857e6
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x140085726
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x140085754
lea rcx, dbg.destroy_value_std::sys_common::thread_info::ThreadInfo_
call dbg.init
mov ecx, eax
jmp 0x1400857ab
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2

Function at 0x140085910
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140085927
dec ecx
jmp 0x140085931
mov rcx, rdi
call dbg.init
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
cmp qword [rsi + 8], 0
je 0x14008595a
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14008595a
lock dec qword [rax]
jne 0x14008595a
mov rcx, qword [rsi + 0x10]
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140085972
dec ecx
jmp 0x14008597c
mov rcx, rdi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.kernel32.dll_TlsSetValue
Function at 0x140085e10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400bf0a0]
test ecx, ecx
je 0x140085eaf
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140085e39
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x140085e9e
mov ecx, dword [0x1400bf0a0]
test ecx, ecx
je 0x140085ec2
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140085ea4
mov rsi, rax
test rax, rax
jne 0x140085e98
movzx eax, byte [0x1401351a8]
mov ecx, 0x10
adc byte [rax], al
add byte [rax], al
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140085ee5
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 [0x1400bf0a0]
test ecx, ecx
je 0x140085ed5
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x140085ea6
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 0x140085e25
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x140085e45
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x140085e90
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x140086a40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400bf060]
test ecx, ecx
je 0x140086afd
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140086a70
cmp qword [rax + 8], 0
je 0x140086a70
add rax, 0x10
jmp 0x140086af7
mov ecx, dword [0x1400bf060]
test ecx, ecx
je 0x140086b10
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140086af5
mov rsi, rax
test rax, rax
jne 0x140086adb
movzx eax, byte [0x1401351a8]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140086b33
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 [0x1400bf060]
test ecx, ecx
je 0x140086b23
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x140086af7
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 0x140086a55
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x140086a80
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x140086ad3
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2

Function at 0x140086bb0
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 0x140086bc7
dec ecx
jmp 0x140086bd1
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140086bf3
dec ecx
jmp 0x140086bfd
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.kernel32.dll_TlsSetValue
Function at 0x1400a3530
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rcx
lea rcx, [rsp + 0xa8]
call dbg.inner
mov rax, qword [rsp + 0xa8]
add byte [rax], al
add byte [rax - 0x77], cl
and al, 0x30
test rax, rax
je 0x1400a369b
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0xb0]
add byte [rax], al
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov esi, 0xffffffff
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x1400a35f0
jmp 0x1400a35cf
jae 0x1400a36b1
cmp r8, 0x201
jae 0x1400a35f0
mov edi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x1400a3637
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x1400a3617
lea rcx, [rsp + 0x48]
mov rdx, r13
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x50]
cmp rbx, rsi
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], r13
mov r14, rbx
mov rdi, r13
mov rbp, qword [rsp + 0x28]
mov r12, r13
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov r8d, r12d
call sub.kernel32.dll_GetEnvironmentVariableW
mov r15d, eax
test eax, eax
jne 0x1400a3662
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1400a36e6
mov r8d, r15d
cmp r12, r8
jne 0x1400a35c0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400a3772
invalid
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
mov eax, esp
cmp r8, 0x201
jb 0x1400a35cf
jmp 0x1400a35f0
lea rcx, [rsp + 0xb0]
call dbg.drop_in_place<std::io::error::Error>
mov byte [rsi + 0x18], 2
jmp 0x1400a3742
add byte [rax], al
cmp rdi, r8
jb 0x1400a378c
lea rcx, [rsp + 0x88]
mov rdx, rbp
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
and al, 0x70
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1400a36fd
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
mov rsi, qword [rsp + 0x38]
test rbx, rbx
je 0x1400a3716
mov edx, 2
mov rcx, qword [rsp + 0x28]
call sym.__rust_dealloc
cmp byte [rsp + 0x78], 2
jne 0x1400a3757
mov byte [rsi + 0x18], 2
lea rcx, [rsp + 0x60]
call dbg.drop_in_place<std::io::error::Error>
cmp qword [rsp + 0x40], 0
je 0x1400a3742
mov edx, 2
mov rcx, qword [rsp + 0x30]
call sym.__rust_dealloc
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rsp + 0x40], 0
jne 0x1400a3733
jmp 0x1400a3742
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x1400a37a1
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call dbg.slice_end_index_len_fail
ud2
Function at 0x1400a6670
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1400bf0c0]
test ecx, ecx
je 0x1400a6750
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400a66a4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400a66a4
add rdi, 0x10
jmp 0x1400a6746
mov ecx, dword [0x1400bf0c0]
test ecx, ecx
je 0x1400a6763
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400a6744
mov rsi, rax
test rax, rax
jne 0x1400a6713
movzx eax, byte [0x1401351a8]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400a6786
mov rsi, rax
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 [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400bf0c0]
test ecx, ecx
je 0x1400a6776
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
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 0x1400a6746
test rcx, rcx
je 0x1400a6746
lock dec qword [rcx]
jne 0x1400a6746
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
jmp 0x1400a6746
xor edi, edi
mov rax, rdi
add rsp, 0x28
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____
call dbg.init
mov ecx, eax
jmp 0x1400a6686
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
jmp 0x1400a66b4
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
jmp 0x1400a670b
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2

Function at 0x1400a67f0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x1400a6807
dec ecx
jmp 0x1400a6811
mov rcx, rdi
call dbg.init
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
cmp qword [rsi + 8], 0
je 0x1400a683a
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400a683a
lock dec qword [rax]
jne 0x1400a683a
mov rcx, qword [rsi + 0x10]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x1400a6852
dec ecx
jmp 0x1400a685c
mov rcx, rdi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.kernel32.dll_TlsSetValue
Function at 0x1400a7020
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x140135130]
cmp rax, 3
jne 0x1400a71db
cmp rbx, 0x17f
ja 0x1400a71ed
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sym.memcpy
mov byte [rsp + rbx + 0x60], 0
lea rax, [rbx + 1]
cmp rbx, 0xe
ja 0x1400a7098
xor edx, edx
nop
cmp byte [rsp + rdx + 0x60], 0
je 0x1400a7144
inc rdx
cmp rax, rdx
jne 0x1400a7080
jmp 0x1400a71a2
lea rcx, [rsp + 0x67]
and rcx, 0xfffffffffffffff8
sub rcx, r15
je 0x1400a70ce
je 0x1400a70ce
xor edx, edx
nop word [rax + rax]
cmp byte [rsp + rdx + 0x60], 0
je 0x1400a7144
inc rdx
cmp rcx, rdx
jne 0x1400a70b0
lea rdx, [rbx - 0xf]
cmp rcx, rdx
jbe 0x1400a70d4
jmp 0x1400a711e
lea rdx, [rbx - 0xf]
xor ecx, ecx
movdqa xmm0, xmmword [0x1400c3480]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rsp + rcx + 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x1400a711e
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400a70f0
sub rax, rcx
je 0x1400a71a2
lea r8, [rsp + rcx]
add r8, 0x60
xor edx, edx
nop dword [rax]
cmp byte [r8 + rdx], 0
je 0x1400a7141
inc rdx
cmp rax, rdx
jne 0x1400a7130
jmp 0x1400a71a2
add rdx, rcx
cmp rdx, rbx
jne 0x1400a71a2
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400a71b6
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400a71c9
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400a71cc
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
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::windows::net::init::{closure_env#0}>, !>
cmp rbx, 0x17f
jbe 0x1400a705a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp dbg.run_with_cstr_allocating<std::sys_common::net::LookupHost, std::sys_common::net::{impl#6}::try_from::{closure_env#0}>
Function at 0x1400a7750
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call dbg.spec_new_impl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a77aa
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x1400a7832
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.__rust_dealloc
mov rdi, qword [rsp + 0x38]
mov r14, 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]
mov rcx, rdi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400a7807
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400a781a
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x1400a7832
mov edx, 1
mov rcx, rdi
call sym.__rust_dealloc
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400a7840
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x1400a7898
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.ws2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x1400a78b2
lea rax, [0x1400bc5f4]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x1400fb658]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2

Function at 0x1400a78e0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x1400a7938
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.ws2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x1400a7952
lea rax, [0x1400bc5f4]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x1400fb658]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2
Function at 0x1400a7c90
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x1401351a8]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400a7d48
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [dbg.thread_start]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x1400a7d3b
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x1400a7d1a
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call sym.__rust_dealloc
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2

Function at 0x1400a7e70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov edx, 0x10
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x1400a7ea6
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf61a9982636bd69d]
mov qword [rsp + 0x48], rax
lea rax, str.fallback_RNG_broken:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rsp + 0x50]
call dbg.panic_fmt
ud2