joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008db90
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14008dbb5
cmp rax, rcx
je 0x14008dbbb
cmp rdx, 4
jae 0x14008dbc2
xor eax, eax
xor r8d, r8d
jmp 0x14008dc60
pop rbp
jmp sym.core::str::count::do_count_chars::h0eb3508aff42cff4
xor eax, eax
jmp 0x14008dc77
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400dca10]
movdqa xmm3, xmmword [0x1400dca20]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x14008dbf0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14008dc77
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14008dc60
pop rbp
ret
Function at 0x140091447
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
mov qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x140091473
mov rdx, qword [rsp + 0x20]
jmp 0x14009147b
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140091e73
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 0x140091e9f
xor eax, eax
jmp 0x140091eac
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1400925eb
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x14009260e
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x140092610
xor eax, eax
add rsp, 0x28
ret

Function at 0x140092cc0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov edi, dword [rcx + 0x10]
mov edx, 1
mov ecx, edi
call fcn.1400d7974
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rsi
call fcn.1400d78a4
mov ecx, edi
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.1400d7974

Function at 0x140092d00
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov edi, dword [rcx + 8]
mov edx, 1
mov ecx, edi
call fcn.1400d7974
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rsi
call fcn.1400d78a4
mov ecx, edi
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.1400d7974

Function at 0x140093d20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140110d70]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x140093d8f
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140093dbb
test eax, eax
js 0x140093d9b
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140093db1
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140110dd8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call sym.std::io::Write::write_fmt::hdc620d2dd22aa030
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::hfcc0b544997c6b8c
mov ecx, 7
int 0x29
ud2
Function at 0x140094660
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400da0b0]
test esi, esi
je 0x140094709
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140094700
je 0x1400946a9
test rdi, rdi
je 0x1400946ad
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1400946af
mov rbx, qword [rdi + 8]
jmp 0x1400946af
xor eax, eax
jmp 0x140094700
xor ebx, ebx
movzx eax, byte [0x140149110]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x14009471c
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400d7974
test rdi, rdi
je 0x1400946fd
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::hae0938d07776a6a0
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
jmp 0x140094680
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, dword [0x1400da0d0]
test esi, esi
je 0x1400947d4
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1400947cb
je 0x1400947c9
movzx eax, byte [0x140149110]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400947e7
mov qword [rax], 0
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400d7974
test rdi, rdi
je 0x1400947c4
mov rax, qword [rdi]
test rax, rax
je 0x1400947b3
lock dec qword [rax]
jne 0x1400947b3
mov rcx, qword [rdi]
call sym.alloc::sync::Arc_T_A_::drop_slow::h2e9684c2aaf21016
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov rax, rsi
jmp 0x1400947cb
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.0M_t_
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
jmp 0x14009474d
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x1400948e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x140094975
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x1400949b4
cmp dword [rbp], 0
je 0x140094998
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400949d7
mov edi, eax
mov rax, qword [sym.std::sys::thread_local::guard::windows::tls_callback::hb3b522923a445e95]
mov rax, qword [0x1401490f0]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1401490f0], rsi
jne 0x140094950
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x1400949a9
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140094a19
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14009499d
mov edi, dword [rbp + 4]
jmp 0x1400949a9
mov edi, dword [rsi + 0x18]
jmp 0x1400949a7
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rdx, [0x140111010]
lea r9, str.library_std_src_sys_thread_localkeywindows.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call sym.core::panicking::assert_failed::h0803915418e34f99
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_sys_thread_localkeywindows.rs
lea rcx, [rbp - 0x38]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call sym.core::panicking::assert_failed::h42eecccc4207c29f
int3
Function at 0x140094b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
cmp edx, 3
je 0x140094b2c
test edx, edx
jne 0x140094c95
mov bl, 1
mov rdi, qword [0x1401490f0]
nop word cs:[rax + rax]
test rdi, rdi
je 0x140094b80
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x140094cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x140094b40
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140094b40
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400d7974
mov rcx, rsi
call r14
jmp 0x140094b40
test bl, 1
jne 0x140094c95
mov bl, 1
mov rdi, qword [0x1401490f0]
nop word cs:[rax + rax]
test rdi, rdi
je 0x140094be0
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x140094cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x140094ba0
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140094ba0
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400d7974
mov rcx, rsi
call r14
jmp 0x140094ba0
test bl, 1
jne 0x140094c95
mov bl, 1
mov rdi, qword [0x1401490f0]
nop word cs:[rax + rax]
test rdi, rdi
je 0x140094c40
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x140094cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x140094c00
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140094c00
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400d7974
mov rcx, rsi
call r14
jmp 0x140094c00
test bl, 1
jne 0x140094c95
mov bl, 1
mov rdi, qword [0x1401490f0]
nop
test rdi, rdi
je 0x140094c90
mov esi, dword [rdi + 0x18]
mov r14, qword [rdi]
test r14, r14
je 0x140094cea
mov rdi, qword [rdi + 8]
test esi, esi
je 0x140094c50
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140094c50
xor ebx, ebx
mov ecx, esi
xor edx, edx
mov rsi, rax
call fcn.1400d7974
mov rcx, rsi
call r14
jmp 0x140094c50
test bl, 1
je 0x140094ca0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rbx, qword [0x1401490f0]
nop word [rax + rax]
test rbx, rbx
je 0x140094c95
mov esi, dword [rbx + 0x18]
mov r14, qword [rbx]
test r14, r14
je 0x140094cea
mov rbx, qword [rbx + 8]
test esi, esi
je 0x140094cb0
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x140094cb0
mov rdi, rax
mov ecx, esi
xor edx, edx
call fcn.1400d7974
mov rcx, rdi
call r14
jmp 0x140094cb0
lea rcx, str.library_std_src_sys_thread_localkeywindows.rs
call sym.core::option::unwrap_failed::h38ae581b954ce070
ud2

Function at 0x140094d30
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [rcx + 8]
mov edx, 1
mov ecx, esi
call fcn.1400d7974
mov rax, qword [rdi]
test rax, rax
je 0x140094d64
lock dec qword [rax]
jne 0x140094d64
mov rcx, qword [rdi]
call sym.alloc::sync::Arc_T_A_::drop_slow::h2e9684c2aaf21016
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov ecx, esi
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.1400d7974
Function at 0x140094f90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, dword [0x1400da070]
test esi, esi
je 0x14009501e
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140095015
je 0x140095013
movzx eax, byte [0x140149110]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x140095031
mov qword [rax], 0
mov byte [rax + 8], 0
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400d7974
test rdi, rdi
je 0x14009500e
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov rax, rsi
jmp 0x140095015
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::h2c279e50529633ce
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
jmp 0x140094fa9
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x1400984c0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x30], 7
mov qword [rbp + 0x34], 0
mov word [rbp + 0x3c], 0
mov byte [rbp + 0x38], 1
lea r8, [rbp + 0x18]
mov rcx, rdx
mov rdx, rax
call sym.std::sys::pal::windows::fs::File::open::hc26adf99dd0cd861
mov rdi, rdx
test rax, rax
je 0x140098547
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call sym.core::ptr::drop_in_place_std::io::error::Error_::h3466fc80fe41233f
mov qword [rsi], 0
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0x18]
mov rdx, rdi
call sym.std::sys::pal::windows::fs::File::file_attr::hd835218852a56d09
cmp dword [rbp + 0x18], 2
jne 0x14009856b
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x1400985a2
movups xmm0, xmmword [rbp + 0x18]
movups xmm1, xmmword [rbp + 0x28]
movups xmm2, xmmword [rbp + 0x38]
movups xmm3, xmmword [rbp + 0x48]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 0x58]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
cmp qword [rbp - 0x40], 2
jne 0x1400985cb
lea rcx, [rbp - 0x38]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h3466fc80fe41233f
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp sub.kernel32.dll_CloseHandle
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x140098619
mov qword [rbp - 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x140098695
mov rbx, qword [rbp - 0x40]
jmp 0x14009861b
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 0x140098684
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 0x140098684
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400986be
mov qword [rsi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400986be
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x18], 1
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x20], rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::h3466fc80fe41233f
mov qword [rsi], 0
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
jmp 0x140098535
Function at 0x1400ae0e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm15
movaps xmmword [rbp + 0xc0], xmm14
movaps xmmword [rbp + 0xb0], xmm13
movaps xmmword [rbp + 0xa0], xmm12
movaps xmmword [rbp + 0x90], xmm11
movaps xmmword [rbp + 0x80], xmm10
movaps xmmword [rbp + 0x70], xmm9
movaps xmmword [rbp + 0x60], xmm8
movaps xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x40], xmm6
mov rsi, r8
mov rbx, rdx
cmp rdx, 0x21
jb 0x1400ae5b7
mov r15, r9
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x30], rax
mov edi, dword [rbp + 0x150]
lea rax, [rsi - 0x20]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r9
Function at 0x1400b85c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, dword [0x1400da090]
test esi, esi
je 0x1400b8664
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1400b865b
je 0x1400b8659
movzx eax, byte [0x140149110]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400b8677
mov qword [rax], 0
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1400d7974
test rdi, rdi
je 0x1400b8654
mov rax, qword [rdi]
test rax, rax
je 0x1400b8643
lock dec qword [rax]
jne 0x1400b8643
mov rcx, qword [rdi]
call sym.alloc::sync::Arc_T_A_::drop_slow::hcef4d9ea6db501ca
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov rax, rsi
jmp 0x1400b865b
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, sym.std::sys::thread_local::os::destroy_value::haa3306ec31336e60
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
jmp 0x1400b85dd
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3

