joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016cad0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1402731d0]
test ecx, ecx
je 0x14016cb66
dec ecx
call fcn.1401c03bc
cmp rax, 2
jb 0x14016caf6
cmp byte [rax + 8], 0
jne 0x14016cb58
mov ecx, dword [0x1402731d0]
test ecx, ecx
je 0x14016cb79
dec ecx
call fcn.1401c03bc
cmp rax, 1
je 0x14016cb5e
test rax, rax
jne 0x14016cb52
movzx eax, byte [0x14039f278]
mov edx, 0x10
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x14016cba2
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1402731d0]
test ecx, ecx
je 0x14016cb8c
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1401c03b4
mov rax, rsi
mov word [rax + 8], 1
add rax, 9
jmp 0x14016cb60
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x14016cae5
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x14016cb02
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov rsi, rax
call dbg.init
mov ecx, eax
mov rax, rsi
jmp 0x14016cb44
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
int3

Function at 0x14016d220
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x14032c000]
movaps xmmword [rsp + 0x60], 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
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x14016d28a
mov rcx, rsi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14016d2b6
test eax, eax
js 0x14016d297
mov rdx, qword [rsp + 0x68]
xor eax, eax
jmp 0x14016d2ad
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x14032c068]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call sym.std::io::Write::write_fmt::h4096e092b1acc2d9
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::hf1a2036a539b4597
mov ecx, 7
int 0x29
ud2
Function at 0x14016d810
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140273190]
test ecx, ecx
je 0x14016d8cd
dec ecx
call fcn.1401c03bc
cmp rax, 2
jb 0x14016d840
cmp qword [rax + 8], 0
je 0x14016d840
add rax, 0x10
jmp 0x14016d8c7
mov ecx, dword [0x140273190]
test ecx, ecx
je 0x14016d8e0
dec ecx
call fcn.1401c03bc
cmp rax, 1
je 0x14016d8c5
test rax, rax
jne 0x14016d8a8
movzx eax, byte [0x14039f278]
mov edx, 0x20
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x14016d909
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x140273190]
test ecx, ecx
je 0x14016d8f3
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1401c03b4
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 0x14016d8c7
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x14016d825
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
call dbg.init
mov ecx, eax
jmp 0x14016d850
lea rcx, dbg.destroy_value_core::cell::Cell__u64__u64___
mov rsi, rax
call dbg.init
mov ecx, eax
mov rax, rsi
jmp 0x14016d89a
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
int3

Function at 0x14016d980
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 0x14016d997
dec ecx
jmp 0x14016d9a1
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.1401c03b4
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14016d9c3
dec ecx
jmp 0x14016d9cd
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401c03b4
Function at 0x14016fbe0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x48], rax
xor esi, esi
mov edi, 0xffffffff
xor r13d, r13d
xor ebx, ebx
cmp r8, 0x201
jae 0x14016fc70
jmp 0x14016fc4f
jae 0x14016fd1e
cmp r8, 0x201
jae 0x14016fc70
mov r14d, 0x200
lea r15, [rsp + 0x98]
mov r12, r8
jmp 0x14016fcb6
sub r8, rbx
sub r13, rbx
cmp r13, r8
jae 0x14016fc97
lea rcx, [rsp + 0x28]
mov rdx, rbx
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rsi, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp rsi, rdi
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rsp + 0x38], rbx
mov r13, rsi
mov r14, rbx
mov r15, qword [rsp + 0x48]
mov r12, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebp, eax
test eax, eax
jne 0x14016fcdb
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14016fd83
mov r8d, ebp
cmp r12, r8
jne 0x14016fc40
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14016fdb0
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
mov edi, 0xffffffff
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14016fc4f
jmp 0x14016fc70
cmp r14, r8
jb 0x14016fdca
lea rcx, [rsp + 0x50]
mov rdx, r15
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
cmp qword [rsp + 0x28], 0
je 0x14016fd6e
mov rcx, qword [rsp + 0x30]
mov edx, 2
call sym.__rust_dealloc
nop
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rsp + 0x28], 0
jne 0x14016fd5f
jmp 0x14016fd6e
lea rcx, str.internal_error:_entered_unreachable_code__
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call dbg.panic
jmp 0x14016fddf
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call dbg.slice_end_index_len_fail
ud2
Function at 0x1401739f0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x54], 0
mov word [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call dbg.open
mov rdi, rdx
test rax, rax
je 0x140173a84
mov qword [rsp + 0x80], 1
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call dbg.file_attr
cmp dword [rsp + 0x38], 2
jne 0x140173ab3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x140173aff
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
cmp qword [rsp + 0x80], 2
jne 0x140173b2b
lea rcx, [rsp + 0x88]
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1401c0754
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x140173b89
mov qword [rsp + 0x80], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x140173c05
mov rbx, qword [rsp + 0x80]
jmp 0x140173b8b
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 0x140173bf4
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 fcn.1401c0754
test r15, r15
je 0x140173bf4
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x140173c31
mov qword [rsi], 0
mov rcx, rbx
call fcn.1401c0754
jmp 0x140173c31
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], 0
mov rcx, rdi
call fcn.1401c0754
jmp 0x140173a73
Function at 0x14018eb00
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rbx, r9
mov r14, r8
mov r8, rdx
mov rdx, rcx
movabs r13, 0x8000000000000000
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r9
lea rsi, [rsp + 0x30]
mov rcx, rsi
call sym.std::sys::pal::windows::to_u16s::inner::h4c9a51427fa9952c
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp r15, r13
jne 0x14018eb5d
mov rbx, rdi
jmp 0x14018ebb6
lea rcx, [rsp + 0x30]
mov rdx, r14
mov r8, rbx
call sym.std::sys::pal::windows::to_u16s::inner::h4c9a51427fa9952c
mov r12, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
cmp r12, r13
jne 0x14018eb81
mov rbx, r14
jmp 0x14018eba4
mov rcx, rdi
mov rdx, r14
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14018ebce
xor ebx, ebx
test r12, r12
je 0x14018eba4
mov edx, 2
mov rcx, r14
call sym.__rust_dealloc
test r15, r15
je 0x14018ebb6
mov edx, 2
mov rcx, rdi
call sym.__rust_dealloc
test rbx, rbx
jne 0x14018ebe4
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r12, r12
jne 0x14018eb97
jmp 0x14018eba4
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [sym.__std::ffi::os_str::Display_as_core::fmt::Debug_::fmt::h8d36de3fecc47fdc]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x50], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h80d056e31c2ff722]
mov qword [rsp + 0x58], rax
lea rax, str.failed_to_set_environment_variable____to___:
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 3
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], 3
lea rdx, str.library_std_srcenv.rs
lea rcx, [rsp + 0x80]
call dbg.panic_fmt
ud2

Function at 0x1401907c0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
or byte [rax - 0x73], 0x4c
and al, 0x28
Function at 0x140192a60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x40
mov ecx, dword [0x1402731f0]
test ecx, ecx
je 0x140192b52
dec ecx
call fcn.1401c03bc
cmp rax, 2
jb 0x140192a90
cmp qword [rax + 8], 0
je 0x140192a90
add rax, 0x10
jmp 0x140192b4c
mov ecx, dword [0x1402731f0]
test ecx, ecx
je 0x140192b65
dec ecx
call fcn.1401c03bc
cmp rax, 1
je 0x140192b4a
test rax, rax
jne 0x140192b10
mov qword [rsp + 0x30], 0
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 [rsp + 0x28], rax
movzx eax, byte [0x14039f278]
mov edx, 0x18
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x140192b91
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov ecx, dword [0x1402731f0]
test ecx, ecx
je 0x140192b78
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.1401c03b4
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 0x140192b4c
test rcx, rcx
je 0x140192b4c
lock dec qword [rcx]
jne 0x140192b4c
mov rsi, rax
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov rax, rsi
jmp 0x140192b4c
xor eax, eax
add rsp, 0x40
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 0x140192a75
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 0x140192aa0
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____
mov rsi, rax
call dbg.init
mov ecx, eax
mov rax, rsi
jmp 0x140192b02
mov ecx, 8
mov edx, 0x18
call dbg.handle_alloc_error
ud2

Function at 0x140192c30
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 0x140192c47
dec ecx
jmp 0x140192c51
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.1401c03b4
cmp qword [rdi + 8], 0
je 0x140192c7a
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140192c7a
lock dec qword [rax]
jne 0x140192c7a
mov rcx, qword [rdi + 0x10]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov edx, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140192c92
dec ecx
jmp 0x140192c9c
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401c03b4
Function at 0x140193340
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rsp + 0x2e], ax
mov rax, qword [0x14039f218]
cmp rax, 3
jne 0x1401934ef
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x38], rax
cmp rdi, 0x17f
ja 0x1401934ff
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r8, rdi
call sym.memcpy
mov byte [rsp + rdi + 0x70], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1401933c8
xor edx, edx
nop dword [rax]
cmp byte [rsp + rdx + 0x70], 0
je 0x140193464
inc rdx
cmp rax, rdx
jne 0x1401933b0
jmp 0x1401934be
lea rcx, [rsp + 0x77]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1401933fa
xor edx, edx
nop dword [rax + rax]
cmp byte [rsp + rdx + 0x70], 0
je 0x140193464
inc rdx
cmp rcx, rdx
jne 0x1401933e0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1401933fe
jmp 0x14019343e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x14027e0b0]
movabs r8, 0x8080808080808080
movdqu xmm1, xmmword [rsp + rcx + 0x70]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14019343e
add rcx, 0x10
cmp rcx, rdx
jbe 0x140193410
sub rax, rcx
je 0x1401934be
lea r8, [rsp + rcx]
add r8, 0x70
xor edx, edx
nop dword [rax]
cmp byte [r8 + rdx], 0
je 0x140193461
inc rdx
cmp rax, rdx
jne 0x140193450
jmp 0x1401934be
add rdx, rcx
cmp rdx, rdi
jne 0x1401934be
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1401934d2
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401934e6
lea rax, [0x14032b490]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14019350f
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x2e]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x14019350f
mov rbx, rdx
call dbg.initialize<unsafe extern "system" fn() -> i32, std::sync::once_lock::{impl#0}::get_or_init::{closure_env#0}<unsafe extern "system" fn() -> i32, std::sys::pal::windows::net::init::{closure_env#0}>, !>
mov rdx, rbx
jmp 0x140193371
lea r9, [rsp + 0x38]
mov rcx, rsi
mov r8, rdi
call dbg.run_with_cstr_allocating<std::sys_common::net::LookupHost>
nop
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140193a40
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r9
mov rsi, rcx
lea rcx, [rsp + 0x30]
call dbg.spec_new_impl
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x140193ac9
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 0x140193afb
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140193b10
lea rcx, [0x14032b490]
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x140193b2c
mov rcx, qword [rsp + 0x38]
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.__rust_dealloc
mov rcx, qword [rbx]
mov rax, qword [rsp + 0x28]
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 [rdi], 0
test r14, r14
je 0x140193b2c
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 0x140193b40
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 0x140193b98
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 0x140193ba4
lea rax, [0x1401c07a4]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.library_std_src_synconce.rs
call dbg.unwrap_failed
mov qword [rsp + 0x30], 0
lea rdx, [0x14032c0b0]
lea r9, [0x14032c0b8]
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
int3

Function at 0x140193bd0
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 0x140193c28
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 0x140193c34
lea rax, [0x1401c07a4]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.library_std_src_synconce.rs
call dbg.unwrap_failed
mov qword [rsp + 0x30], 0
lea rdx, [0x14032c0b0]
lea r9, [0x14032c0b8]
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
int3
Function at 0x1401947c0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rsp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x58], rax
lea rax, [dbg.callback]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x140194870
nop
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x140194810
mov eax, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
xor r8d, r8d
test eax, eax
setne r8b
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
loop 0x14019489b
Function at 0x14019a3d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
movabs rbx, 0x8000000000000000
lea rcx, [rsp + 0x40]
call sym.std::sys::pal::windows::to_u16s::inner::h4c9a51427fa9952c
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
cmp rcx, rbx
jne 0x14019a40d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
jmp 0x14019a43a
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call dbg.from_wide_to_user_path
mov r14, qword [rsp + 0x28]
cmp r14, rbx
jne 0x14019a453
lea rcx, [rsp + 0x30]
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsi], rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov rcx, rdi
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x14019a477
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x14019a447
mov qword [rsi], rbx
test r14, r14
je 0x14019a447
mov edx, 2
mov rcx, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp sym.__rust_dealloc