joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020710
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rdx + 0x10]
mov edx, r8d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, 2
test eax, eax
jne 0x14002073c
call fcn.140021650
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
xor ecx, ecx
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14002ad40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14002ad82
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14002ad8a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14002ad9b
jmp 0x14002adb2
xor r10d, r10d
jmp 0x14002ae3d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14002adb2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14002adc9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14002ade9
add r11, r8
jmp 0x14002af1b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14002aeb2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14002ae60
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14002aed0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14002aee2
jmp 0x14002aefd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14002aefd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14002af17
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004c010
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov r8d, 0x20
call fcn.1400ad1c0
test rax, rax
je 0x14004c07c
mov qword [rbp + 0x48], rax
mov rcx, rax
mov qword [rbp + 0x50], rdx
call qword [rdx]
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14004c0e5
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.14001c720
jmp 0x14004c0e5
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x140162077]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.1400acfa0
mov rax, qword [rbp - 0x40]
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp], xmm0
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
jmp fcn.1400aaab0
Function at 0x14005d1e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x14005d220
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x14005d215
cmp edi, 0x2d
jne 0x14005d220
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x14005d3b4
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x14005d3bf
movzx r11d, r11b
cmp rbx, rsi
jae 0x14005d2bd
mov ebx, 1
sub rbx, rsi
add r10, 2
jmp 0x14005d27c
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x14005d2bd
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x14005d2bd
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x14005d260
cmp r11d, 0xccccccc
jne 0x14005d2a8
cmp sil, 7
jbe 0x14005d260
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.14014b430
jmp 0x14005d3a1
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14005d2da
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14005d2ea
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x140160680]
subpd xmm1, xmmword [0x140160690]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14005d35c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401606a0]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x14005d338
jnp 0x14005d38a
test r10d, r10d
jns 0x14005d3e8
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x14005d330
mov eax, eax
mov r9, qword [0x140202088]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x14005d3a9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401606b0]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401606c0]
jae 0x14005d3e8
test r8b, r8b
jne 0x14005d397
xorpd xmm0, xmmword [0x1401606d0]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x14005d38f
jmp 0x14005d397
mov qword [rsp + 0x28], 5
jmp 0x14005d3c8
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14014b4d0
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14005d3a1
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14014b4d0
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14005d39e
Function at 0x140084c40
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov r8d, 0x20
call fcn.1400ad1c0
test rax, rax
je 0x140084cac
mov qword [rbp + 0x48], rax
mov rcx, rax
mov qword [rbp + 0x50], rdx
call qword [rdx]
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140084d15
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
call fcn.14001c720
jmp 0x140084d15
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x60], xmm0
lea r8, [0x140167688]
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x60]
mov r9d, 8
call fcn.1400acfa0
mov rax, qword [rbp - 0x40]
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp], xmm0
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x38], rcx
mov qword [rdi], rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
jmp fcn.1400aaab0
Function at 0x1400ad450
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1400ad4c2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x1400ad488
add rdi, rbx
sub rsi, rbx
je 0x1400ad4c2
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x1400ad480
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1400ad480
and ebp, 0x7fffffff
jmp 0x1400ad4c4
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400b0d00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400b0d10
test al, 1
je 0x1400b0d2f
test al, 2
jne 0x1400b0d47
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14016a630]
mov edx, 0x23
call fcn.140155a10
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14016a670]
mov edx, 0x25
call fcn.140155a10
int3
Function at 0x1400b22f0
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x60]
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x68]
cmp eax, 1
je 0x1400b236b
test eax, eax
jne 0x1400b2546
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x18]
lea rdx, [0x1400c7680]
call fcn.14012f920
mov byte [r15 + 0x68], 1
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x18]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x1400b24f9
lea rax, [rcx + 1]
mov edx, dword [0x1402028e8]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x18], rax
mov rax, qword [rdx + 0x20]
cmp rax, 2
je 0x1400b2505
mov ecx, dword [0x1402028e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x28]
mov edx, 1
mov r9d, 1
lock xadd qword [rcx], r9
test rax, rax
je 0x1400b2406
mov r8d, 0x118
test r9, r9
jns 0x1400b2417
jmp 0x1400b2544
test r9, r9
js 0x1400b2544
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x1402028e8]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
dec qword [r9 + 0x18]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
cmp dword [rcx + r8 + 0xa8], 0x3b9aca00
je 0x1400b2530
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x1400b246b
test r8, r8
jns 0x1400b2476
jmp 0x1400b2544
test r8, r8
js 0x1400b2544
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov edx, dword [rbp - 0x14]
mov dword [rsi + 0x3c], edx
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
lock dec qword [rcx]
lea rcx, [rbp - 8]
sete dl
test rax, rax
je 0x1400b24e0
test dl, dl
je 0x1400b24e9
call fcn.1400be490
jmp 0x1400b24e9
test dl, dl
je 0x1400b24e9
call fcn.1400bdef0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.1401558a0
mov eax, dword [0x1402028e8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x18], rcx
xor eax, eax
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.14014db70
lea rcx, [0x14016d6f0]
mov edx, 0x73
mov r8, r14
call fcn.140155920
ud2
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.14014db70
int3
Function at 0x1400beec0
Capabilities:
Get number of processors

