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

Disassembly:
push rsi
mov r8, qword [rcx + 0x1008]
mov rax, qword [rcx + 0x1018]
inc rax
mov qword [rcx + 0x1018], rax
add rax, qword [rcx + 0x1010]
mov r9b, 1
xor edx, edx
nop word cs:[rax + rax]
movzx r9d, r9b
and r9d, 1
add r9, rdx
mov r11, r8
shl r11, 0x15
xor r11, r8
not r11
shl rdx, 5
add r11, qword [rcx + rdx + 0xc00]
mov r10, qword [rcx + rdx + 0x800]
mov r8, qword [rcx + rdx + 0x808]
mov esi, r10d
and esi, 0x7f8
add rax, r11
add rax, qword [rcx + rsi + 0x800]
mov qword [rcx + rdx + 0x800], rax
shr rax, 8
and eax, 0x7f8
add r10, qword [rcx + rax + 0x800]
mov qword [rcx + rdx], r10
mov rax, r11
shr rax, 5
xor rax, r11
add rax, qword [rcx + rdx + 0xc08]
mov r11d, r8d
and r11d, 0x7f8
add r10, rax
add r10, qword [rcx + r11 + 0x800]
mov qword [rcx + rdx + 0x808], r10
shr r10, 8
and r10d, 0x7f8
add r8, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 8], r8
mov r11, rax
shl r11, 0xc
xor r11, rax
add r11, qword [rcx + rdx + 0xc10]
mov r10, qword [rcx + rdx + 0x810]
mov eax, r10d
and eax, 0x7f8
add r8, r11
add r8, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0x810], r8
shr r8, 8
and r8d, 0x7f8
add r10, qword [rcx + r8 + 0x800]
mov qword [rcx + rdx + 0x10], r10
mov r8, r11
shr r8, 0x21
xor r8, r11
mov rax, qword [rcx + rdx + 0x818]
add r8, qword [rcx + rdx + 0xc18]
mov r11d, eax
and r11d, 0x7f8
add r10, r8
add r10, qword [rcx + r11 + 0x800]
mov qword [rcx + rdx + 0x818], r10
shr r10, 8
and r10d, 0x7f8
add rax, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0x18], rax
mov rdx, r9
cmp r9, 0x20
setb r9b
jb 0x14005fb90
mov r9b, 1
xor edx, edx
nop
movzx r9d, r9b
and r9d, 1
add r9, rdx
mov r11, r8
shl r11, 0x15
xor r11, r8
not r11
shl rdx, 5
add r11, qword [rcx + rdx + 0x800]
mov r10, qword [rcx + rdx + 0xc00]
mov r8, qword [rcx + rdx + 0xc08]
mov esi, r10d
and esi, 0x7f8
add rax, r11
add rax, qword [rcx + rsi + 0x800]
mov qword [rcx + rdx + 0xc00], rax
shr rax, 8
and eax, 0x7f8
add r10, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0x400], r10
mov rax, r11
shr rax, 5
xor rax, r11
add rax, qword [rcx + rdx + 0x808]
mov r11d, r8d
and r11d, 0x7f8
add r10, rax
add r10, qword [rcx + r11 + 0x800]
mov qword [rcx + rdx + 0xc08], r10
shr r10, 8
and r10d, 0x7f8
add r8, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0x408], r8
mov r11, rax
shl r11, 0xc
xor r11, rax
add r11, qword [rcx + rdx + 0x810]
mov r10, qword [rcx + rdx + 0xc10]
mov eax, r10d
and eax, 0x7f8
add r8, r11
add r8, qword [rcx + rax + 0x800]
mov qword [rcx + rdx + 0xc10], r8
shr r8, 8
and r8d, 0x7f8
add r10, qword [rcx + r8 + 0x800]
mov qword [rcx + rdx + 0x410], r10
mov r8, r11
shr r8, 0x21
xor r8, r11
mov rax, qword [rcx + rdx + 0xc18]
add r8, qword [rcx + rdx + 0x818]
mov r11d, eax
and r11d, 0x7f8
add r10, r8
add r10, qword [rcx + r11 + 0x800]
mov qword [rcx + rdx + 0xc18], r10
shr r10, 8
and r10d, 0x7f8
add rax, qword [rcx + r10 + 0x800]
mov qword [rcx + rdx + 0x418], rax
mov rdx, r9
cmp r9, 0x20
setb r9b
jb 0x14005fcf0
mov qword [rcx + 0x1008], r8
mov qword [rcx + 0x1010], rax
mov qword [rcx + 0x1000], 0x100
pop rsi
ret
Function at 0x1400600d0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
mov eax, 0x1088
call dbg.___chkstk_ms
sub rsp, rax
mov rsi, rcx
lea rdi, [rsp + 0x68]
mov r8d, 0x1020
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rdi
mov edx, 0x800
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140060148
xorps xmm0, xmm0
movups xmmword [rsp + 0x1078], xmm0
movups xmmword [rsp + 0x1068], xmm0
lea rdi, [rsp + 0x68]
mov rcx, rdi
mov dl, 1
call sym.rand::prng::isaac64::Isaac64Rng::init::h0c64a8b2742ada87
mov r8d, 0x1020
mov rcx, rsi
mov rdx, rdi
call sym.memcpy
mov rax, rsi
add rsp, 0x1088
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::hd331dd3bbf243aa8
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hd2ad2949d5242a6a]
mov qword [rsp + 0x30], rax
lea rax, [0x1401428d8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rdx, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.4.6_src_os.rscouldnt_generate_random_bytes:
lea rcx, [rsp + 0x38]
call dbg.panic_fmt
ud2

Function at 0x140060240
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140060257
dec ecx
jmp 0x140060261
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::hcf9bc6fc43076be8
mov ecx, eax
mov edx, 1
call fcn.1401256d4
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14006028f
dec qword [rcx]
jne 0x14006028f
dec qword [rcx + 8]
jne 0x14006028f
mov edx, 0x1048
mov r8d, 8
call sym.__rust_dealloc
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400602ad
dec ecx
jmp 0x1400602b7
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::hcf9bc6fc43076be8
mov ecx, eax
xor esi, esi
xor edx, edx
call fcn.1401256d4
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140060a70
Capabilities:
Encode data using xor

Disassembly:
movabs rdx, 0x67452301efcdab89
mov rax, qword [rcx + 0x10]
movabs r10, 0x98badcfe10325476
xor r8d, r8d
xor r9d, r9d
nop
bt rax, r9
mov r11, rdx
cmovae r11, r8
xor r11, r10
shld r11, r10, 1
lea r10d, [r9 + 1]
movzx r10d, r10b
bt rax, r10
mov r10, rdx
cmovae r10, r8
xor r10, r11
shld r10, r11, 1
add r9, 2
cmp r9, 0x40
jne 0x140060a90
xor r10, rax
mov qword [rcx + 0x10], r10
ret
Function at 0x140060dc0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rdi, qword [rsp + 0x28]
mov rcx, rsi
mov edx, ebx
call sym._ZN4rand6jitter9JitterRng9memaccess17h67e1fedd77b73167E.llvm.720926362938024933
mov rcx, rsi
mov rdx, rdi
mov r8d, ebx
call sym._ZN4rand6jitter9JitterRng9lfsr_time17h1af5c71d8a3de387E.llvm.720926362938024933
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x28]
sub rax, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400624d4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400624e9
mov rbx, rax
cmp qword [rax + 8], 0
je 0x1400624e9
add rbx, 8
jmp 0x140062578
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::hcf9bc6fc43076be8
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400624c1
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140062561
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140062576
mov rbx, rax
test rax, rax
jne 0x140062550
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
mov rax, qword [0x14016e368]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14006258f
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], 0
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140062583
dec ecx
mov rdx, rbx
call fcn.1401256d4
add rbx, 8
mov rcx, rbx
mov rdx, rsi
call sym.std::sys::common::thread_local::lazy::LazyKeyInner_T_::initialize::h94f3b50f077fdbf9
jmp 0x140062578
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::hcf9bc6fc43076be8
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400624fd
xor ebx, ebx
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rdi
call sym.std::sys::windows::thread_local_key::StaticKey::init::hcf9bc6fc43076be8
mov ecx, eax
jmp 0x140062548
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
ud2
Function at 0x140064ba0
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 0x140064bf8
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 0x140064c12
lea rax, [0x140125afc]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_alloc_srccollections_btree_navigate.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x1401498c0]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2

