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

Disassembly:
push rbp
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140289a90
test al, 1
je 0x140289b18
test al, 2
jne 0x140289b32
test al, 8
mov qword [rbp + 0x38], rcx
jne 0x140289ac9
add rcx, 0x20
mov qword [rbp - 0x28], 4
lea rdx, [rbp - 0x28]
call fcn.140289da0
jmp 0x140289ae5
test al, 0x10
je 0x140289ae5
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx + 0x60]
test rax, rax
je 0x140289bac
mov rcx, qword [rcx + 0x68]
call qword [rax + 0x10]
mov qword [rbp + 0x30], 1
mov rax, 0xffffffffffffffc0
mov rcx, qword [rbp + 0x38]
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 0x30]
jb 0x140289b4c
jne 0x140289b0e
call fcn.140289cb0
nop
add rsp, 0xe0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403aa5a0]
mov edx, 0x23
call fcn.140354ff0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403aa5e0]
mov edx, 0x25
call fcn.140354ff0
ud2
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 8], rax
lea rax, [fcn.14021f1f0]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp + 8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x1403aa628]
lea rcx, [rbp - 0x58]
call fcn.140354e30
ud2
lea rax, str.waker_missing
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
lea rax, str.internal_error:_entered_unreachable_code:_unknown_state:
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rdx, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_src_runtime_taskcore.rs
lea rcx, [rbp - 0x28]
call fcn.140354e30
ud2
Function at 0x140293450
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov dword [rbp - 0x60], 0
lea rdx, [rbp - 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_GetLogicalProcessorInformation
mov edi, dword [rbp - 0x60]
cmp rdi, 0x20
jb 0x140293639
mov eax, edi
and eax, 0x1f
jne 0x140293639
mov esi, edi
and esi, 0xffffffe0
movzx eax, byte [0x14042c610]
mov rcx, qword [0x14042c578]
test rcx, rcx
jne 0x1402934ca
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14029366a
mov rcx, rax
mov qword [0x14042c578], rax
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14029366a
shr rdi, 5
mov qword [rbp - 0x28], rdi
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x20], rax
mov rcx, rax
call sub.KERNEL32.dll_GetLogicalProcessorInformation
test eax, eax
je 0x140293535
mov eax, dword [rbp - 0x60]
cmp rax, 0x20
mov r8, qword [rbp - 0x20]
jb 0x14029362a
mov rcx, rax
shr rcx, 5
and eax, 0xffffffe0
dec rcx
movabs rdx, 0x7ffffffffffffff
and rdx, rcx
cmp rdx, 4
jae 0x140293547
xor esi, esi
mov rcx, r8
jmp 0x1402935f0
mov rcx, qword [0x14042c578]
xor edx, edx
mov r8, qword [rbp - 0x20]
jmp 0x140293633
lea rcx, [rdx + 1]
mov r10d, ecx
and r10d, 3
mov r9d, 4
cmovne r9, r10
sub rcx, r9
shl rcx, 5
not rdx
add rdx, r9
lea r9, [r8 + 0x68]
pxor xmm2, xmm2
movdqa xmm3, xmmword [0x14035f910]
pxor xmm1, xmm1
pxor xmm0, xmm0
nop word cs:[rax + rax]
movd xmm4, dword [r9 - 0x40]
movd xmm5, dword [r9 - 0x60]
punpckldq xmm5, xmm4
movd xmm4, dword [r9]
movd xmm6, dword [r9 - 0x20]
punpckldq xmm6, xmm4
pshufd xmm4, xmm5, 0xd4
pcmpeqd xmm4, xmm2
pand xmm4, xmm3
paddq xmm1, xmm4
pshufd xmm4, xmm6, 0xd4
pcmpeqd xmm4, xmm2
pand xmm4, xmm3
paddq xmm0, xmm4
sub r9, 0xffffffffffffff80
add rdx, 4
jne 0x140293590
add rcx, r8
paddq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movq rsi, xmm1
mov rdx, r8
add rdx, rax
nop word cs:[rax + rax]
cmp dword [rcx + 8], 1
lea rax, [rcx + 0x20]
adc rsi, 0
mov rcx, rax
cmp rax, rdx
jne 0x140293600
test rsi, rsi
je 0x14029362a
mov rcx, qword [0x14042c578]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140293658
mov rcx, qword [0x14042c578]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call sub.KERNEL32.dll_GetSystemInfo
mov esi, dword [rbp - 0x40]
mov rax, rsi
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
mov ecx, 8
mov rdx, rsi
call fcn.140352060
ud2
Function at 0x1402a4600
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r8
mov r8, qword [rcx + 8]
test r8, r8
je 0x1402a46dd
mov rbx, rdx
mov rsi, rcx
mov r10, qword [rdx]
movzx r9d, byte [rdx + 8]
movzx ecx, byte [rdx + 9]
movabs rax, 0xcbf29ce484222325
xor rax, r10
movabs rdx, 0x100000001b3
imul rax, rdx
xor rax, r9
imul rax, rdx
xor rax, rcx
imul rax, rdx
xor edx, edx
div r8
mov rax, rdx
mov r11, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x20]
mov r14, qword [r11 + rax*8]
cmp r14, rdx
jae 0x1402a469c
test r8, r8
je 0x1402a469c
lea r14, [r14 + r14*2]
lea r15, [r8 + r14*8]
cmp qword [r15], r10
jne 0x1402a469c
cmp byte [r15 + 8], r9b
jne 0x1402a469c
cmp byte [r15 + 9], cl
jne 0x1402a469c
mov rdx, qword [r8 + r14*8 + 0x10]
mov eax, 1
jmp 0x1402a46d1
mov qword [r11 + rax*8], rdx
cmp rdx, qword [rsi + 0x18]
jne 0x1402a46b7
lea rcx, [rsi + 0x10]
call fcn.1401f1e20
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x20]
lea rax, [rdx + rdx*2]
movups xmm0, xmmword [rbx]
movups xmmword [r8 + rax*8], xmm0
mov qword [r8 + rax*8 + 0x10], rdi
inc rdx
mov qword [rsi + 0x20], rdx
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero
lea r8, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_1.6.0_srccompile.rs
mov edx, 0x39
call fcn.140354ff0
ud2
Function at 0x1402f5320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1402f537b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1402f537b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1402f5396
cmp eax, 0x42
jne 0x1402f537b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1402f5446
cmp byte [r9 + r11], 0x5f
jne 0x1402f5446
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1402f54ae
mov rcx, rsi
xor edx, edx
call fcn.1402f0a40
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1402f0a40
test al, al
jne 0x1402f5541
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1402f53d2
lea rdx, [0x14039f162]
mov r8d, 1
call fcn.14021fe30
test al, al
jne 0x1402f5541
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1402f538a
xor r14d, r14d
lea rbx, [0x1403a2ad0]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1402f5404
cmp byte [rax + rcx], 0x45
je 0x1402f556a
sub r14, 1
jb 0x1402f5429
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1402f5429
mov r8d, 2
mov rdx, rbx
call fcn.14021fe30
test al, al
jne 0x1402f5541
mov rcx, rsi
call fcn.1402f5580
test al, al
jne 0x1402f5541
mov rax, qword [rsi]
test rax, rax
jne 0x1402f53f0
jmp 0x1402f538a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1402f5508
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1402f54a2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1402f548c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1402f547b
add dl, 0xa9
jmp 0x1402f548a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1402f5508
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1402f5508
movzx edx, bl
add rax, rdx
jae 0x1402f5450
jmp 0x1402f5508
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1402f5508
cmp rax, rcx
jae 0x1402f5505
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1402f5549
cmp qword [rsi + 0x20], 0
je 0x1402f5576
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1402f5320
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1402f538c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1402f5558
lea rax, [0x14039f509]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.14021fe30
test al, al
je 0x1402f5558
mov dil, 2
jmp 0x1402f538a
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x1402f5513
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1402f538a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1402f538a
xor edi, edi
jmp 0x1402f538a
Function at 0x140302d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140302d30
test ecx, ecx
jne 0x140302d80
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140302d3c
test ecx, ecx
jne 0x140302d80
mov rcx, rdi
call fcn.140302be0
movzx eax, al
test bpl, bpl
jne 0x140302d87
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140302d73.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140302ef8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140302d73.2
xor eax, eax
test bpl, bpl
je 0x140302d4c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140302ed9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x140302dba
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140302e39
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140302e00
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x140302e1b
inc rax
dec rdi
cmp rax, 1
jne 0x140302de0
jmp 0x140302e39
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140302e1b
cmp ebx, 0x5c
je 0x140302e1b
inc rax
dec rdi
cmp rax, 1
jne 0x140302e00
jmp 0x140302e39
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140302ee7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140302e63
mov al, 9
cmp rdx, 2
je 0x140302e67
cmp rdx, 1
jne 0x140302e77
cmp byte [r8], 0x2e
jne 0x140302e77
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140302e77
mov al, 0xa
jmp 0x140302e77
cmp byte [r8], 0x2e
jne 0x140302e77
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140302d73.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140302d73.2
mov ecx, 2
jmp case.0x140302d73.2
lea r8, str.library_std_srcpath.rs
call fcn.140354ef0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140354ef0
ud2
Function at 0x1403032f0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.1403004d0
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x140303475
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x3f0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x1403033b0
jmp 0x14030339f
jae 0x140303487
cmp r8, 0x201
jae 0x1403033b0
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x140303408
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x1403033df
lea rcx, [rbp + 0x3f0]
mov rdx, r13
call fcn.14035ccd0
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f8]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x400], r13
mov rbx, rdi
mov r12, qword [rbp + 0x418]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r12
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x140303437
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14030354c
mov r8d, r14d
cmp r15, r8
jne 0x140303390
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14030357c
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14030339f
jmp 0x1403033b0
lea rcx, [rbp - 0x50]
call fcn.140077a10
mov byte [rsi + 0x18], 2
jmp 0x140303516
cmp rsi, r8
jb 0x140303596
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.140301720
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3e0], xmm1
movaps xmmword [rbp + 0x3d0], xmm0
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
je 0x1403034dd
mov rcx, qword [0x14042c578]
xor edx, edx
mov r8, qword [rbp + 0x418]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [rbp + 0x3e8], 2
jne 0x14030352b
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
call fcn.140077a10
cmp qword [rbp + 0x408], 0
je 0x140303516
mov rcx, qword [0x14042c578]
xor edx, edx
mov r8, qword [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rbp + 0x408], 0
jne 0x140303500
jmp 0x140303516
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3d0], rax
mov byte [rbp + 0x3e8], 2
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
jne 0x1403034c7
jmp 0x1403034dd
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_std_src_threadmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140354ff0
jmp 0x1403035ab
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140354f70
ud2
Function at 0x14030ae50
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14042c610]
mov rcx, qword [0x14042c578]
test rcx, rcx
jne 0x14030ae9c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14030af69
mov rcx, rax
mov qword [0x14042c578], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14030af69
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14030b000]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14030af5b
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x18]
je 0x14030af35
cmp qword [rax + 0x10], 0x11
jae 0x14030af1e
mov r8, qword [rbp - 0x20]
jmp 0x14030af26
mov r8, qword [rbp - 0x20]
mov r8, qword [r8 - 8]
mov rcx, qword [0x14042c578]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x14042c578]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140352060
ud2

Function at 0x14030b130
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14030b173
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140303e40]
mov qword [rbp - 0x28], rax
lea rax, str._be:_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.0e:_
lea rcx, [rbp - 0x60]
call fcn.140354e30
ud2
Function at 0x14030f7a0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x14030f7cb
mov qword [rsi + 8], rbx
mov qword [rsi], 1
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rax, qword [0x14042c580]
cmp rax, 3
jne 0x14030f94d
cmp word [rbx], 0
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14030f840
cmp word [rbx], 0
je 0x14030f8b8
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x14030f8cd
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14030f85b
mov r14d, eax
cmp eax, 0x2726
jne 0x14030f93c
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14030f933
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
jne 0x14030f818
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x14030f93c
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r9w, 2
rol cx, 8
mov word [rsp + 0x30], r9w
mov word [rsp + 0x32], cx
mov dword [rsp + 0x34], eax
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], edx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14030f90c
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x14030f7c0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x14030f7c0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov qword [rsi + 8], r14
jmp 0x14030f7b9
call fcn.14035d040
jmp 0x14030f7dc

Function at 0x140313cf0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140313d25
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140313d2a
call fcn.14030b130
mov ecx, dword [0x14042c614]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0xf8], 1
mov qword [rcx + 0x100], rax
mov qword [rcx + 0x108], rdx
add rsp, 0x38
ret
Function at 0x14031a230
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14031a250
test al, 1
je 0x14031a2d8
test al, 2
jne 0x14031a2f2
test al, 8
mov qword [rbp + 0x38], rcx
jne 0x14031a289
add rcx, 0x20
mov qword [rbp - 0x28], 4
lea rdx, [rbp - 0x28]
call fcn.14031a560
jmp 0x14031a2a5
test al, 0x10
je 0x14031a2a5
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx + 0x60]
test rax, rax
je 0x14031a36c
mov rcx, qword [rcx + 0x68]
call qword [rax + 0x10]
mov qword [rbp + 0x30], 1
mov rax, 0xffffffffffffffc0
mov rcx, qword [rbp + 0x38]
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 0x30]
jb 0x14031a30c
jne 0x14031a2ce
call fcn.14031a470
nop
add rsp, 0xe0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403aa5a0]
mov edx, 0x23
call fcn.140354ff0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403aa5e0]
mov edx, 0x25
call fcn.140354ff0
ud2
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 8], rax
lea rax, [fcn.14021f1f0]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp + 8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x1403aa628]
lea rcx, [rbp - 0x58]
call fcn.140354e30
ud2
lea rax, str.waker_missing
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
lea rax, str.internal_error:_entered_unreachable_code:_unknown_state:
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rdx, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_src_runtime_taskcore.rs
lea rcx, [rbp - 0x28]
call fcn.140354e30
ud2
Function at 0x14032e050
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14032e070
test al, 1
je 0x14032e12f
test al, 2
jne 0x14032e149
test al, 8
mov qword [rbp + 0x48], rcx
jne 0x14032e0ad
add rcx, 0x20
mov qword [rbp - 0x28], 4
lea rdx, [rbp - 0x28]
call fcn.14032e330
jmp 0x14032e0c9
test al, 0x10
je 0x14032e0c9
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + 0x58]
test rax, rax
je 0x14032e1c3
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x10]
mov qword [rbp + 0x30], 1
mov rax, 0xffffffffffffffc0
mov rdx, qword [rbp + 0x48]
lock xadd qword [rdx], rax
shr rax, 6
cmp rax, qword [rbp + 0x30]
jb 0x14032e163
jne 0x14032e125
lea rcx, [rdx + 0x28]
call fcn.1403299b0
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x14032e10e
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov rax, qword [rbp + 0x48]
mov r8, qword [rax - 8]
mov rcx, qword [0x14042c578]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0xe0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403aa5a0]
mov edx, 0x23
call fcn.140354ff0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403aa5e0]
mov edx, 0x25
call fcn.140354ff0
ud2
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 8], rax
lea rax, [fcn.14021f1f0]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp + 8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x1403aa628]
lea rcx, [rbp - 0x58]
call fcn.140354e30
ud2
lea rax, str.waker_missing
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
lea rax, str.internal_error:_entered_unreachable_code:_unknown_state:
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rdx, str.C:Usersidofi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.29.1_src_runtime_taskcore.rs
lea rcx, [rbp - 0x28]
call fcn.140354e30
ud2