Disassembly:
lea r8, [0x14016b600]
jmp 0x1400c7ea0
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov eax, dword [0x1402028e8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x68]
cmp eax, 1
je 0x1400c7f2c
test eax, eax
jne 0x1400c7fd2
mov rdi, rcx
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x18]
mov byte [rax], bl
add byte [rax], al
add byte [rax - 0x73], cl
adc eax, 0xfffff776
call fcn.14012f920
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x68], 1
mov rcx, rdi
mov qword [rbp - 0x20], 0
mov eax, dword [0x1402028e8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov r8, qword [rax + 0x50]
mov eax, dword [rax + 0x50]
test r8, r8
je 0x1400c7ffd
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rsi
jne 0x1400c7f27
cmp qword [r8], 0
mov rdi, qword [rcx]
jne 0x1400c7f72
cmp rdi, qword [r8 + 8]
je 0x1400c8027
lea rcx, [rdi + 0x88]
mov byte [rbp - 9], 0
mov rdx, rsi
call fcn.1400b0770
add rdi, 0xb8
mov byte [rbp - 9], 0
test dword [rax], 0xe8f98948
add byte [rax], r8b
cmp qword [rbp - 0x20], 0
je 0x1400c801e
mov rcx, qword [rbp - 0x18]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x1400c80c9
add dword [rax], eax
invalid
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x1400c801e
mov rax, qword [rcx + 0x10]
add rsp, 0x60
invalid
invalid
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0x10]
mov qword [rbp - 0x20], 0
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.1400b0770
add rdi, 0xb8
mov rcx, rdi
call fcn.1400cc3e0
jmp 0x1400c801e
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.1400b0770
add rdi, 0xb8
mov rcx, rdi
call fcn.1400cc3e0
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp qword [r8 + 0x10], 0
jne 0x1400c80e1
mov qword [r8 + 0x10], 0xffffffffffffffff
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x1400c8092
mov qword [rbp - 0x30], rsi
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
cmp rax, rcx
jne 0x1400c806d
mov qword [rbp - 0x28], r8
lea rcx, [rdi + 0x40]
call fcn.1400c6d80
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
mov r8, qword [rbp - 0x28]
add rax, qword [rdi + 0x50]
xor edx, edx
cmp rax, rcx
cmovae rdx, rcx
sub rax, rdx
mov rcx, qword [rdi + 0x48]
mov qword [rcx + rax*8], rsi
inc qword [rdi + 0x58]
inc qword [r8 + 0x10]
jmp 0x1400c7f98
mov qword [r8 + 0x10], 0
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x1400c80f3
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x1400c7f98
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x1400c7f98
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x14016a848]
mov edx, 0x27
call fcn.140155a10
mov byte [rbp - 9], 1
lea rcx, [0x14016c8a0]
call fcn.140155840
jmp 0x1400c810b
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x14016a848]
mov edx, 0x27
call fcn.140155a10
ud2
Function at 0x1400c7ea0
Capabilities:
Get number of processors

