joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a3180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
lea edi, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], ecx
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, esi
add ecx, esi
push sym.__ZN3std3sys3pal7windows4pipe8AnonPipe21alertable_io_internal8callback17hf7dee0df86c8513aE_12
push edi
push eax
push ecx
push dword [edx]
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x100a31f3
nop word cs:[eax + eax]
nop
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x1c], 1
jne 0x100a31d0
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x100a3213
mov ecx, edi
call sym.std::sys::pal::windows::decode_error_kind::hee457e6c5b232542
cmp al, 0xb
jne 0x100a3205
jmp 0x100a3224
call sub.kernel32.dll_GetLastError
mov edi, eax
mov ecx, edi
call sym.std::sys::pal::windows::decode_error_kind::hee457e6c5b232542
cmp al, 0xb
je 0x100a3224
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [eax], 0
jmp 0x100a322a
add esi, dword [ebp - 0x14]
mov dword [ebx + 8], esi
mov eax, dword [ebx + 0xc]
cmp eax, esi
cmova esi, eax
mov dword [ebx + 0xc], esi
mov eax, dword [ebp - 0x10]
mov byte [eax], 4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100a3560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [edx], 0
mov edi, edx
jne 0x100a3634
mov ebx, dword [edi + 0xc]
mov esi, ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x100a360c
mov ecx, dword [edi + 8]
sub edx, eax
add eax, dword [ebx + 4]
mov dword [ebp - 0x2c], 0
lea ebx, [ebp - 0x2c]
push ecx
push ebx
push edx
push eax
push dword [edi + 0x10]
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x100a35bb
mov eax, dword [ebp - 0x2c]
mov ecx, 2
test eax, eax
jne 0x100a35ef
mov word [esi], 4
jmp 0x100a35f9
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x100a35d8
cmp eax, 0x6d
jne 0x100a3601
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 1
jmp 0x100a35db
lea eax, [ebp - 0x10]
mov dword [eax], 0
mov ecx, 1
mov eax, dword [ebp - 0x14]
test byte [ebp - 0x10], 1
jne 0x100a35ab
mov dword [edi], ecx
mov dword [edi + 4], eax
mov word [esi], 0x104
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi], 0
mov dword [esi + 4], eax
jmp 0x100a35f9
test edx, edx
mov ecx, 0x10
mov eax, 1
cmove eax, ecx
mov ecx, ebx
push 1
push 1
push eax
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::h35901dc27c78f3f2
add esp, 0xc
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
jmp 0x100a3586
lea edx, [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0x2c], 0
call sym.core::panicking::assert_failed::hd5b2eaeabe3c22bb
nop word cs:[eax + eax]
nop
Function at 0x100a8560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
lea ecx, [ebp - 0x28]
push dword [ebp + 8]
call sym.std::sys::pal::windows::to_u16s::inner::h36c7c454f9caa61a
add esp, 4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov edx, ecx
neg edx
jo 0x100a85ac
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x34]
call sym.std::sys::pal::windows::args::from_wide_to_user_path::h8367ae1feee68ae3
mov edi, dword [ebp - 0x1c]
mov eax, edi
neg eax
jno 0x100a85f3
movzx eax, byte [ebp - 0x18]
mov edi, dword [ebp - 0x14]
cmp al, 3
jne 0x100a85e8
mov ebx, dword [edi + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [edi]
mov eax, dword [ebx]
test eax, eax
je 0x100a85c4
push esi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x100a85d8
push dword [ebx + 8]
push eax
push esi
call sym.___rust_dealloc
add esp, 0xc
push 4
push 0xc
push edi
call sym.___rust_dealloc
add esp, 0xc
mov esi, dword [ebp - 0x10]
mov dword [esi], 0x80000000
add esp, 0x28
jmp 0x100a862f
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ebx
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x100a8617
mov eax, dword [ebp - 0x10]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
add esp, 0x28
jmp 0x100a862f
test edi, edi
mov dword [esi], 0x80000000
je 0x100a8612
add edi, edi
push 2
push edi
push ebx
call sym.___rust_dealloc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100a9cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x1017b554]
mov ebx, dword [ebp + 0x10]
movzx eax, byte [eax]
push 4
push 8
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x100a9d89
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push sym.__ZN3std3sys3pal7windows6thread6Thread3new12thread_start17hcccd95f55a7034f0E_4
push eax
push 0
call sub.kernel32.dll_CreateThread
test eax, eax
je 0x100a9d42
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x100a9d82
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x100a9d53
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x100a9d67
push dword [ebx + 8]
push eax
push edi
call sym.___rust_dealloc
add esp, 0xc
push 4
push 8
push esi
call sym.___rust_dealloc
add esp, 0xc
call sub.kernel32.dll_GetLastError
mov edi, dword [ebp + 8]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ebx
mov ebx, dword [ebp + 0x14]
push 8
push 4
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
add esp, 8
ud2

Function at 0x100abc00
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0xc]
lea ecx, [ebp - 8]
push 0
push 0
push eax
push ecx
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x100abc3a
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
xor ecx, ecx
jmp 0x100abc48
call sub.kernel32.dll_GetLastError
mov byte [esi + 4], 0
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi], ecx
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
Function at 0x100adc30
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
push 1
push esi
call sub.kernel32.dll_TlsSetValue
push 8
push 0x10
push edi
call sym.___rust_dealloc
add esp, 0xc
push 0
push esi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x100adc60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [esi + 4]
push 1
push edi
call sub.kernel32.dll_TlsSetValue
mov eax, dword [esi]
test eax, eax
je 0x100adc85
lock dec dword [eax]
jne 0x100adc85
mov ecx, esi
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h9736c14079add486
push 4
push 8
push esi
call sym.___rust_dealloc
add esp, 0xc
push 0
push edi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x100adca0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
push 1
push esi
call sub.kernel32.dll_TlsSetValue
push 4
push 8
push edi
call sym.___rust_dealloc
add esp, 0xc
push 0
push esi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x100adcd0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
push 1
push esi
call sub.kernel32.dll_TlsSetValue
push 4
push 0xc
push edi
call sym.___rust_dealloc
add esp, 0xc
push 0
push esi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x100add00
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x10]
push 1
push esi
call sub.kernel32.dll_TlsSetValue
push 8
push 0x18
push edi
call sym.___rust_dealloc
add esp, 0xc
push 0
push esi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x100add30
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [esi + 4]
push 1
push edi
call sub.kernel32.dll_TlsSetValue
mov eax, dword [esi]
test eax, eax
je 0x100add55
lock dec dword [eax]
jne 0x100add55
mov ecx, esi
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h4ee1933e4e45c3f4
push 4
push 8
push esi
call sym.___rust_dealloc
add esp, 0xc
push 0
push edi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x100add70
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [esi + 4]
push 1
push edi
call sub.kernel32.dll_TlsSetValue
mov eax, dword [esi]
test eax, eax
je 0x100add95
lock dec dword [eax]
jne 0x100add95
mov ecx, esi
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h4533692e68e6757b
push 4
push 8
push esi
call sym.___rust_dealloc
add esp, 0xc
push 0
push edi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret
Function at 0x100addb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x100addc7
test eax, eax
jne 0x100adf41
mov esi, dword [0x101aa15c]
xor ecx, ecx
nop
test esi, esi
je 0x100ade0d
mov ebx, dword [esi]
mov edi, dword [esi + 4]
test edi, edi
je 0x100adf4b
mov esi, dword [esi + 8]
test ebx, ebx
je 0x100addd0
dec ebx
push ebx
mov dword [ebp - 0x10], ecx
call sub.kernel32.dll_TlsGetValue
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x100addd0
push 0
push ebx
mov ebx, eax
call sub.kernel32.dll_TlsSetValue
push ebx
call edi
add esp, 4
mov cl, 1
jmp 0x100addd0
test cl, 1
je 0x100adf41
mov esi, dword [0x101aa15c]
xor ecx, ecx
nop
test esi, esi
je 0x100ade5d
mov ebx, dword [esi]
mov edi, dword [esi + 4]
test edi, edi
je 0x100adf4b
mov esi, dword [esi + 8]
test ebx, ebx
je 0x100ade20
dec ebx
push ebx
mov dword [ebp - 0x10], ecx
call sub.kernel32.dll_TlsGetValue
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x100ade20
push 0
push ebx
mov ebx, eax
call sub.kernel32.dll_TlsSetValue
push ebx
call edi
add esp, 4
mov cl, 1
jmp 0x100ade20
test cl, 1
je 0x100adf41
mov esi, dword [0x101aa15c]
xor ecx, ecx
nop
test esi, esi
je 0x100adead
mov ebx, dword [esi]
mov edi, dword [esi + 4]
test edi, edi
je 0x100adf4b
mov esi, dword [esi + 8]
test ebx, ebx
je 0x100ade70
dec ebx
push ebx
mov dword [ebp - 0x10], ecx
call sub.kernel32.dll_TlsGetValue
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x100ade70
push 0
push ebx
mov ebx, eax
call sub.kernel32.dll_TlsSetValue
push ebx
call edi
add esp, 4
mov cl, 1
jmp 0x100ade70
test cl, 1
je 0x100adf41
mov esi, dword [0x101aa15c]
xor ecx, ecx
nop
test esi, esi
je 0x100adef9
mov ebx, dword [esi]
mov edi, dword [esi + 4]
test edi, edi
je 0x100adf4b
mov esi, dword [esi + 8]
test ebx, ebx
je 0x100adec0
dec ebx
push ebx
mov dword [ebp - 0x10], ecx
call sub.kernel32.dll_TlsGetValue
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x100adec0
push 0
push ebx
mov ebx, eax
call sub.kernel32.dll_TlsSetValue
push ebx
call edi
add esp, 4
mov cl, 1
jmp 0x100adec0
test cl, 1
je 0x100adf41
mov edi, dword [0x101aa15c]
nop word cs:[eax + eax]
nop
test edi, edi
je 0x100adf41
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x100adf4b
mov edi, dword [edi + 8]
test esi, esi
je 0x100adf10
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
test eax, eax
je 0x100adf10
push 0
push esi
mov esi, eax
call sub.kernel32.dll_TlsSetValue
push esi
call ebx
add esp, 4
jmp 0x100adf10
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push 0x10163a38
call sym.core::option::unwrap_failed::h4002a2165d665d64
add esp, 4
ud2
Function at 0x100adf60
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x100adfde
lea ebx, [edi + 0xc]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push ebx
call sub.kernel32.dll_InitOnceBeginInitialize
cmp eax, 1
mov dword [ebp - 0x30], eax
jne 0x100ae018
cmp dword [ebp - 0x14], 0
je 0x100adfff
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x100ae035
mov esi, eax
mov eax, dword [entry1]
mov eax, dword [0x101aa15c]
nop word cs:[eax + eax]
mov dword [edi + 8], eax
lock cmpxchg dword [0x101aa15c], edi
jne 0x100adfc0
mov eax, esi
inc eax
mov dword [edi], eax
push 0
push 0
push ebx
call sub.kernel32.dll_InitOnceComplete
jmp 0x100ae00e
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x100ae070
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x100ae003
mov esi, dword [ebp - 0x10]
jmp 0x100ae00e
mov esi, dword [edi]
jmp 0x100ae00d
mov esi, eax
push dword [ebp - 0x10]
call sub.kernel32.dll_TlsFree
dec esi
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
mov edx, 0x101630f8
push 0x10163a14
push eax
call sym.core::panicking::assert_failed::h6a7846da8fea5b10
push 0
push 4
push ebx
call sub.kernel32.dll_InitOnceComplete
mov dword [ebp - 0x2c], 0x101639d4
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push 0x10163a04
push eax
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x101639d4
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call sym.core::panicking::assert_failed::h28f16479b022faf2
nop
Function at 0x100ae2a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov word [ebp - 0xe], ax
mov eax, dword [0x101aa140]
cmp eax, 3
jne 0x100ae38e
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
ja 0x100ae3a5
lea esi, [ebp - 0x1c4]
push ebx
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x1c4], 0
inc ebx
lea eax, [ebp - 0x24]
push ebx
push esi
push eax
call sym.core::ffi::c_str::CStr::from_bytes_with_nul::h638053852dbc1717
add esp, 0xc
test byte [ebp - 0x24], 1
je 0x100ae32c
mov eax, dword [0x10161fd8]
mov esi, dword [ebp + 8]
mov ecx, dword [0x10161fdc]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x100ae3b6
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x3c], 1
push ecx
push edx
push 0
push eax
call sub.ws2_32.dll_getaddrinfo
mov esi, dword [ebp + 8]
test eax, eax
je 0x100ae377
call sub.ws2_32.dll_WSAGetLastError
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x100ae3b6
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0xe]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0xc], cx
mov dword [esi], eax
jmp 0x100ae3b6
call sym.std::sync::once_lock::OnceLock_LT_T_GT_::initialize::h8b738a8473d1aa4f
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
jbe 0x100ae2df
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, edi
push eax
push ebx
call sym.std::sys::pal::common::small_c_string::run_with_cstr_allocating::hefcf79d8496c43fe
add esp, 8
mov eax, esi
add esp, 0x1b8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100ae3d0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
movzx ecx, byte [eax]
cmp cl, 4
jne 0x100ae437
mov ebx, dword [eax + 4]
mov eax, dword [0x101aa140]
cmp eax, 3
jne 0x100ae4de
lea eax, [ebp - 0x34]
push 1
push ebx
push eax
call sym.std::sys::pal::windows::net::Socket::new::h309d54f861b1a05f
add esp, 0xc
movzx eax, byte [ebp - 0x34]
cmp al, 4
jne 0x100ae453
mov eax, dword [ebp - 0x30]
test byte [ebx], 1
mov dword [ebp - 0x18], eax
je 0x100ae46c
mov ecx, dword [ebx + 0x18]
movups xmm0, xmmword [ebx + 4]
lea eax, [ebx + 0x14]
mov edi, 0x1c
mov edx, 0x1c
mov dword [ebp - 0x14], ecx
mov cx, 0x17
jmp 0x100ae486
movzx edx, byte [eax + 3]
movzx edi, word [eax + 1]
mov eax, dword [eax + 4]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], cl
mov dword [esi + 4], eax
jmp 0x100ae4d4
movzx ecx, byte [ebp - 0x31]
movzx edi, word [ebp - 0x33]
mov edx, dword [ebp - 0x30]
mov byte [esi + 3], cl
mov word [esi + 1], di
mov byte [esi], al
mov dword [esi + 4], edx
jmp 0x100ae4d4
lea eax, [ebx + 2]
xorps xmm0, xmm0
mov edx, 0x10
mov cx, 2
mov edi, 6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx edi, word [ebx + edi]
mov eax, dword [eax]
mov word [ebp - 0x34], cx
rol di, 8
mov word [ebp - 0x32], di
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], eax
push edx
lea eax, [ebp - 0x34]
push eax
mov edi, dword [ebp - 0x18]
push edi
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x100ae4c0
mov dword [esi + 4], edi
mov byte [esi], 4
jmp 0x100ae4d4
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
push edi
call sub.ws2_32.dll_closesocket
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.std::sync::once_lock::OnceLock_LT_T_GT_::initialize::h8b738a8473d1aa4f
jmp 0x100ae3f8
Function at 0x100ae950
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], pe_nt_image_headers32
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
push ecx
push edx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x100aea2b
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x100aea43
cmp ecx, 0x17
jne 0x100aea63
cmp eax, 0x1b
jbe 0x100aea7a
movsd xmm0, qword [esp + 0x28]
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov word [esi], 1
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
rol ax, 8
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0xe]
movsd xmm1, qword [esp + 0x16]
movzx edi, word [esp + 0x1e]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
mov word [esi + 0x12], di
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
jmp 0x100aea73
call sub.ws2_32.dll_WSAGetLastError
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x100aea6e
cmp eax, 0xf
jbe 0x100aea8b
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
jmp 0x100aea73
mov byte [esi + 4], 2
mov dword [esi + 8], 0x10163b08
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x10163ae8
push 0x3a
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call sym.core::panicking::panic::hf6244c8fb5815825
push 0x10163a9c
push 0x39
push 0x10163a48
call sym.core::panicking::panic::hf6244c8fb5815825
nop dword [eax]
Function at 0x100aece0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov ecx, 0x7fffffff
cmp eax, 0x7fffffff
cmovb ecx, eax
test byte [edi], 1
je 0x100aed1e
mov eax, dword [edi + 0x18]
movups xmm0, xmmword [edi + 4]
lea ebx, [edi + 0x14]
mov si, 0x17
mov edx, 0x1c
mov dword [ebp - 0x14], eax
mov eax, 0x1c
jmp 0x100aed38
lea eax, [edi + 2]
xorps xmm0, xmm0
mov edx, 0x10
mov si, 2
mov dword [ebp - 0x10], eax
mov eax, 6
mov ebx, dword [ebp - 0x10]
movzx eax, word [edi + eax]
mov edi, dword [ebx]
mov word [ebp - 0x30], si
rol ax, 8
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push edx
push eax
push 0
push ecx
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push dword [eax]
call sub.ws2_32.dll_sendto
cmp eax, 0xffffffff
je 0x100aed78
mov edx, dword [ebp + 8]
mov cl, 4
jmp 0x100aed8c
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp + 8]
xor ecx, ecx
mov byte [edx + 3], 0
mov word [edx + 1], 0
mov byte [edx], cl
mov dword [edx + 4], eax
mov eax, edx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100aeda0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
movzx ecx, byte [eax]
cmp cl, 4
jne 0x100aeddc
mov ecx, dword [eax + 4]
test byte [ecx], 1
je 0x100aedf5
mov eax, dword [ecx + 0x18]
movups xmm0, xmmword [ecx + 4]
lea edx, [ecx + 0x14]
mov edi, 0x1c
mov ebx, 0x1c
mov dword [ebp - 0x14], eax
mov ax, 0x17
jmp 0x100aee0f
movzx edx, byte [eax + 3]
movzx edi, word [eax + 1]
mov eax, dword [eax + 4]
mov byte [esi + 3], dl
mov word [esi + 1], di
mov byte [esi], cl
mov dword [esi + 4], eax
jmp 0x100aee55
lea eax, [ecx + 2]
xorps xmm0, xmm0
mov ebx, 0x10
mov edi, 6
mov dword [ebp - 0x10], eax
mov ax, 2
mov edx, dword [ebp - 0x10]
movzx ecx, word [ecx + edi]
mov edx, dword [edx]
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x14]
rol cx, 8
mov word [ebp - 0x2e], cx
mov dword [ebp - 0x2c], edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x100aee47
mov byte [esi], 4
jmp 0x100aee55
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100aef80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test byte [edx], 1
je 0x100aefc0
movsd xmm0, qword [edx + 4]
movsd xmm1, qword [edx + 0xc]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x18]
movzx edx, word [edx + 0x1c]
mov di, 0x17
movsd qword [eax + 0x10], xmm1
movsd qword [eax + 8], xmm0
mov dword [eax + 0x18], esi
rol dx, 8
mov esi, 0x1c
jmp 0x100aefe2
mov ecx, dword [edx + 2]
movzx edx, word [edx + 6]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov esi, 0x10
mov di, 2
rol dx, 8
mov word [eax], di
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 0x1c], esi
pop esi
pop edi
pop ebp
ret