joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004cf80
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 0x14004d19d
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 [0x14039a490]
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 0x14004cff0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x14039a4a0]
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 0x14004d11a
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 0x14004d0f0
movdqa xmm1, xmmword [0x14039a4a0]
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 [0x14039a4b0], 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 0x14004d1bb
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.14004cb30
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 0x140057120
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 0x140057162
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14005716a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14005717b
jmp 0x140057192
xor r10d, r10d
jmp 0x14005721d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140057192
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400571a9
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 0x1400571c9
add r11, r8
jmp 0x1400572fb
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 0x140057292
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 0x140057240
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400572b0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400572c2
jmp 0x1400572dd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400572dd
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 0x1400572f7
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 0x140062930
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 ecx, dword [0x140394158]
test ecx, ecx
je 0x14006295c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140062975
add rax, 8
jmp 0x140062a10
lea rcx, [0x140394140]
call fcn.1401d8500
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140062953
je 0x140062a0e
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 [0x1404a3130]
mov edx, 0x18
xor ecx, ecx
call fcn.140201a50
test rax, rax
je 0x140062a3d
mov rbx, rax
mov rsi, rax
lea rax, [0x140394140]
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x140394158]
test ecx, ecx
je 0x140062a1d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x140394158]
test ecx, ecx
je 0x140062a2d
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x140062a09
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, rdi
call fcn.14021d5e4
mov rax, rbx
jmp 0x140062a10
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140394140]
call fcn.1401d8500
mov ecx, eax
jmp 0x1400629d3
lea rcx, [0x140394140]
call fcn.1401d8500
mov ecx, eax
jmp 0x1400629e7
mov ecx, 8
mov edx, 0x18
call fcn.140043da0
int3
Function at 0x14006f4f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov ecx, dword [0x140394040]
test ecx, ecx
je 0x14006f517
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006f530
add rax, 8
jmp 0x14006f5c6
lea rcx, [0x140394028]
call fcn.1401d8500
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006f50e
je 0x14006f5c4
mov edi, 1
lock xadd qword [0x140394020], rdi
test rdi, rdi
je 0x14006f5ee
movzx eax, byte [0x1404a3130]
mov edx, 0x10
xor ecx, ecx
call fcn.140201a50
test rax, rax
je 0x14006f625
mov rbx, rax
mov rsi, rax
lea rax, [0x140394028]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov ecx, dword [0x140394040]
test ecx, ecx
je 0x14006f5ce
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x140394040]
test ecx, ecx
je 0x14006f5de
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14006f5bf
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, rdi
call fcn.14021d5e4
mov rax, rbx
jmp 0x14006f5c6
xor eax, eax
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140394028]
call fcn.1401d8500
mov ecx, eax
jmp 0x14006f589
lea rcx, [0x140394028]
call fcn.1401d8500
mov ecx, eax
jmp 0x14006f59d
lea rax, str.regex:_thread_ID_allocation_space_exhausted
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_srcutilpool.rs
lea rcx, [rsp + 0x20]
call fcn.1400467a0
mov ecx, 8
mov edx, 0x10
call fcn.140043da0
int3
Function at 0x140079c30
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 0x140079c72
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140079c7a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140079c8b
jmp 0x140079ca2
xor r10d, r10d
jmp 0x140079d2d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140079ca2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140079cb9
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 0x140079cd9
add r11, r8
jmp 0x140079e0b
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 0x140079da2
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 0x140079d50
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140079dc0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140079dd2
jmp 0x140079ded
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140079ded
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 0x140079e07
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 0x14008cd00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm1, xmmword [rdx]
movups xmm0, xmmword [rdx + 4]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm2, r9d
shufps xmm2, xmm0, 0xd4
unpcklps xmm0, xmm1
shufps xmm0, xmm2, 0x21
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x14009a530
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ecx, dword [0x1403941a8]
test ecx, ecx
je 0x14009a557
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14009a570
add rax, 8
jmp 0x14009a640
lea rcx, [0x140394190]
call fcn.1401d8500
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14009a54e
je 0x14009a63e
movzx eax, byte [0x1404a3130]
mov edx, 0x50
xor ecx, ecx
call fcn.140201a50
test rax, rax
je 0x14009a668
mov rbx, rax
mov rsi, rax
lea rax, [0x140394190]
mov qword [rsi], rax
movups xmm0, xmmword [0x1404405f8]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [0x140440608]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [0x140440618]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [0x140440628]
movups xmmword [rsi + 0x38], xmm0
movabs rax, 0x2000000000000
mov qword [rsi + 0x48], rax
mov ecx, dword [0x1403941a8]
test ecx, ecx
je 0x14009a648
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1403941a8]
test ecx, ecx
je 0x14009a658
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14009a639
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14009a628
lock dec qword [rax]
jne 0x14009a628
mov rcx, rdi
add rcx, 0x28
call fcn.140094fe0
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, rdi
call fcn.14021d5e4
mov rax, rbx
jmp 0x14009a640
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140394190]
call fcn.1401d8500
mov ecx, eax
jmp 0x14009a5e8
lea rcx, [0x140394190]
call fcn.1401d8500
mov ecx, eax
jmp 0x14009a5fc
mov ecx, 8
mov edx, 0x50
call fcn.140043da0
int3
Function at 0x1400bb480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r12, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 8
jb 0x1400bb4fa
shr r9, 3
mov r14, r9
shl r14, 7
lea rdx, [rbx + r14]
imul r15, r9, 0xe0
lea r8, [rbx + r15]
mov rcx, rbx
mov rsi, r12
mov r12, r9
call fcn.1400bb480
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r15]
mov rcx, rdi
mov r9, r12
call fcn.1400bb480
mov rdi, rax
add r14, rsi
add r15, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r15
mov r9, r12
call fcn.1400bb480
mov r12, rax
mov qword [rsp + 0x38], rdi
mov rbp, qword [rbx + 8]
mov rsi, qword [rbx + 0x10]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov r13, rsi
sub r13, r8
mov qword [rsp + 0x48], r8
cmovb r8, rsi
mov rcx, rbp
mov qword [rsp + 0x50], rdx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
movzx r15d, byte [rbx + 0x18]
movzx ecx, byte [rdi + 0x18]
mov eax, r15d
mov byte [rsp + 0x2f], cl
sub al, cl
xor r14d, r14d
cmp al, 0xff
sete r14b
xor eax, eax
test r13, r13
sets al
cmovne r14d, eax
mov rdx, qword [r12 + 8]
mov r13, qword [r12 + 0x10]
mov rdi, r12
mov r12, rsi
sub r12, r13
cmovae rsi, r13
mov rcx, rbp
mov qword [rsp + 0x30], rdx
mov r8, rsi
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
mov qword [rsp + 0x40], rdi
movzx ebp, byte [rdi + 0x18]
sub r15b, bpl
xor eax, eax
cmp r15b, 0xff
sete al
xor ecx, ecx
test r12, r12
sets cl
cmovne eax, ecx
cmp r14b, al
jne 0x1400bb600
mov rax, qword [rsp + 0x48]
mov rsi, rax
sub rsi, r13
cmovb r13, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov r8, r13
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
movzx ecx, byte [rsp + 0x2f]
sub cl, bpl
xor eax, eax
cmp cl, 0xff
sete al
xor ecx, ecx
test rsi, rsi
sets cl
cmovne eax, ecx
xor r14b, al
mov rbx, qword [rsp + 0x38]
cmovne rbx, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140123540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
cmp r9, 8
jb 0x1401235bb
mov rbx, r9
shr rbx, 3
and r9, 0xfffffffffffffff8
lea rdx, [rcx + r9]
mov r14, rbx
shl r14, 4
sub r14, rbx
sub r14, rbx
lea r8, [rcx + r14]
mov r15, r9
mov r9, rbx
call fcn.140123540
mov r12, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r14]
mov rcx, rdi
mov r9, rbx
call fcn.140123540
mov rdi, rax
add r15, rsi
add r14, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r14
mov r9, rbx
call fcn.140123540
mov rsi, rax
mov rcx, r12
movzx r11d, byte [rcx]
movzx ebx, byte [rcx + 1]
movzx edx, byte [rdi]
movzx r8d, byte [rdi + 1]
xor r9d, r9d
cmp bl, r8b
setb r9b
xor eax, eax
cmp r11b, dl
setb al
cmove eax, r9d
movzx r9d, byte [rsi]
movzx r10d, byte [rsi + 1]
xor ebp, ebp
cmp bl, r10b
setb bpl
xor ebx, ebx
cmp r11b, r9b
setb bl
cmove ebx, ebp
cmp al, bl
jne 0x140123622
xor ecx, ecx
cmp r8b, r10b
setb cl
xor r8d, r8d
cmp dl, r9b
setb r8b
cmove r8d, ecx
xor al, r8b
cmovne rdi, rsi
mov rcx, rdi
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140126b20
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov r14, r8
mov rsi, rcx
mov rdi, r8
sub rdi, rdx
shr rdi, 3
sub r14, rdx
je 0x140126bae
movabs rax, 0x7ffffffffffffff8
cmp r14, rax
ja 0x140126d72
mov rbx, rdx
movzx eax, byte [0x1404a3130]
xor ecx, ecx
mov rdx, r14
call fcn.140201a50
test rax, rax
je 0x140126d7c
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
cmp r14, 0xc0
jae 0x140126bd9
xor ecx, ecx
mov r8, rcx
or r8, 1
test r14b, 8
jne 0x140126ca6
mov r9, rcx
cmp rdi, r8
jne 0x140126cd3
jmp 0x140126d41
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
test rdi, rdi
jne 0x140126d5c
xor edx, edx
jmp 0x140126d41
lea rdx, [rax + rdi*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x140126b8c
lea rdx, [rax + 4]
lea r8, [rax + rdi*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x140126b8c
movabs rdx, 0x1ffffffffffffffe
lea r8, [rdi - 1]
lea r9, [rdx + 1]
cmp r8, r9
ja 0x140126b8c
mov rcx, r14
and rcx, 0xfffffffffffffff8
lea r8, [rbx + rcx]
cmp rax, r8
jae 0x140126c30
add rcx, rax
cmp rcx, rbx
ja 0x140126b8a
and rdx, rdi
xor ecx, ecx
movdqa xmm0, xmmword [0x14039dd60]
nop dword [rax]
movdqu xmm1, xmmword [rbx + rcx*8]
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*8], xmm2
add rcx, 2
cmp rdx, rcx
jne 0x140126c40
mov rcx, rdx
cmp rdi, rdx
jne 0x140126b8c
jmp 0x140126d41
mov edx, dword [rbx + rcx*8]
mov r9d, dword [rbx + rcx*8 + 4]
cmp edx, r9d
mov r10d, r9d
cmovb r10d, edx
cmova r9d, edx
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
inc rcx
mov rdx, rcx
mov r9, r8
cmp rdi, r8
je 0x140126d41
lea rax, [rax + rcx*8]
add rax, 0xc
lea rdx, [rbx + r9*8]
add rdx, 0xc
sub rdi, r9
xor r8d, r8d
nop dword [rax]
mov r9d, dword [rdx + r8*8 - 0xc]
mov r10d, dword [rdx + r8*8 - 8]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + r8*8 - 0xc], r11d
mov dword [rax + r8*8 - 8], r10d
mov r9d, dword [rdx + r8*8 - 4]
mov r10d, dword [rdx + r8*8]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + r8*8 - 4], r11d
mov dword [rax + r8*8], r10d
add r8, 2
cmp rdi, r8
jne 0x140126cf0
add rcx, r8
mov rdx, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsi + 0x10], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rdi
call fcn.140129d40
mov rdx, qword [rsp + 0x30]
jmp 0x140126d41
xor ecx, ecx
mov rdx, r14
call fcn.140043d40
mov ecx, 4
mov rdx, r14
call fcn.140043d40
int3
Function at 0x140153cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov rbx, r9
mov ebp, edx
mov rsi, rcx
mov r9, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x1f8]
mov r14, qword [rsp + 0x1f0]
mov rax, qword [r14]
mov ecx, dword [r14 + 8]
mov r13d, dword [r14 + 0xc]
mov dword [rsp + 0x38], ecx
lea r10, [rsp + 0x3c]
mov dword [rsp + 0x3c], r13d
cmp qword [rax + 0x10], rcx
jbe 0x140153f24
mov r12, qword [rax + 8]
imul rax, rcx, 0x130
mov rdi, qword [r12 + rax]
cmp rdi, 2
je 0x140153f24
add r12, rax
cmp dword [r12 + 0x114], r13d
jne 0x140153f24
movzx r15d, byte [r12 + 0x50]
cmp r15d, 5
ja 0x140153d96
cmp r15b, 3
je 0x140153d96
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [r15 - 6]
cmp al, 5
ja 0x140153e59
mov byte [r12 + 0x50], 0
mov byte [r12 + 0x51], r8b
mov dword [r12 + 0x54], r13d
mov dword [r12 + 0x58], ebp
mov r12, r10
mov r15, r9
mov rdi, rdx
add rsi, 8
mov rcx, rsi
mov rdx, rbx
mov r8, r14
call fcn.140178530
mov rcx, qword [r14]
mov edx, dword [r14 + 8]
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], eax
cmp qword [rcx + 0x10], rdx
jbe 0x140153f2b
mov rcx, qword [rcx + 8]
imul rdx, rdx, 0x130
cmp dword [rcx + rdx], 2
je 0x140153f2b
add rcx, rdx
cmp dword [rcx + 0x114], eax
jne 0x140153f2b
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], ebp
mov byte [rsp + 0x60], 8
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov r8, rbx
mov r9, r14
call fcn.140178960
mov rcx, rsi
mov rdx, r14
mov r8, rdi
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14005cb40
lea eax, [r15 - 3]
cmp al, 2
ja 0x140153e69
cmp al, 1
jne 0x140153ef7
test r15d, r15d
je 0x140153ef7
cmp r15d, 1
jne 0x140153ea4
lea rcx, [r12 + 0x70]
mov qword [rsp + 0x40], r9
mov r9, qword [r12 + 0x58]
mov qword [rsp + 0x48], rdx
mov rdx, qword [r12 + 0x60]
mov rax, qword [r12 + 0x68]
mov byte [rsp + 0x37], r8b
mov r8, rax
call qword [r9 + 0x18]
jmp 0x140153ee2
mov rax, qword [r12 + 0x58]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140153ef7
test rax, rax
je 0x140153ef7
mov rax, qword [r12 + 0x60]
mov rcx, qword [0x1404a30d0]
mov qword [rsp + 0x48], rdx
xor edx, edx
mov byte [rsp + 0x37], r8b
mov r8, rax
mov qword [rsp + 0x40], r9
call fcn.14021d5e4
lea r10, [rsp + 0x3c]
mov r9, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
movzx r8d, byte [rsp + 0x37]
mov byte [r12 + 0x50], 0
mov byte [r12 + 0x51], r8b
mov dword [r12 + 0x54], r13d
mov dword [r12 + 0x58], ebp
cmp r15b, 5
ja 0x140153db7
cmp edi, 1
jne 0x140153d82
jmp 0x140153db7
mov qword [rsp + 0x50], r10
jmp 0x140153f30
mov qword [rsp + 0x50], r12
lea rax, [0x14004f850]
mov qword [rsp + 0x58], rax
lea rax, str.dangling_store_key_for_stream_id
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rdx, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streams_store.rs
lea rcx, [rsp + 0x60]
call fcn.1400467a0
int3
Function at 0x1401583e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14019a780
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ecx, dword [0x1403941a8]
test ecx, ecx
je 0x14019a7a7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14019a7c0
add rax, 8
jmp 0x14019a890
lea rcx, [0x140394190]
call fcn.1401d8500
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14019a79e
je 0x14019a88e
movzx eax, byte [0x1404a3130]
mov edx, 0x50
xor ecx, ecx
call fcn.140201a50
test rax, rax
je 0x14019a8b8
mov rbx, rax
mov rsi, rax
lea rax, [0x140394190]
mov qword [rsi], rax
movups xmm0, xmmword [0x1404405f8]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [0x140440608]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [0x140440618]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [0x140440628]
movups xmmword [rsi + 0x38], xmm0
movabs rax, 0x2000000000000
mov qword [rsi + 0x48], rax
mov ecx, dword [0x1403941a8]
test ecx, ecx
je 0x14019a898
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1403941a8]
test ecx, ecx
je 0x14019a8a8
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14019a889
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14019a878
lock dec qword [rax]
jne 0x14019a878
mov rcx, rdi
add rcx, 0x28
call fcn.14014c020
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, rdi
call fcn.14021d5e4
mov rax, rbx
jmp 0x14019a890
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140394190]
call fcn.1401d8500
mov ecx, eax
jmp 0x14019a838
lea rcx, [0x140394190]
call fcn.1401d8500
mov ecx, eax
jmp 0x14019a84c
mov ecx, 8
mov edx, 0x50
call fcn.140043da0
int3