Disassembly:
lea r8, [0x14016b600]
jmp 0x1400c7ea0
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov eax, dword [0x1402028e8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x68]
cmp eax, 1
je 0x1400c7f2c
test eax, eax
jne 0x1400c7fd2
mov rdi, rcx
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x18]
mov byte [rax], bl
add byte [rax], al
add byte [rax - 0x73], cl
adc eax, 0xfffff776
call fcn.14012f920
mov eax, dword [0x1402028e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x68], 1
mov rcx, rdi
mov qword [rbp - 0x20], 0
mov eax, dword [0x1402028e8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov r8, qword [rax + 0x50]
mov eax, dword [rax + 0x50]
test r8, r8
je 0x1400c7ffd
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rsi
jne 0x1400c7f27
cmp qword [r8], 0
mov rdi, qword [rcx]
jne 0x1400c7f72
cmp rdi, qword [r8 + 8]
je 0x1400c8027
lea rcx, [rdi + 0x88]
mov byte [rbp - 9], 0
mov rdx, rsi
call fcn.1400b0770
add rdi, 0xb8
mov byte [rbp - 9], 0
test dword [rax], 0xe8f98948
add byte [rax], r8b
cmp qword [rbp - 0x20], 0
je 0x1400c801e
mov rcx, qword [rbp - 0x18]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x1400c80c9
add dword [rax], eax
invalid
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x1400c801e
mov rax, qword [rcx + 0x10]
add rsp, 0x60
invalid
invalid
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0x10]
mov qword [rbp - 0x20], 0
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.1400b0770
add rdi, 0xb8
mov rcx, rdi
call fcn.1400cc3e0
jmp 0x1400c801e
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.1400b0770
add rdi, 0xb8
mov rcx, rdi
call fcn.1400cc3e0
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp qword [r8 + 0x10], 0
jne 0x1400c80e1
mov qword [r8 + 0x10], 0xffffffffffffffff
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x1400c8092
mov qword [rbp - 0x30], rsi
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
cmp rax, rcx
jne 0x1400c806d
mov qword [rbp - 0x28], r8
lea rcx, [rdi + 0x40]
call fcn.1400c6d80
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
mov r8, qword [rbp - 0x28]
add rax, qword [rdi + 0x50]
xor edx, edx
cmp rax, rcx
cmovae rdx, rcx
sub rax, rdx
mov rcx, qword [rdi + 0x48]
mov qword [rcx + rax*8], rsi
inc qword [rdi + 0x58]
inc qword [r8 + 0x10]
jmp 0x1400c7f98
mov qword [r8 + 0x10], 0
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x1400c80f3
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x1400c7f98
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x1400c7f98
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x14016a848]
mov edx, 0x27
call fcn.140155a10
mov byte [rbp - 9], 1
lea rcx, [0x14016c8a0]
call fcn.140155840
jmp 0x1400c810b
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x14016a848]
mov edx, 0x27
call fcn.140155a10
ud2
Function at 0x1400d0e80
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400d0ea0
test al, 1
je 0x1400d0f69
test al, 2
jne 0x1400d0f81
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.1400ad6c0
test rax, rax
je 0x1400d0efe
mov qword [rbp + 0x10], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp + 0x10]
je 0x1400d0efe
mov r8, qword [rax + 0x10]
call fcn.14001c720
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x1400d0f99
jne 0x1400d0f5f
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.1400c4580
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x1400d0f4b
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x68]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, qword [rbp + 0x20]
call fcn.14001c720
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14016a630]
mov edx, 0x23
call fcn.140155a10
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14016a670]
mov edx, 0x25
call fcn.140155a10
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1401482f0]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x14016a6b8]
lea rcx, [rbp - 0x58]
call fcn.140155940
int3
Function at 0x1400d10a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400d10c0
test al, 1
je 0x1400d1189
test al, 2
jne 0x1400d11a1
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.1400ad930
test rax, rax
je 0x1400d111e
mov qword [rbp + 0x10], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp + 0x10]
je 0x1400d111e
mov r8, qword [rax + 0x10]
call fcn.14001c720
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x1400d11b9
jne 0x1400d117f
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.1400c43c0
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x1400d116b
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, qword [rbp + 0x20]
call fcn.14001c720
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14016a630]
mov edx, 0x23
call fcn.140155a10
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14016a670]
mov edx, 0x25
call fcn.140155a10
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1401482f0]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x14016a6b8]
lea rcx, [rbp - 0x58]
call fcn.140155940
int3
Function at 0x1400d8600
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp word [rcx], 0
mov eax, 2
mov ecx, 0x17
cmove ecx, eax
mov rax, qword [0x140202708]
cmp rax, 3
jne 0x1400d8691
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x1400d86e0
mov rsi, rax
mov dword [rbp - 0x10], 1
lea r8, [rbp - 0x10]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x1400d868a
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x18], rax
mov edi, 1
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rdx, qword [rbp - 0x18]
jmp 0x1400d86f4
xor edi, edi
mov rdx, rsi
jmp 0x1400d86f4
mov byte [rbp - 9], 1
lea rax, [rbp - 9]
mov qword [rbp - 0x20], rax
lea rax, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.11_src_syswindows_net.rs
mov qword [rsp + 0x20], rax
lea rax, [0x140202708]
lea r9, [0x14016f2a8]
lea r8, [rbp - 0x20]
mov esi, ecx
mov rcx, rax
mov edi, edx
xor edx, edx
call fcn.140154a80
mov ecx, esi
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
jne 0x1400d8645
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret