joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ee00
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 0x14002ee42
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14002ee4a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14002ee5b
jmp 0x14002ee72
xor r10d, r10d
jmp 0x14002eefd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14002ee72
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14002ee89
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 0x14002eea9
add r11, r8
jmp 0x14002efd9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14002ef72
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14002ef20
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14002ef8f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14002efa0
jmp 0x14002efbb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14002efbb
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14002efd5
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 0x140038570
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov esi, dword [0x1401200d0]
test esi, esi
je 0x140038619
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14003860c
je 0x14003860a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
movzx eax, byte [0x1401b2168]
mov edx, 0x18
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x14003863a
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140038605
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rdi
call fcn.14011d4ec
mov rax, rsi
jmp 0x14003860c
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401200b8]
call fcn.1400d8900
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140038599
jmp 0x14003860c
mov ecx, 8
mov edx, 0x18
call fcn.140017699
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401200f8]
test esi, esi
je 0x140048edd
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140048f25
je 0x140048ed9
movzx eax, byte [0x1401b2168]
mov edx, 0x50
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x140048f2d
movups xmm0, xmmword [0x14017c1f8]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x14017c1e8]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x14017c1d8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x14017c1c8]
movups xmmword [rax], xmm0
movabs rcx, 0x2000000000000
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140048f22
mov rax, qword [rdi + 8]
cmp rax, 2
je 0x140048f11
test rax, rax
je 0x140048efe
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140048f11
mov rcx, qword [rdi + 0x10]
call fcn.140049150
jmp 0x140048f11
xor eax, eax
jmp 0x140048f25
lea rcx, [0x1401200e0]
call fcn.1400d8900
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140048e38
jmp 0x140048f25
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140048f11
mov rcx, qword [rdi + 0x10]
call fcn.140049020
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rdi
call fcn.14011d4ec
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x50
call fcn.140017699
int3
Function at 0x1400614d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov esi, dword [0x140120018]
test esi, esi
je 0x140061591
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140061589
je 0x140061587
lea rcx, [rsp + 0x28]
call fcn.140063310
movzx eax, byte [0x1401b2168]
mov edx, 0x40
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x1400615b2
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x30], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmm2, xmmword [rsp + 0x48]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov dword [rax + 0x38], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140061582
lock dec qword [0x1401b2040]
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rdi
call fcn.14011d4ec
mov rax, rsi
jmp 0x140061589
xor eax, eax
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rcx, section..data
call fcn.1400d8900
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400614f8
jmp 0x140061589
mov ecx, 8
mov edx, 0x40
call fcn.140017699
int3
Function at 0x140063a90
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140063ae2
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140063ae2
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140063ae2
mov r14, rax
xor edi, edi
jmp 0x140063b66
lea rcx, [0x140171008]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140063bd0
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140063bd0
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140063bd0
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140063bd0
mov rsi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x140063bd0
mov r14, qword [rsp + 0x28]
movzx eax, byte [0x1401b2168]
mov edx, 0x18
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x140063c07
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1401b2050], rbx
je 0x140063bc3
mov rsi, rax
cmp qword [rbx], 0
je 0x140063baf
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rbx
call fcn.14011d4ec
mov rbx, rsi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.10_src_thread_parker_windows_mod.rs
lea rcx, [rsp + 0x28]
call fcn.14001a380
mov ecx, 8
mov edx, 0x18
call fcn.140017699
int3
Function at 0x140067020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1400670b6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140124110]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140124120]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400672f0
test rdi, rdi
je 0x140067145
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14006715e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140067256
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400672d8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140067263
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140067120
cmp r9, 8
jae 0x14006726c
jmp 0x1400672d8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400672f0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400672d8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400672d8
mov r8, rcx
cmp r9, 8
jb 0x1400672d8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140067270
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400672f0
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 0x140067332
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14006733a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14006734b
jmp 0x140067362
xor r10d, r10d
jmp 0x1400673ed
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140067362
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140067379
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 0x140067399
add r11, r8
jmp 0x1400674c9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140067462
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140067410
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14006747f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140067490
jmp 0x1400674ab
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x1400674ab
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x1400674c5
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 0x14006b210
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call fcn.140005760
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x1401b2168]
mov edx, 0x800
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x14006b38c
mov rbx, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rdi, qword [rsp + 0x58]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14006b2ef
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x14006b2a0
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.1400050e0
mov rbx, qword [rsp + 0x40]
jmp 0x14006b291
test eax, eax
jne 0x14006b311
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14006b36e
movabs rax, 0xde00000002
jmp 0x14006b319
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rsp + 0x38], 0
je 0x14006b343
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rbx
call fcn.14011d4ec
cmp qword [rsp + 0x50], 0
je 0x14006b35c
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rdi
call fcn.14011d4ec
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x50], 0
jne 0x14006b34b
jmp 0x14006b35c
mov ecx, 1
mov edx, 0x800
call fcn.140017699
int3
Function at 0x14006c6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x14006c710
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x14006c837
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x14006c846
cmp byte [rdx + 0x1a], 0
jne 0x14006c86d
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x14006c737
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x14006c766
cmp r8, r9
jae 0x14006c760
cmp byte [rax + r8], 0xbf
jg 0x14006c766
jmp 0x14006c87b
jne 0x14006c87b
cmp r8, r9
je 0x14006c850
movzx esi, byte [rax + r8]
test sil, sil
js 0x14006c7c0
test r11b, 1
jne 0x14006c82e
mov r11d, 1
cmp esi, 0x80
jb 0x14006c730
mov r11d, 2
cmp esi, 0x800
jb 0x14006c730
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x14006c730
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x14006c80a
movzx ebx, byte [rax + r8 + 2]
shl ebp, 6
and ebx, 0x3f
or ebx, ebp
cmp sil, 0xf0
jb 0x14006c81d
movzx esi, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl ebx, 6
and esi, 0x3f
or esi, ebx
or esi, edi
test r11b, 1
je 0x14006c783
jmp 0x14006c82e
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x14006c783
jmp 0x14006c82e
shl edi, 0xc
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x14006c783
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x14006c85a
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.14006c8c0
jmp 0x14006c872
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x14006c869
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x14006c86f
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, str._rustc_759e07f063fb8e6306ff1bdaeb70af56a878b415librarycore_src_strpattern.rsErrorassertion_failed:_self.is_char_boundary_idx_
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.14001ecf0
int3
Function at 0x140070a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, qword [rcx]
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rsi, qword [rdi + 0x28]
cmp rsi, 0x7fff
jbe 0x140070ab7
lea rcx, [rdx + 0x18]
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
mov rdx, rax
call qword [r9 + 0x20]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140070ab0
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x20]
xor eax, eax
jmp 0x140070bc9
lea r15, [rcx + 8]
movzx ebp, word [rcx + 0x30]
mov r14, qword [rcx + 0x28]
movzx ebx, byte [rcx + 0x32]
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
cmp rsi, qword [rdi + 0x18]
jne 0x140070af0
lea rcx, [rdi + 0x18]
call fcn.14004a7f0
mov rcx, qword [rdi + 0x20]
imul rax, rsi, 0x68
mov qword [rcx + rax], 0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rcx + rax + 0x18], xmm0
movups xmmword [rcx + rax + 0x28], xmm1
mov rdx, qword [rsp + 0x60]
mov qword [rcx + rax + 0x38], rdx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movups xmmword [rcx + rax + 0x50], xmm1
mov word [rcx + rax + 0x60], bp
lea rcx, [rsi + 1]
mov qword [rdi + 0x28], rcx
mov rcx, qword [rdi + 0x48]
mov r8, qword [rdi + 0x50]
xor edx, edx
mov r9d, esi
nop dword [rax + rax]
mov r10, r14
mov r14d, 0
cmp r10, r8
jae 0x140070b50
movzx r11d, word [rcx + r10*4]
cmp r11w, 0xffff
je 0x140070b8c
inc rdx
movzx r14d, word [rcx + r10*4 + 2]
mov word [rcx + r10*4], r9w
mov word [rcx + r10*4 + 2], bp
inc r10
mov ebp, r14d
mov r9d, r11d
mov r14, r10
jmp 0x140070b50
xor bl, 1
mov word [rcx + r10*4], r9w
mov word [rcx + r10*4 + 2], bp
cmp rdx, 0x80
setb cl
test cl, bl
jne 0x140070bb5
cmp qword [rdi], 0
jne 0x140070bb5
mov qword [rdi], 1
mov rdx, qword [rdi + 0x28]
cmp rsi, rdx
jae 0x140070bd6
mov rcx, qword [rdi + 0x20]
add rax, rcx
add rax, 0x18
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str.src_index.crates.io_6f17d22bba15001f_http_0.2.12_src_header_map.rs
mov rcx, rsi
call fcn.14001a41f
int3
Function at 0x140079be0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401200f8]
test esi, esi
je 0x140079cad
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140079cf5
je 0x140079ca9
movzx eax, byte [0x1401b2168]
mov edx, 0x50
xor ecx, ecx
call fcn.1400ff580
test rax, rax
je 0x140079cfd
movups xmm0, xmmword [0x14017c1f8]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x14017c1e8]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x14017c1d8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x14017c1c8]
movups xmmword [rax], xmm0
movabs rcx, 0x2000000000000
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140079cf2
mov rax, qword [rdi + 8]
cmp rax, 2
je 0x140079ce1
test rax, rax
je 0x140079cce
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140079ce1
mov rcx, qword [rdi + 0x10]
call fcn.14007d380
jmp 0x140079ce1
xor eax, eax
jmp 0x140079cf5
lea rcx, [0x1401200e0]
call fcn.1400d8900
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140079c08
jmp 0x140079cf5
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140079ce1
mov rcx, qword [rdi + 0x10]
call fcn.140049020
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rdi
call fcn.14011d4ec
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x50
call fcn.140017699
int3
Function at 0x14007d1c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0xd0
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14007d1d0
test al, 1
je 0x14007d2a7
test al, 2
jne 0x14007d2bf
test al, 8
jne 0x14007d20a
lea rcx, [rsi + 0x20]
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
call fcn.14007e3a0
jmp 0x14007d228
test al, 0x10
je 0x14007d228
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14007d343
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x10]
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x14007d25f
mov r8, qword [rsi + 0xd8]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
call qword [r8 + 0x28]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14010bbf0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x20], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x14007d2d7
jne 0x14007d29d
mov rcx, rsi
call fcn.14007d0e0
nop
add rsp, 0xd0
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14017d8f8]
mov edx, 0x23
call fcn.14001b280
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14017d938]
mov edx, 0x25
call fcn.14001b280
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [fcn.14001a490]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rax, str.current:___sub:_P
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
lea rdx, [0x14017d980]
lea rcx, [rsp + 0x50]
call fcn.14001a380
lea rax, str.waker_missing
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rdx, str.src_index.crates.io_6f17d22bba15001f_tokio_1.41.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x50]
call fcn.14001a380
int3