joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022810
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 0x140022882
shr r9, 3
imul rbx, r9, 0xe0
lea rdx, [rcx + rbx]
imul r14, r9, 0x188
lea r8, [rcx + r14]
mov r15, r9
call fcn.140022810
mov r12, rax
lea rdx, [rdi + rbx]
lea r8, [rdi + r14]
mov rcx, rdi
mov r9, r15
call fcn.140022810
mov rdi, rax
add rbx, rsi
add r14, rsi
mov rcx, rsi
mov rdx, rbx
mov r8, r14
mov r9, r15
call fcn.140022810
mov rsi, rax
mov rcx, r12
mov r11, qword [rcx + 0x18]
mov rax, qword [rdi + 0x18]
movzx r8d, byte [rdi + 0x30]
cmp byte [rcx + 0x30], 0
setne bl
test r8b, r8b
sete dl
and dl, bl
xor r9d, r9d
cmp r11, rax
seta r9b
movzx edx, dl
cmovne edx, r9d
mov r9, qword [rsi + 0x18]
movzx r10d, byte [rsi + 0x30]
test r10b, r10b
sete bpl
and bpl, bl
xor ebx, ebx
cmp r11, r9
seta bl
movzx r11d, bpl
cmovne r11d, ebx
cmp dl, r11b
jne 0x1400228ff
test r10b, r10b
sete cl
test r8b, r8b
setne r8b
and r8b, cl
xor ecx, ecx
cmp rax, r9
seta cl
movzx eax, r8b
cmovne eax, ecx
xor dl, al
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 0x140023290
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 0x1400232d2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400232da
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400232eb
jmp 0x140023302
xor r10d, r10d
jmp 0x14002338d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140023302
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140023319
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 0x140023339
add r11, r8
jmp 0x14002346b
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 0x140023402
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 0x1400233b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140023420
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140023432
jmp 0x14002344d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14002344d
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 0x140023467
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 0x14002cb90
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x14002cc1d
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14002cbdf
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
jmp 0x14002cc1d
call fcn.140034e60
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
test rax, rax
je 0x14002cc1d
lea rcx, [rsp + 0x98]
call fcn.140035350
test bl, bl
je 0x14002ccb4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14002ccb4
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0xd0], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0xd8], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x140030290
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 0x24]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14003039d
mov rdi, rax
mov qword [rbp - 0x30], rsi
movsxd rax, dword [rbp - 0x24]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rdi + rax*8]
lea rbx, [rbp - 0x60]
lea r14, [rbp - 0x48]
lea r15, [rbp - 0x20]
mov r12, rdi
jmp 0x140030334
add r12, 8
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + rsi*2]
mov rdx, qword [rbp - 0x50]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rax + rcx*8], xmm0
inc rsi
mov qword [rbp - 0x10], rsi
cmp r12, r13
je 0x14003037a
mov byte [rbp - 1], 1
mov rcx, r12
call fcn.140035330
lea rcx, [rax + rdx*2]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rcx
mov word [rbp - 0x38], 0
mov byte [rbp - 1], 1
mov rcx, rbx
mov rdx, r14
call fcn.14002ae10
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
jne 0x140030310
mov rcx, r15
call fcn.140014b10
jmp 0x140030310
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
test rax, rax
je 0x1400303b6
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx], xmm0
jmp 0x1400303f3
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x1400303f3
mov byte [rbp - 1], 1
call fcn.140034e60
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], 1
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
test rax, rax
je 0x1400303f3
lea rcx, [rbp - 0x40]
mov byte [rbp - 1], 0
call fcn.140035350
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400392f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x14013d781]
mov ecx, 0x5f0
mov edx, 8
call fcn.140024310
test rax, rax
mov qword [rbp - 8], r14
je 0x140039560
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.1400e5de0
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r13d, 1
lock xadd qword [0x14013d790], r13
mov r14, r13
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r15, [r14 + rdx]
xor rax, r15
add r14, r8
lea r15, [rax + r9]
mov r12, r14
xor r12, r10
rol rax, 0x15
rol r14, 0x20
xor r13, r15
xor r15, r11
xor r15, rax
add r13, r12
rol r12, 0xd
add r14, r15
xor r12, r13
rol r15, 0x10
xor r15, r14
rol r13, 0x20
add r14, r12
add r13, r15
rol r12, 0x11
xor r12, r14
rol r15, 0x15
rol r14, 0x20
xor r15, r13
xor r13, r11
xor r14, 0xff
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
xor r15, r14
add r14, r12
rol r12, 0x11
rol r15, 0x15
mov r13, r14
rol r13, 0x20
xor r13, r12
xor r13, r15
xor r13, r14
je 0x1400393b0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r13
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14003954c
test rdx, rdx
je 0x14003954c
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.140024320
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400f8e20
ud2
Function at 0x14003f660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x14003f730
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
movaps xmm11, xmmword [rdx]
movaps xmm12, xmmword [rdx + 0xc0]
movaps xmmword [rcx], xmm11
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movaps xmmword [rcx + 0xc0], xmm12
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x14003f840
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1400428b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1400428f3
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, r14
mov r8, r14
cmovb r8, rdi
mov rcx, qword [rcx]
mov rax, qword [rsi + 8]
call qword [rax + 0x18]
test rax, rax
je 0x1400428fc
mov eax, 1
jmp 0x1400429b0
xor eax, eax
xor edx, edx
jmp 0x1400429b0
sub r14, rdx
jb 0x1400429bf
mov qword [rsi + 0x10], r14
xor eax, eax
test rdi, rdi
je 0x1400429b0
test rdx, rdx
je 0x1400429b0
mov r8d, dword [rsi + 0x20]
mov ecx, dword [rsi + 0x18]
mov r9d, dword [rsi + 0x1c]
dec rdi
mov r10, rdx
dec r10
xor r11d, r11d
lea r14, [0x140101100]
nop dword [rax + rax]
mov r15d, r8d
or r15d, 3
mov ebp, r15d
and ebp, 0xfffffffe
imul ebp, r15d
shr ebp, 8
xor bpl, byte [rbx + r11]
mov r15d, ecx
xor r15b, bpl
shr ecx, 8
movzx r15d, r15b
xor ecx, dword [r14 + r15*4]
movzx r15d, cl
add r15d, r9d
imul r9d, r15d, 0x8088405
inc r9d
mov r15d, r9d
shr r15d, 0x18
movzx r12d, r8b
xor r12d, r15d
shr r8d, 8
xor r8d, dword [r14 + r12*4]
mov byte [rbx + r11], bpl
cmp r10, r11
je 0x1400429a5
lea r15, [r11 + 1]
cmp rdi, r11
mov r11, r15
jne 0x140042940
mov dword [rsi + 0x20], r8d
mov dword [rsi + 0x18], ecx
mov dword [rsi + 0x1c], r9d
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.number_of_read_bytes_exceeds_limit
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, [0x140101770]
lea rcx, [rsp + 0x20]
call fcn.1400f8f70
int3
Function at 0x140051060
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, 0x48
mov qword [rsp + 0x28], rcx
mov r15d, 0
test r8, r8
je 0x14005121a
mov r14, rdx
movzx r11d, byte [rsp + 0xc0]
mov rdx, qword [rsp + 0xb0]
mov rax, qword [r14]
mov qword [rsp + 0x38], rax
mov ebx, dword [r14 + 8]
mov edi, dword [r14 + 0xc]
mov ebp, 1
xor r15d, r15d
xor r13d, r13d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x30], r8
jmp 0x1400510e4
xor eax, eax
lea r10, [r13 + 1]
movzx eax, al
lea rbp, [rax + rbp*2]
mov ecx, r13d
shl eax, cl
xor r15d, eax
mov ebx, r12d
mov r13, r10
cmp r8, r10
je 0x14005121a
mov rax, qword [rsp + 0xb8]
lea rcx, [rax + rbp]
cmp rcx, rdx
jae 0x14005124b
mov r12d, ebx
shr r12d, 0xb
movzx eax, word [r9 + rcx*2]
imul r12d, eax
mov esi, edi
sub esi, r12d
jae 0x140051180
test r11b, r11b
je 0x14005112e
mov r10d, 0x800
sub r10d, eax
movzx r10d, r10w
shr r10d, 5
add r10d, eax
mov word [r9 + rcx*2], r10w
mov dword [r14 + 8], r12d
cmp r12d, 0x1000000
jae 0x1400510c0
shl r12d, 8
mov dword [r14 + 8], r12d
mov byte [rsp + 0x27], 0
mov r8d, 1
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x27]
call fcn.140043ec0
test rax, rax
jne 0x140051227
movzx ecx, byte [rsp + 0x27]
xor eax, eax
mov esi, edi
jmp 0x1400511da
test r11b, r11b
je 0x140051195
movzx r10d, ax
shr r10d, 5
sub eax, r10d
mov word [r9 + rcx*2], ax
mov dword [r14 + 0xc], esi
sub ebx, r12d
mov dword [r14 + 8], ebx
mov al, 1
cmp ebx, 0x1000000
jae 0x140051210
shl ebx, 8
mov dword [r14 + 8], ebx
mov byte [rsp + 0x26], 0
mov r8d, 1
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x26]
call fcn.140043ec0
test rax, rax
jne 0x140051227
movzx ecx, byte [rsp + 0x26]
mov al, 1
mov r12d, ebx
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xb0]
shl esi, 8
movzx edi, cl
or edi, esi
mov dword [r14 + 0xc], edi
mov r9, qword [rsp + 0x40]
movzx r11d, byte [rsp + 0xc0]
jmp 0x1400510c2
mov edi, esi
mov r12d, ebx
jmp 0x1400510c2
mov rax, qword [rsp + 0x28]
mov dword [rax + 4], r15d
xor ecx, ecx
jmp 0x140051238
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, rcx
mov ecx, 1
mov dword [rax], ecx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users15202.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8lzma_rs_0.3.0_srcdecode_rangecoder.rs
call fcn.1400f90a0
int3
Function at 0x140051260
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, 0x28
mov qword [rsp + 0x20], rcx
mov r14d, 0
test r8, r8
je 0x1400513ca
mov rdi, qword [rsp + 0x98]
mov r15, qword [rdx]
mov r13d, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
mov r12d, 1
xor r14d, r14d
xor ecx, ecx
jmp 0x1400512d4
xor r11d, r11d
lea r10, [rcx + 1]
movzx r11d, r11b
lea r12, [r11 + r12*2]
shl r11d, cl
xor r14d, r11d
mov r13d, esi
mov rcx, r10
cmp r8, r10
je 0x1400513ca
lea r11, [r12 + rdi]
cmp r11, qword [rsp + 0x90]
jae 0x140051409
mov esi, r13d
shr esi, 0xb
movzx r10d, word [r9 + r11*2]
imul esi, r10d
mov ebp, eax
sub ebp, esi
jae 0x140051350
cmp byte [rsp + 0xa0], 0
je 0x14005131b
mov ebx, 0x800
sub ebx, r10d
movzx ebx, bx
shr ebx, 5
add ebx, r10d
mov word [r9 + r11*2], bx
mov dword [rdx + 8], esi
cmp esi, 0x1000000
jae 0x1400512b0
shl esi, 8
mov dword [rdx + 8], esi
mov r10, qword [r15]
mov r11, qword [r10 + 8]
mov rbx, qword [r10 + 0x10]
cmp r11, rbx
jbe 0x1400513dd
xor r11d, r11d
jmp 0x14005139f
cmp byte [rsp + 0xa0], 0
je 0x140051369
movzx eax, r10w
shr eax, 5
sub r10d, eax
mov word [r9 + r11*2], r10w
mov dword [rdx + 0xc], ebp
sub r13d, esi
mov dword [rdx + 8], r13d
mov r11b, 1
cmp r13d, 0x1000000
jae 0x1400513c0
shl r13d, 8
mov dword [rdx + 8], r13d
mov r10, qword [r15]
mov rax, qword [r10 + 8]
mov rbx, qword [r10 + 0x10]
mov r11b, 1
cmp rax, rbx
jbe 0x1400513d7
mov eax, ebp
mov esi, r13d
mov r13, qword [r10]
movzx ebp, byte [r13 + rbx]
inc rbx
mov qword [r10 + 0x10], rbx
shl eax, 8
or eax, ebp
mov dword [rdx + 0xc], eax
jmp 0x1400512b3
mov eax, ebp
mov esi, r13d
jmp 0x1400512b3
mov rax, qword [rsp + 0x20]
mov dword [rax + 4], r14d
xor ecx, ecx
jmp 0x1400513f6
mov qword [r10 + 0x10], rax
jmp 0x1400513e1
mov qword [r10 + 0x10], r11
lea rcx, [0x140100f20]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], rcx
mov ecx, 1
mov dword [rax], ecx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users15202.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8lzma_rs_0.3.0_srcdecode_rangecoder.rs
mov rcx, r11
mov rdx, qword [rsp + 0x90]
call fcn.1400f90a0
int3
Function at 0x140051430
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, 0x28
mov qword [rsp + 0x20], rcx
mov r15d, 0
test r8, r8
je 0x14005158a
mov r14, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rdx]
mov esi, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
mov r12d, 1
xor r15d, r15d
xor ecx, ecx
jmp 0x1400514a3
xor r11d, r11d
lea r10, [rcx + 1]
movzx r11d, r11b
lea r12, [r11 + r12*2]
shl r11d, cl
xor r15d, r11d
mov esi, ebp
mov rcx, r10
cmp r8, r10
je 0x14005158a
lea r11, [r12 + r14]
cmp r11, rbx
jae 0x1400515c3
mov ebp, esi
shr ebp, 0xb
movzx r10d, word [r9 + r11*2]
imul ebp, r10d
mov r13d, eax
sub r13d, ebp
jae 0x140051510
cmp byte [rsp + 0xa0], 0
je 0x1400514e6
mov esi, 0x800
sub esi, r10d
movzx esi, si
shr esi, 5
add esi, r10d
mov word [r9 + r11*2], si
mov dword [rdx + 8], ebp
cmp ebp, 0x1000000
jae 0x140051480
shl ebp, 8
mov dword [rdx + 8], ebp
mov rbx, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
cmp rbx, r10
jbe 0x140051597
xor r11d, r11d
mov r13d, eax
jmp 0x140051555
cmp byte [rsp + 0xa0], 0
je 0x140051529
movzx eax, r10w
shr eax, 5
sub r10d, eax
mov word [r9 + r11*2], r10w
mov dword [rdx + 0xc], r13d
sub esi, ebp
mov dword [rdx + 8], esi
mov r11b, 1
cmp esi, 0x1000000
jae 0x140051580
shl esi, 8
mov dword [rdx + 8], esi
mov rbx, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
mov r11b, 1
mov ebp, esi
cmp rbx, r10
jbe 0x140051597
mov rax, qword [rdi]
movzx eax, byte [rax + r10]
inc r10
mov qword [rdi + 0x10], r10
shl r13d, 8
or r13d, eax
mov dword [rdx + 0xc], r13d
mov eax, r13d
mov rbx, qword [rsp + 0x90]
jmp 0x140051483
mov eax, r13d
mov ebp, esi
jmp 0x140051483
mov rax, qword [rsp + 0x20]
mov dword [rax + 4], r15d
xor ecx, ecx
jmp 0x1400515b0
mov qword [rdi + 0x10], rbx
lea rcx, [0x140100f20]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], rcx
mov ecx, 1
mov dword [rax], ecx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users15202.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8lzma_rs_0.3.0_srcdecode_rangecoder.rs
mov rcx, r11
mov rdx, rbx
call fcn.1400f90a0
int3