Function at 0x140085330
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x140085365
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140085375
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret
Function at 0x140086db0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor esi, esi
mov r14d, 0xffffffff
xor edi, edi
xor r15d, r15d
cmp r8, 0x201
jae 0x140086e30
jmp 0x140086e1f
jae 0x140086ed4
cmp r8, 0x201
jae 0x140086e30
mov r12d, 0x200
lea r13, [rsp + 0x68]
mov rbp, r8
jmp 0x140086e77
sub r8, r15
sub rdi, r15
cmp rdi, r8
jae 0x140086e57
lea rcx, [rsp + 0x30]
mov rdx, r15
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x38]
cmp rsi, r14
mov r15d, 0xffffffff
cmovb r15, rsi
mov qword [rsp + 0x40], r15
mov rdi, rsi
mov r12, r15
mov r13, qword [rsp + 0x20]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r13
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
test eax, eax
jne 0x140086e9b
call fcn.140125894
test eax, eax
jne 0x140086f32
mov r8d, ebx
cmp rbp, r8
jne 0x140086e10
call fcn.140125894
cmp eax, 0x7a
jne 0x140086f52
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x140086e1f
jmp 0x140086e30
cmp r12, r8
jb 0x140086f6c
lea rcx, [rsp + 0x48]
mov rdx, r13
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
test rsi, rsi
je 0x140086f1b
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140125894
shl rax, 0x20
or rax, 2
mov rdi, qword [rsp + 0x28]
mov qword [rdi], rax
mov byte [rdi + 0x18], 2
test rsi, rsi
jne 0x140086f05
jmp 0x140086f1b
lea rcx, str.internal_error:_entered_unreachable_code_R
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x140086f81
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call dbg.slice_end_index_len_fail
ud2

Function at 0x140086fc0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x70
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x140086fd8
mov rdx, rax
add rsp, 0x70
pop rsi
ret
call fcn.140125894
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hd2ad2949d5242a6a]
mov qword [rsp + 0x38], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x40]
call dbg.panic_fmt
ud2
Function at 0x140087910
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r9
lea rsi, [rsp + 0x28]
mov rcx, rsi
call sym.std::sys::windows::to_u16s::inner::h69d6fd423d4e10ef
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rbx, rbx
je 0x140087994
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::h69d6fd423d4e10ef
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
test r12, r12
je 0x140087999
mov rcx, rbx
mov rdx, r12
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14008799e
xor r14d, r14d
test r15, r15
jne 0x1400879b3
jmp 0x1400879c7
mov r14, rdi
jmp 0x1400879e0
mov r14, r15
jmp 0x1400879c7
call fcn.140125894
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x1400879c7
add r15, r15
mov r8d, 2
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
test rdi, rdi
je 0x1400879e0
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x1400879f6
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [sym.__std::path::Display_as_core::fmt::Debug_::fmt::h3df5f6d971fda65d]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hd2ad2949d5242a6a]
mov qword [rsp + 0x50], rax
lea rax, [0x140146508]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 3
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], 3
lea rdx, [0x140146538]
lea rcx, [rsp + 0x78]
call dbg.panic_fmt
ud2
Function at 0x140087ac0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
lea rcx, [rsp + 0x40]
call sym.std::sys::windows::to_u16s::inner::h69d6fd423d4e10ef
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbx, rbx
je 0x140087b2d
xor esi, esi
mov rcx, rbx
xor edx, edx
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
jne 0x140087b12
call fcn.140125894
mov esi, eax
shl rsi, 0x20
or rsi, 2
test rdi, rdi
je 0x140087b30
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x140087b30
mov rsi, rdi
test rsi, rsi
jne 0x140087b40
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [sym.__std::path::Display_as_core::fmt::Debug_::fmt::h3df5f6d971fda65d]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x80], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hd2ad2949d5242a6a]
mov qword [rsp + 0x88], rax
lea rax, str.failed_to_remove_environment_variable__
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
lea rdx, [0x140146598]
lea rcx, [rsp + 0x40]
call dbg.panic_fmt
ud2
Function at 0x140089100
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rdi, rcx
test r8, r8
je 0x14008917d
setns al
js 0x1400892c7
mov r15, rdx
movzx ebx, al
mov rax, qword [0x14016e368]
movzx eax, byte [rax]
mov rcx, rsi
mov rdx, rbx
call sym.__rust_alloc
test rax, rax
je 0x1400892ce
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sym.memcpy
mov rcx, r14
cmp rsi, 8
jb 0x14008927c
cmp rsi, 0x20
jae 0x140089187
xor eax, eax
jmp 0x140089216
mov ebx, 1
jmp 0x14008929f
mov rax, rsi
and rax, 0xffffffffffffffe0
xor ecx, ecx
movdqa xmm0, xmmword [0x1401445c0]
movdqa xmm1, xmmword [0x1401445d0]
movdqa xmm2, xmmword [0x1401445e0]
nop dword [rax + rax]
movdqu xmm3, xmmword [rbx + rcx]
movdqu xmm4, xmmword [rbx + rcx + 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 + rcx], xmm7
movdqu xmmword [rbx + rcx + 0x10], xmm5
add rcx, 0x20
cmp rax, rcx
jne 0x1400891b0
cmp rax, rsi
je 0x14008929f
test sil, 0x18
je 0x140089276
mov rdx, rsi
and rdx, 0xfffffffffffffff8
lea rcx, [r14 + rdx]
movdqa xmm0, xmmword [0x1401445f0]
movdqa xmm1, xmmword [0x140144600]
movdqa xmm2, xmmword [0x140144610]
nop dword [rax]
movq xmm3, qword [rbx + rax]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rax], xmm5
add rax, 8
cmp rdx, rax
jne 0x140089240
cmp rdx, rsi
jne 0x14008927c
jmp 0x14008929f
add rax, r14
mov rcx, rax
add r14, rsi
nop
movzx eax, byte [rcx]
lea edx, [rax - 0x61]
cmp dl, 0x1a
setb dl
shl dl, 5
xor dl, al
mov byte [rcx], dl
lea rax, [rcx + 1]
mov rcx, rax
cmp rax, r14
jne 0x140089280
mov qword [rdi], rbx
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call dbg.capacity_overflow
ud2
mov rcx, rbx
mov rdx, rsi
call dbg.handle_alloc_error
ud2

Function at 0x1400955e0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x140095641
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x140095641
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x140095641
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x140095641
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x140095681
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1006
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14009566f
xor eax, eax
add rsp, 0x38
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
ret
Function at 0x140095690
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x1400956f1
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x1400956f1
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x1400956f1
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x1400956f1
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x140095731
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1005
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14009571f
xor eax, eax
add rsp, 0x38
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
mov r9d, 2
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400958b6
cdqe
jmp 0x1400958c4
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1400958cc
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400958dd
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x1400958f0
Capabilities:
Set socket configuration

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

Function at 0x1400959d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140095a07
xor eax, eax
add rsp, 0x38
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov rax, rdx
sub rax, rsi
jb 0x140095b0a
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 0x140095aeb
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 0x140095b03
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x140095afb
xor eax, eax
jmp 0x140095b03
shl rax, 0x20
or rax, 2
add rsp, 0x28
pop rdi
pop rsi
ret
lea r8, [0x140146e30]
mov rcx, rsi
call dbg.slice_start_index_len_fail
ud2