Function at 0x1400b86f0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [rcx + 8]
mov edx, 1
mov ecx, esi
call fcn.1400d7974
mov rax, qword [rdi]
test rax, rax
je 0x1400b8724
lock dec qword [rax]
jne 0x1400b8724
mov rcx, qword [rdi]
call sym.alloc::sync::Arc_T_A_::drop_slow::hcef4d9ea6db501ca
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov ecx, esi
xor edx, edx
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp fcn.1400d7974
Function at 0x1400b88d0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov eax, dword [0x1401490d0]
cmp eax, 4
jne 0x1400b8ac0
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1400b8ad0
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sym.memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1400b8968
xor edx, edx
nop word cs:[rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400b8a24
inc rdx
cmp rax, rdx
jne 0x1400b8950
jmp 0x1400b8a8b
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1400b899e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400b8a24
inc rdx
cmp rcx, rdx
jne 0x1400b8980
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1400b89a2
jmp 0x1400b89ee
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x1400de980]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + 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 0x1400b89ee
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400b89c0
sub rax, rcx
je 0x1400b8a8b
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x1400b8a21
inc rdx
cmp rax, rdx
jne 0x1400b8a10
jmp 0x1400b8a8b
add rdx, rcx
cmp rdx, rdi
jne 0x1400b8a8b
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400b8a9f
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400b8ab7
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400b8ae2
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1400b8ae2
mov rbx, rdx
call sym.std::sync::once_lock::OnceLock_T_::initialize::h1080f60b2d887b5e
mov rdx, rbx
jmp 0x1400b890a
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call sym.std::sys::pal::common::small_c_string::run_with_cstr_allocating::h91c0074b1fa34e01
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b8fe0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
cmp r8, 0xffffffffffffffff
je 0x1400b914b
mov rbx, r8
mov r14, r8
inc r14
js 0x1400b9157
mov rdi, r9
mov r12, rdx
mov rsi, rcx
movzx eax, byte [0x140149110]
xor ecx, ecx
mov rdx, r14
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400b915c
mov r15, rax
mov rcx, rax
mov rdx, r12
mov r8, rbx
call sym.memcpy
cmp rbx, 0xf
ja 0x1400b9061
test rbx, rbx
je 0x1400b90a4
xor eax, eax
nop dword [rax]
cmp byte [r12 + rax], 0
je 0x1400b9073
inc rax
cmp rbx, rax
jne 0x1400b9050
jmp 0x1400b90a4
xor ecx, ecx
mov rdx, r12
mov r8, rbx
call sym.core::slice::memchr::memchr_aligned::h47fcfda46b79ef33
test rax, rax
je 0x1400b90a4
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, r15
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.1400d78a4
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x40]
call sym.alloc::ffi::c_str::CString::_from_vec_unchecked::h3fc05aa21d917cf9
mov rbx, rax
mov r14, rdx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x38], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x40]
lea r9, [rbp - 8]
mov rcx, rax
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400b9107
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400b911b
mov rcx, qword [rdi]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rbx], 0
test r14, r14
je 0x1400b913b
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rbx
call fcn.1400d78a4
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.library_alloc_src_ffic_str.rs
call sym.core::option::unwrap_failed::h38ae581b954ce070
call sym.alloc::raw_vec::capacity_overflow::h99fe6a72bad8a834
mov ecx, 1
mov rdx, r14
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
int3