joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400f5680]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400f5690]
mov dword [rax], 1
mov rax, qword [0x1400f56a0]
mov dword [rax], 1
mov rax, qword [0x1400f5620]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400f5670]
mov dword [0x14010e020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400f5750]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400f5730]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400f55c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140002620
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::hc42e064764fb4d62
mov rcx, rax
add rsp, 0x28
jmp sym.std::sys::pal::windows::fs::rmdir::h8bd36b28d83cf2e6

Function at 0x140002680
Capabilities:
Copy file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rcx, r8
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::hc42e064764fb4d62
mov r9, rdx
mov rcx, rdi
mov rdx, rsi
mov r8, rax
add rsp, 0x28
pop rdi
pop rsi
jmp sym.std::sys::pal::windows::fs::copy::he6c351078caf69fb

Function at 0x1400026b0
Capabilities:
Copy file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::hc42e064764fb4d62
mov rdi, rax
mov rbx, rdx
mov rcx, rsi
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::hc42e064764fb4d62
mov r9, rdx
mov rcx, rdi
mov rdx, rbx
mov r8, rax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.std::sys::pal::windows::fs::copy::he6c351078caf69fb
Function at 0x14000d340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
mov eax, dword [rdx + 0x34]
test al, 0x10
jne sym.core::fmt::num::__impl_core::fmt::LowerHex_for_i8_::fmt::hfc30402e47b640c4
test al, 0x20
jne sym.core::fmt::num::__impl_core::fmt::UpperHex_for_i8_::fmt::hdda3dc92794326f1
jmp sym.core::fmt::num::imp::__impl_core::fmt::Display_for_i8_::fmt::h6f2f4aa1f4669ee7
Function at 0x1400314e0
Capabilities:
Get hostname

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rcx
movsx rax, dl
lea rcx, [0x1400d01d0]
mov ebp, dword [rcx + rax*4]
mov dword [rsp + 0x28], 0
xor r15d, r15d
lea r14, [rsp + 0x28]
mov ecx, ebp
xor edx, edx
mov r8, r14
call sub.kernel32.dll_GetComputerNameExW
mov esi, dword [rsp + 0x28]
test rsi, rsi
je 0x140031549
lea r15, [rsi + rsi]
mov edx, 2
mov rcx, r15
call sym.__rust_alloc_zeroed
test rax, rax
je 0x140031661
mov rbx, rax
mov r15d, dword [rsp + 0x28]
jmp 0x14003154e
mov ebx, 2
mov dword [rsp + 0x2c], r15d
lea r15, [rsp + 0x2c]
mov ecx, ebp
mov rdx, rbx
mov r8, r15
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x1400315aa
mov r8d, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], r8d
jbe 0x1400315b9
cmp r8d, esi
ja 0x14003166e
lea rcx, [rsp + 0x30]
mov rdx, rbx
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h624a621d3f86a298
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
test rsi, rsi
jne 0x14003163a
jmp 0x14003164e
call sym.std::sys::pal::windows::os::errno::h413f12e3b80117bc
shl rax, 0x20
or rax, 2
jmp 0x140031624
mov qword [rsp + 0x60], r14
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::hc590a99803984d19]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rax
lea rax, str.GetComputerNameExW_buffer_length_mismatch__expected_length_strictly_less_than__but_got
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x30]
call sym.alloc::fmt::format::format_inner::h2e4b5bde2a7ad535
lea rcx, [rsp + 0x80]
call sym.std::io::error::Error::new::h182ac226deef7696
mov qword [rdi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdi], rax
test rsi, rsi
je 0x14003164e
add rsi, rsi
mov r8d, 2
mov rcx, rbx
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 2
mov rdx, r15
call sym.alloc::raw_vec::handle_error::hb4a2c97b2f2cc7c5
lea rax, str._home_daniilskli_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winapi_util_0.1.8_src_sysinfo.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::ha4157f6c56c31a58
ud2
Function at 0x1400319e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rdx, [0x1400d02c5]
lea rcx, [rsp + 0x40]
mov r8d, 0xb
call sym.std::env::_var_os::h4b201b69d5e5bc23
cmp qword [rsp + 0x40], rdi
je 0x140031a8a
lea rbx, [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::hc42e064764fb4d62
mov rax, rdx
mov rdx, qword [rsp + 0x20]
test rax, rax
je 0x140031a75
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x60], xmm0
cmp rdx, rdi
je 0x140031a8a
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x18], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 8], xmm0
mov qword [rsi], rdx
jmp 0x140031af7
test rdx, rdx
je 0x140031a8a
mov rcx, qword [rsp + 0x28]
mov r8d, 1
call sym.__rust_dealloc
mov qword [rsp + 0x40], 0
lea rcx, [0x1400d02d0]
lea r9, [rsp + 0x40]
mov edx, 0x4000
xor r8d, r8d
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x140031abf
call sub.ole32.dll_CoTaskMemFree
mov qword [rsi], rdi
jmp 0x140031af7
lea rbx, [rsp + 0x28]
mov rdi, rcx
call sub.msvcrt.dll_wcslen
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov r8, rax
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h624a621d3f86a298
mov rcx, qword [rsp + 0x40]
call sub.ole32.dll_CoTaskMemFree
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400338a0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140033903
lea rsi, [rbp - 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 [rbp + 0x16c], eax
test eax, eax
jne 0x14003390f
lea rax, [0x1400c4f44]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str._b__r_
call sym.core::option::unwrap_failed::h511674c62460528b
mov qword [rbp + 0x138], 0
lea rdx, [0x1400d7358]
lea r9, str.0s_r_
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::he1f5a6e92591b991
int3

Function at 0x1400513f0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x140052780
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3d8], 2
mov qword [rbp + 0x3e0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140052810
jmp 0x1400527ff
jae 0x1400528cb
cmp r8, 0x201
jae 0x140052810
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x140052867
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14005283f
lea rcx, [rbp + 0x3d0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h1b05f2ecfd1aec18
mov rsi, qword [rbp + 0x3d0]
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x3c0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c0]
mov r12, rbx
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.kernel32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x14005288d
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x140052937
mov r8d, r13d
cmp r12, r8
jne 0x1400527f0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005296a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400527ff
jmp 0x140052810
cmp r14, r8
jb 0x140052984
lea rcx, [rbp + 0x3a0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h624a621d3f86a298
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
mov rsi, qword [rbp + 0x3c8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
je 0x140052920
mov rcx, qword [rbp + 0x3d8]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3c8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
jne 0x14005290b
jmp 0x140052920
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 sym.core::panicking::panic::h2104b77c7bdaa98f
jmp 0x140052999
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::ha4157f6c56c31a58
ud2
Function at 0x1400529d0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sub.kernel32.dll_GetEnvironmentStringsW
test rax, rax
je 0x1400529ef
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp], rax
mov rax, rbp
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::he2dbf906bfd27f01]
mov qword [rbp - 8], rax
lea rax, str.xu_r_
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::hbf31d8edd17cf412
ud2
Function at 0x1400533c0
Capabilities:
Set environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
movabs r13, 0x8000000000000000
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r9
lea rsi, [rbp - 0x10]
mov rcx, rsi
call sym.std::sys::pal::windows::to_u16s::inner::hd316060f2068e1ae
mov rdi, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
cmp rdi, r13
jne 0x14005341f
mov r14, rbx
jmp 0x140053484
lea rcx, [rbp - 0x10]
mov rdx, r15
mov r8, r14
call sym.std::sys::pal::windows::to_u16s::inner::hd316060f2068e1ae
mov r12, qword [rbp - 0x10]
mov r15, qword [rbp - 8]
cmp r12, r13
jne 0x140053440
mov r14, r15
jmp 0x14005346b
mov rcx, rbx
mov rdx, r15
call sub.kernel32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14005349d
xor r14d, r14d
test r12, r12
je 0x14005346b
add r12, r12
mov r8d, 2
mov rcx, r15
mov rdx, r12
call sym.__rust_dealloc
test rdi, rdi
je 0x140053484
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x1400534b4
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.kernel32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test r12, r12
jne 0x140053457
jmp 0x14005346b
mov qword [rbp + 0x20], r14
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::ffi::os_str::Display_as_core::fmt::Debug_::fmt::h8b9005e29eff02b0]
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x30]
mov qword [rbp], rcx
mov qword [rbp + 8], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::he2dbf906bfd27f01]
mov qword [rbp + 0x18], rax
lea rax, str._H_r_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 3
lea rdx, str.library_std_srcenv.rs
lea rcx, [rbp - 0x60]
call sym.core::panicking::panic_fmt::hbf31d8edd17cf412
ud2
Function at 0x140053570
Capabilities:
Set environment variable

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov r8, rdx
mov rdx, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], r8
lea rcx, [rbp - 0x40]
call sym.std::sys::pal::windows::to_u16s::inner::hd316060f2068e1ae
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x1400535b6
mov rsi, rbx
jmp 0x1400535ee
xor esi, esi
mov rcx, rbx
xor edx, edx
call sub.kernel32.dll_SetEnvironmentVariableW
test eax, eax
jne 0x1400535d5
call sub.kernel32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
test rdi, rdi
je 0x1400535ee
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test rsi, rsi
jne 0x1400535ff
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp], rsi
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
lea rax, [sym.__std::ffi::os_str::Display_as_core::fmt::Debug_::fmt::h8b9005e29eff02b0]
mov qword [rbp - 0x58], rax
mov rax, rbp
mov qword [rbp - 0x50], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::he2dbf906bfd27f01]
mov qword [rbp - 0x48], rax
lea rax, str.failed_to_remove_environment_variable__
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 2
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 2
lea rdx, str.library_std_srcenv.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::hbf31d8edd17cf412
ud2
Function at 0x140054bf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov rsi, r8
mov rdi, rcx
test r8, r8
je 0x140054c7c
js 0x140054dc6
mov r15, rdx
mov rax, qword [0x1400f56e8]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x140054dc8
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sym.memcpy
mov rdx, r14
cmp rsi, 8
jb 0x140054d7c
movabs rax, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x140054c86
xor ecx, ecx
jmp 0x140054d16
mov ebx, 1
jmp 0x140054d9f
mov rcx, rsi
and rcx, rax
xor edx, edx
movdqa xmm0, xmmword [0x1400d15d0]
movdqa xmm1, xmmword [0x1400d15e0]
movdqa xmm2, xmmword [0x1400d15f0]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rdx]
movdqu xmm4, xmmword [rbx + rdx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [rbx + rdx], xmm7
movdqu xmmword [rbx + rdx + 0x10], xmm5
add rdx, 0x20
cmp rcx, rdx
jne 0x140054cb0
cmp rcx, rsi
je 0x140054d9f
test sil, 0x18
je 0x140054d76
add rax, 0x18
and rax, rsi
lea rdx, [r14 + rax]
movdqa xmm0, xmmword [0x1400d1600]
movdqa xmm1, xmmword [0x1400d1610]
movdqa xmm2, xmmword [0x1400d1620]
nop dword [rax]
movq xmm3, qword [rbx + rcx]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rcx], xmm5
add rcx, 8
cmp rax, rcx
jne 0x140054d40
cmp rax, rsi
jne 0x140054d7c
jmp 0x140054d9f
add rcx, r14
mov rdx, rcx
add r14, rsi
nop
movzx eax, byte [rdx]
lea ecx, [rax - 0x61]
cmp cl, 0x1a
setb cl
shl cl, 5
xor cl, al
mov byte [rdx], cl
lea rax, [rdx + 1]
mov rdx, rax
cmp rax, r14
jne 0x140054d80
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor ebx, ebx
mov rcx, rbx
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::hb4a2c97b2f2cc7c5
int3

