joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aa380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp r8, r9
jae 0x1400aa526
mov r10, r9
sub r10, r8
cmp r10, 0xf
ja 0x1400aa3bb
mov eax, 1
nop word [rax + rax]
cmp r9, r8
jbe 0x1400aa420
movzx r10d, byte [r9 - 1]
dec r9
cmp r10b, cl
je 0x1400aa3b7
cmp r10b, dl
jne 0x1400aa3a0
mov rdx, r9
ret
movzx eax, cl
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movzx eax, dl
movd xmm1, eax
punpcklbw xmm1, xmm1
pshuflw xmm1, xmm1, 0
pshufd xmm1, xmm1, 0
movdqu xmm2, xmmword [r9 - 0x10]
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm2
pcmpeqb xmm2, xmm1
por xmm2, xmm3
pmovmskb eax, xmm2
test eax, eax
je 0x1400aa426
add r9, 0xfffffffffffffff0
movzx eax, ax
bsr eax, eax
xor eax, 0xffffffe0
add eax, 0x21
lea rdx, [r9 + rax]
dec rdx
mov eax, 1
ret
xor eax, eax
mov rdx, r9
ret
mov rax, r9
and rax, 0xfffffffffffffff0
cmp r10, 0x20
jb 0x1400aa4a3
lea rcx, [r8 + 0x20]
cmp rax, rcx
jb 0x1400aa4a3
mov eax, r9d
and eax, 0xf
sub r9, rax
add r9, 0xffffffffffffffdf
nop dword [rax]
movdqa xmm2, xmmword [r9 + 1]
movdqa xmm3, xmmword [r9 + 0x11]
movdqa xmm4, xmm0
pcmpeqb xmm4, xmm2
movdqa xmm5, xmm0
pcmpeqb xmm5, xmm3
pcmpeqb xmm2, xmm1
por xmm2, xmm4
pcmpeqb xmm3, xmm1
por xmm3, xmm5
movdqa xmm4, xmm3
por xmm4, xmm2
pmovmskb eax, xmm4
test eax, eax
jne 0x1400aa52c
lea rax, [r9 - 0x20]
inc r9
cmp r9, rcx
mov r9, rax
jae 0x1400aa450
add rax, 0x21
lea rcx, [r8 + 0x10]
nop word [rax + rax]
cmp rax, rcx
jb 0x1400aa4ef
movdqu xmm2, xmmword [rax - 0x10]
add rax, 0xfffffffffffffff0
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm2
pcmpeqb xmm2, xmm1
por xmm2, xmm3
pmovmskb edx, xmm2
test edx, edx
je 0x1400aa4b0
movzx ecx, dx
bsr ecx, ecx
xor ecx, 0xffffffe0
add ecx, 0x21
lea rdx, [rax + rcx]
dec rdx
mov eax, 1
ret
cmp rax, r8
jbe 0x1400aa526
movdqu xmm2, xmmword [r8]
pcmpeqb xmm0, xmm2
pcmpeqb xmm1, xmm2
por xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
je 0x1400aa526
movzx eax, ax
bsr eax, eax
xor eax, 0xffffffe0
add eax, 0x21
lea rdx, [r8 + rax]
dec rdx
mov eax, 1
ret
xor eax, eax
mov rdx, r9
ret
pmovmskb eax, xmm3
test eax, eax
je 0x1400aa54e
movzx eax, ax
bsr eax, eax
xor eax, 0xffffffe0
add eax, 0x21
lea rdx, [r9 + rax]
add rdx, 0x10
mov eax, 1
ret
psllw xmm2, 7
pmovmskb edx, xmm2
mov eax, 0x20
mov ecx, 0x20
test edx, edx
je 0x1400aa56b
bsr ecx, edx
xor ecx, 0x1f
sub eax, ecx
add r9, rax
mov eax, 1
mov rdx, r9
ret
Function at 0x1400c7330
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x38], rcx
mov r15, qword [rcx + 0x10]
mov eax, 0xff
mov rcx, r15
mov qword [rsp + 0x48], rdx
nop dword [rax]
cmp rcx, 2
jb 0x1400c7c21
movzx r10d, byte [rdx]
movzx r8d, byte [rdx + 1]
movzx r11d, byte [rdx + 2]
movzx r9d, byte [rdx + 3]
xor esi, esi
cmp r10b, r11b
setne sil
cmovb esi, eax
cmp r8b, r9b
mov edi, 0
sbb edi, edi
test sil, sil
cmovne edi, esi
cmp dil, 2
jb 0x1400c73d3
dec rcx
movzx esi, r10b
movzx edi, r11b
cmp r10b, r11b
cmova edi, esi
movzx r10d, dil
movzx r11d, r8b
movzx esi, r9b
cmp r8b, r9b
cmovb esi, r11d
movzx r8d, sil
inc r8d
add rdx, 2
cmp r8d, r10d
jb 0x1400c7360
cmp r15, 0x15
jae 0x1400c7400
cmp r15, 1
jbe 0x1400c7c35
mov r8d, 1
mov rcx, qword [rsp + 0x48]
mov rdx, r15
call sym.core::slice::sort::insertion_sort_shift_left::h456b7e514c92004b
mov r11, qword [rsp + 0x38]
jmp 0x1400c7b03
movabs rax, 0x7ffffffffffffffe
mov rcx, r15
and rcx, rax
mov rsi, qword [0x1403c8b08]
movzx eax, byte [rsi]
mov edx, 1
mov qword [rsp + 0x70], rcx
call sym.__rust_alloc
test rax, rax
je 0x1400c7d74
mov rdi, rax
movzx eax, byte [rsi]
mov ecx, 0x100
mov edx, 8
call sym.__rust_alloc
test rax, rax
mov qword [rsp + 0x28], rdi
je 0x1400c7d80
mov r13, rax
mov rax, qword [rsp + 0x48]
lea rcx, [rax + 3]
mov qword [rsp + 0x80], rcx
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x78], rax
mov eax, 0x10
mov qword [rsp + 0x50], rax
xor ebx, ebx
lea rax, [0x1403435f8]
mov qword [rsp + 0x68], rax
xor r14d, r14d
mov qword [rsp + 0x40], r15
jmp 0x1400c74b4
mov r11, qword [rsp + 0x38]
test r15, r15
jne 0x1400c7b03
invalid
invalid
invalid
Function at 0x1400dd8f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1403c8b08]
movzx eax, byte [rax]
mov ecx, 0x200
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x1400dd9c6
xor ecx, ecx
lea rdx, [0x14035c388]
movdqa xmm0, xmmword [0x140342fe0]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x1400dd930
mov qword [rsp + 0x20], 0x40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call sym.regex_syntax::hir::interval::IntervalSet_I_::canonicalize::h55e802bcb6a157eb
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
add rsp, 0x40
pop rsi
ret
mov ecx, 4
mov edx, 0x200
call sym.alloc::raw_vec::handle_error::h08cb50f4b6afae22
mov rsi, rax
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400dd9f6
mov rcx, qword [rsp + 0x28]
shl rdx, 3
mov r8d, 4
call sym.__rust_dealloc
mov rcx, rsi
call sym._Unwind_Resume
int3

Function at 0x1400de0f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov r12d, 0xe
xor r15d, r15d
lea r14, [0x14039b2f0]
mov r13d, 0xe
nop word cs:[rax + rax]
shr r12, 1
add r12, r15
mov rbp, r12
shl rbp, 5
mov rcx, qword [rbp + r14]
mov r8, qword [rbp + r14 + 8]
mov rsi, r8
sub rsi, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
test rsi, rsi
je 0x1400de1a5
lea rax, [r12 + 1]
test rsi, rsi
cmovg r13, r12
cmovs r15, rax
mov r12, r13
sub r12, r15
ja 0x1400de130
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 8], 1
movabs rax, 0x8000000000000000
mov qword [rcx], rax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rbp + r14 + 0x10]
mov r8, qword [rbp + r14 + 0x18]
mov rcx, qword [rsp + 0x20]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.regex_syntax::unicode::hir_class::h21275cf3f4ab68e1
Function at 0x1400eaf80
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [0x140182228]
mov rax, qword [rbx]
test rax, rax
je 0x1400eafc3
test al, 2
je 0x1400eafaf
mov rax, qword [rbx]
test rax, rax
je 0x1400eafce
test eax, 0x400
jne 0x1400eafda
xor ecx, ecx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.crc32fast::baseline::update_fast_16::h2b1e1cadf1bcf32d
call sym.std_detect::detect::cache::detect_and_initialize::h81c6fcd0acfb3c99
test al, 2
jne 0x1400eafa0
jmp 0x1400eafaf
call sym.std_detect::detect::cache::detect_and_initialize::h81c6fcd0acfb3c99
test eax, 0x400
je 0x1400eafaf
xor ecx, ecx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.crc32fast::specialized::pclmulqdq::calculate::h5b1218b891c236e4
Function at 0x1400eb370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x1400eb58d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14039e970]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x1400eb3e0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x14039e980]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x1400eb50a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x1400eb4e0
movdqa xmm1, xmmword [0x14039e980]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x14039e990], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x1400eb5ab
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp sym.crc32fast::baseline::update_fast_16::h2b1e1cadf1bcf32d
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400ecab0
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 0x1400ecb13
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 0x1400ecb1f
lea rax, [0x1401803ec]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.library_std_src_synconce.rs
call sym.core::option::unwrap_failed::h24b27a0084f6d704
mov qword [rbp + 0x138], 0
lea rdx, [0x1403a9a08]
lea r9, [0x1403a9a10]
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::h82c4ad242ba2b309
int3

Function at 0x14010a650
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 0x14010b9e0
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 0x14010ba70
jmp 0x14010ba5f
jae 0x14010bb2b
cmp r8, 0x201
jae 0x14010ba70
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x14010bac7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14010ba9f
lea rcx, [rbp + 0x3d0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h3d3563cc24376e0d
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 0x14010baed
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14010bb97
mov r8d, r13d
cmp r12, r8
jne 0x14010ba50
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14010bbca
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14010ba5f
jmp 0x14010ba70
cmp r14, r8
jb 0x14010bbe4
lea rcx, [rbp + 0x3a0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h427d7f4b7e8938d8
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 0x14010bb80
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 0x14010bb6b
jmp 0x14010bb80
lea rcx, [0x1403a5e80]
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::hf0c717636b14999a
jmp 0x14010bbf9
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::h3e2d9e3a363f96f3
ud2
Function at 0x14010bc30
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 0x14010bc4f
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::hdb446fec9916196d]
mov qword [rbp - 8], rax
lea rax, str.failure_getting_env_string_from_OS:
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::h57c46dec66ad69af
ud2
Function at 0x14010c620
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::hebdf92619329dfef
mov rdi, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
cmp rdi, r13
jne 0x14010c67f
mov r14, rbx
jmp 0x14010c6e4
lea rcx, [rbp - 0x10]
mov rdx, r15
mov r8, r14
call sym.std::sys::pal::windows::to_u16s::inner::hebdf92619329dfef
mov r12, qword [rbp - 0x10]
mov r15, qword [rbp - 8]
cmp r12, r13
jne 0x14010c6a0
mov r14, r15
jmp 0x14010c6cb
mov rcx, rbx
mov rdx, r15
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14010c6fd
xor r14d, r14d
test r12, r12
je 0x14010c6cb
add r12, r12
mov r8d, 2
mov rcx, r15
mov rdx, r12
call sym.__rust_dealloc
test rdi, rdi
je 0x14010c6e4
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x14010c714
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 0x14010c6b7
jmp 0x14010c6cb
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::h9aac586a9c9bc361]
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::hdb446fec9916196d]
mov qword [rbp + 0x18], rax
lea rax, str.failed_to_set_environment_variable____to___:
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::h57c46dec66ad69af
ud2
Function at 0x14010c7d0
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::hebdf92619329dfef
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x14010c816
mov rsi, rbx
jmp 0x14010c84e
xor esi, esi
mov rcx, rbx
xor edx, edx
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
jne 0x14010c835
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
test rdi, rdi
je 0x14010c84e
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test rsi, rsi
jne 0x14010c85f
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::h9aac586a9c9bc361]
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::hdb446fec9916196d]
mov qword [rbp - 0x48], rax
lea rax, str._o:_
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::h57c46dec66ad69af
ud2
Function at 0x14010de50
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 0x14010dedc
js 0x14010e026
mov r15, rdx
mov rax, qword [0x1403c8b08]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x14010e028
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 0x14010dfdc
movabs rax, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x14010dee6
xor ecx, ecx
jmp 0x14010df76
mov ebx, 1
jmp 0x14010dfff
mov rcx, rsi
and rcx, rax
xor edx, edx
movdqa xmm0, xmmword [0x1403a3d00]
movdqa xmm1, xmmword [0x1403a3d10]
movdqa xmm2, xmmword [0x1403a3d20]
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 0x14010df10
cmp rcx, rsi
je 0x14010dfff
test sil, 0x18
je 0x14010dfd6
add rax, 0x18
and rax, rsi
lea rdx, [r14 + rax]
movdqa xmm0, xmmword [0x1403a3d30]
movdqa xmm1, xmmword [0x1403a3d40]
movdqa xmm2, xmmword [0x1403a3d50]
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 0x14010dfa0
cmp rax, rsi
jne 0x14010dfdc
jmp 0x14010dfff
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 0x14010dfe0
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::h08cb50f4b6afae22
int3

Function at 0x14010f720
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x14010f735
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::fs::DirBuilder::create_dir_all::h6eee05bcdd951aab
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::sys::pal::windows::fs::DirBuilder::mkdir::h5b895306268b835f
Function at 0x140117ce0
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 0x140117d47
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x140117d47
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x140117d47
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x140117d47
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x140117d87
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 0x140117d74
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.cannot_set_a_0_duration_timeout
add rsp, 0x30
pop rbp
ret

Function at 0x140117da0
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 0x140117e07
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x140117e07
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x140117e07
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x140117e07
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x140117e47
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 0x140117e34
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.cannot_set_a_0_duration_timeout
add rsp, 0x30
pop rbp
ret

Function at 0x140117f80
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 0x140117fb4
movsxd rdx, eax
xor ecx, ecx
jmp 0x140117fd7
call sub.WS2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x140117fd7
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

Function at 0x140117fe0
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 0x140118037
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