Function at 0x140056500
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x140056515
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::fs::DirBuilder::create_dir_all::h70a61e5e1bd555db
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::sys::pal::windows::fs::DirBuilder::mkdir::hde985060e2940dae
Function at 0x14005ec00
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14005ec67
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14005ec67
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14005ec67
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14005ec67
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14005eca7
mov dword [rbp - 4], r9d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14005ec94
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
lea rax, str.xs_r_
add rsp, 0x30
pop rbp
ret

Function at 0x14005ecc0
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14005ed27
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14005ed27
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14005ed27
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14005ed27
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x14005ed67
mov dword [rbp - 4], r9d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x1005
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14005ed54
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
lea rax, str.xs_r_
add rsp, 0x30
pop rbp
ret

Function at 0x14005eea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov r9d, 2
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14005eed4
movsxd rdx, eax
xor ecx, ecx
jmp 0x14005eef7
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x14005eef7
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

Function at 0x14005ef00
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor esi, esi
xor eax, eax
cmp r8d, 0x3b9aca00
setne al
cmove edx, esi
mov word [rbp + 4], ax
mov word [rbp + 6], dx
mov dword [rsp + 0x20], 4
lea r9, [rbp + 4]
mov edx, 0xffff
mov r8d, pe_nt_image_headers64
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14005ef57
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret

Function at 0x14005eff0
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14005f02c
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
Function at 0x14005f0b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov rax, rdx
sub rax, rsi
jb 0x14005f131
mov rcx, qword [rcx]
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdi]
add rdx, rsi
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14005f111
cdqe
add rsi, rax
mov qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x18]
cmp rax, rsi
cmova rsi, rax
mov qword [rdi + 0x18], rsi
xor eax, eax
jmp 0x14005f129
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14005f121
xor eax, eax
jmp 0x14005f129
shl rax, 0x20
or rax, 2
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_srcio_borrowed_buf.rs
mov rcx, rsi
call sym.core::slice::index::slice_start_index_len_fail::hc4490513dd7cd116
int3

Function at 0x14005f150
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rcx, qword [rcx]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 4]
call sub.ws2_32.dll_WSARecv
test eax, eax
je 0x14005f1a5
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14005f1b0
xor edx, edx
jmp 0x14005f1a8
mov edx, dword [rbp - 4]
xor eax, eax
add rsp, 0x40
pop rbp
ret
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x40
pop rbp
ret

Function at 0x14005f1d0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rcx, qword [rcx]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 4]
call sub.ws2_32.dll_WSASend
mov esi, eax
cmp esi, 0xffffffff
jne 0x14005f21e
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rbp + 4]
cmove rdx, rax
mov rax, rcx
add rsp, 0x48
pop rsi
pop rbp
ret

Function at 0x14005f240
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14005f274
movsxd rdx, eax
xor ecx, ecx
jmp 0x14005f297
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x14005f297
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret