joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6c5cd3cd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x7ff6c5cd3eda
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x7ff6c5cd3d94
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x7ff6c5cd3d50
mov ecx, dword [r10]
jmp 0x7ff6c5cd3e77
cmp ecx, 0x4e0
jb 0x7ff6c5cd3e77
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x7ff6c5cd3db0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x7ff6c5cd3e00
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x7ff6c5cd3d30
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x7ff6c5cd3d20
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x7ff6c5cd3efa
cmp r8d, r14d
jne 0x7ff6c5cd3d00
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x7ff6c5cd4290
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
xorps xmm0, xmm0
mov rbx, rcx
movups xmmword [rax - 0x78], xmm0
mov dword [rax - 0x78], 0x70
xor ecx, ecx
mov dword [rax - 0x74], 0x40
cmp qword [rbx + 0x18], 0x10
mov qword [rax - 0x70], rcx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
lea rax, [0x7ff6c5da2294]
mov qword [rsp + 0x30], rax
mov rax, rbx
jb 0x7ff6c5cd42ea
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
test dl, dl
lea rax, [0x7ff6c5da2188]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov eax, 5
cmovne eax, ecx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], eax
call qword [sym.imp.shell32.dll_ShellExecuteExA]
mov rcx, rbx
test eax, eax
je 0x7ff6c5cd4338
call fcn.7ff6c5cd3910
mov eax, 1
add rsp, 0x90
pop rbx
ret
call fcn.7ff6c5cd3910
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x7ff6c5cd4570
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x90
xor eax, eax
xorps xmm0, xmm0
mov dword [rsp + 0x54], eax
xor r14d, r14d
cmp qword [rcx + 0x18], 0x10
movzx esi, r8b
movups xmmword [rsp + 0x60], xmm0
mov rbx, rdx
mov rdi, rcx
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x18], rax
lea rax, [0x7ff6c5da2294]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [r11 - 0x68], rax
mov rax, rcx
mov qword [r11 - 0x70], r14
jb 0x7ff6c5cd45dc
mov rax, qword [rcx]
cmp qword [rdx + 0x18], 0x10
mov qword [rsp + 0x38], rax
mov rax, rbx
jb 0x7ff6c5cd45ee
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
lea rax, [0x7ff6c5da2188]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x48], rax
movzx eax, r9b
xor eax, 1
mov qword [rsp + 0x88], r14
mov dword [rsp + 0x50], eax
call qword [sym.imp.shell32.dll_ShellExecuteExA]
mov ebp, eax
test eax, eax
je 0x7ff6c5cd464e
test sil, sil
je 0x7ff6c5cd4640
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x7ff6c5cd4684
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x7ff6c5cd467f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff6c5cd46f8
mov rcx, r8
call fcn.7ff6c5d5e4b0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x7ff6c5cd46c9
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x7ff6c5cd46c4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff6c5cd46f8
mov rcx, r8
call fcn.7ff6c5d5e4b0
lea r11, [rsp + 0x90]
mov qword [rbx + 0x10], r14
mov rsi, qword [r11 + 0x20]
mov eax, ebp
mov rbp, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x7ff6c5cd4700
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
lea r8, [0x7ff6c5da222c]
lea rcx, [rsp + 0x48]
call fcn.7ff6c5cd24e0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.kernel32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x7ff6c5cd485c
test byte [rsp + 0x70], 0x10
jne 0x7ff6c5cd483c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6c5cd47b1
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.7ff6c5cd55f0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x7ff6c5cd47f6
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rbx + 8], 0x20
jmp 0x7ff6c5cd4808
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.7ff6c5cd26c0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x7ff6c5cd483c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6c5cd4837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6c5cd4897
call fcn.7ff6c5d5e4b0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x7ff6c5cd4783
mov rcx, rsi
call qword [sym.imp.kernel32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x7ff6c5cd48a3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6c5cd489e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6c5cd489e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.7ff6c5d5e4b0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x7ff6c5cd48ec
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x7ff6c5cd48e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff6c5cd4916
mov rcx, r8
call fcn.7ff6c5d5e4b0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbx
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x7ff6c5cd5170
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x13f0
call fcn.7ff6c5d5e9b0
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea ecx, [rbx + 0x40]
call fcn.7ff6c5d5e474
mov rbp, rax
mov qword [rsp + 0x50], 0x34
mov qword [rsp + 0x58], 0x3f
movups xmm0, xmmword [0x7ff6c5da2238]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x7ff6c5da2248]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x7ff6c5da2258]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x7ff6c5da2268]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], bl
mov qword [rsp + 0x40], rax
call sub.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea edx, [rbx + 1]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x7ff6c5cd5200
mov dword [rsp + 0x60], 0x270
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
test rsi, rsi
je 0x7ff6c5cd52c5
movzx ebx, byte [rsp + 0x1420]
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x20
mov dword [rsp + 0x38], 0xffffffff
mov edx, 0x34
lea rcx, [rsp + 0x28]
call fcn.7ff6c5cd3cd0
movsxd rcx, eax
movzx r9d, byte [rcx + rbp]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x7ff6c5cd52ae
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x7ff6c5cd52a3
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff6c5cd52bf
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.7ff6c5cd2e60
sub rsi, 1
jne 0x7ff6c5cd5250
mov edx, 0x40
mov rcx, rbp
call fcn.7ff6c5d5e4b0
mov rax, rdi
mov rbx, qword [rsp + 0x1418]
add rsp, 0x13f0
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff6c5cd88b0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.7ff6c5cd8910
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x7ff6c5cd88c5
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.7ff6c5cd55f0
call fcn.7ff6c5cd8910
mov byte [rax + 8], 1
call fcn.7ff6c5cd8910
mov ecx, 0x1388
mov byte [rax + 9], 1
call qword [sym.imp.kernel32.dll_Sleep]
add rsp, 0x20
pop rbx
jmp fcn.7ff6c5cd53d0
Function at 0x7ff6c5cd9810
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff6c5cd98d9
cmp byte [rcx + 0x71], 0
je 0x7ff6c5cd98d9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff6c5cd98cc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff6c5cd9888
sub eax, 1
je 0x7ff6c5cd988c
cmp eax, 2
jne 0x7ff6c5cd98cc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x7ff6c5cd98ba
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff6c5cd98cc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x7ff6c5cdf280
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [0x7ff6c5e1ab58]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x1fb5], 0
jne 0x7ff6c5cdf2d9
cmp byte [rbx + 0x1fb6], 0
jne 0x7ff6c5cdf2d9
movsx r9d, word [rbx + 0x3096]
lea r8, [0x7ff6c5da2c78]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.7ff6c5ce3930
test sil, 1
je 0x7ff6c5cdf40a
jmp 0x7ff6c5cdf372
movss xmm1, dword [rbx + 0x1628]
lea r8, [0x7ff6c5da2c78]
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x7ff6c5da2e68]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x7ff6c5da2e60]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
or dword [rbx + 0x1d18], 1
mov qword [rbx + 0x1d30], rax
movss dword [rbx + 0x1d28], xmm0
mov dword [rbx + 0x1d1c], 1
movss dword [rbx + 0x1d2c], xmm1
movss xmm0, dword [rbx + 0x1684]
mov rax, qword [0x7ff6c5e1ab58]
mulss xmm0, dword [0x7ff6c5da2e14]
or dword [rax + 0x1d18], 0x40
movss dword [rax + 0x1d78], xmm0
movsx r9d, word [rbx + 0x3096]
call fcn.7ff6c5ce3930
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x7ff6c5cdf3c2
lea r11, [0x7ff6c5da2610]
cmp r9b, 0x23
jne 0x7ff6c5cdf3a5
cmp byte [r8], r9b
jne 0x7ff6c5cdf3a5
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x7ff6c5cdf392
not ecx
call fcn.7ff6c5ce26e0
test rax, rax
je 0x7ff6c5cdf40a
cmp byte [rax + 0x8e], 0
je 0x7ff6c5cdf40a
mov byte [rax + 0x95], 1
lea r8, [0x7ff6c5da2c78]
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x3096]
mov edx, 0x10
movsx r9d, word [rbx + 0x3096]
call fcn.7ff6c5ce3930
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.7ff6c5cdc9f0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff6c5ce2d10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x7ff6c5da2610]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x7ff6c5e1ab58]
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x7ff6c5ce2d92
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x7ff6c5ce2da1
mov byte [rax + 0x1cac], 1
mov rcx, qword [0x7ff6c5e1ab58]
cmp dword [rcx + 0x1c54], ebx
jne 0x7ff6c5ce2dc1
xor r9d, r9d
movsxd r8, edx
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.7ff6c5ce0e90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x7ff6c5ce3680
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x7ff6c5ce369b
mov qword [r8], 0
call fcn.7ff6c5ce37e0
mov rbx, rax
test rax, rax
jne 0x7ff6c5ce36b1
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.ucrtbase.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x7ff6c5ce37b9
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff6c5ce37b9
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x7ff6c5ce37b9
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff6c5ce37b9
cmp rdi, 0xffffffffffffffff
je 0x7ff6c5ce37b9
mov rax, qword [0x7ff6c5e1ab58]
test rax, rax
je 0x7ff6c5ce3732
inc dword [rax + 0x3b0]
mov rdx, qword [0x7ff6c5e1ab68]
lea rcx, [rdi + rbp]
call qword [0x7ff6c5dd7010]
mov rsi, rax
test rax, rax
je 0x7ff6c5ce37b9
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
cmp rax, rdi
je 0x7ff6c5ce3791
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov rax, qword [0x7ff6c5e1ab58]
test rax, rax
je 0x7ff6c5ce377f
dec dword [rax + 0x3b0]
mov rdx, qword [0x7ff6c5e1ab68]
mov rcx, rsi
call qword [0x7ff6c5dd7018]
jmp 0x7ff6c5ce37c2
test ebp, ebp
jle 0x7ff6c5ce37a3
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
test r14, r14
je 0x7ff6c5ce37b4
mov qword [r14], rdi
mov rax, rsi
jmp 0x7ff6c5ce37c4
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x7ff6c5ce3a40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x7ff6c5ce3a9d
lea rbx, [0x7ff6c5da2610]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x7ff6c5ce3a84
cmp r10, 2
jb 0x7ff6c5ce3a84
cmp byte [r9], r8b
jne 0x7ff6c5ce3a84
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x7ff6c5ce3a60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x7ff6c5ce3adf
lea rbx, [0x7ff6c5da2610]
cmp r8b, 0x23
jne 0x7ff6c5ce3ac3
cmp byte [r9], r8b
jne 0x7ff6c5ce3ac3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x7ff6c5ce3ab0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x7ff6c5ce3d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x7ff6c5cd0000]
mov r13, rax
test rbx, rbx
je 0x7ff6c5ce3d60
cmp rax, rbx
jae 0x7ff6c5ce3f0c
movzx r8d, byte [rax]
test r8b, r8b
je 0x7ff6c5ce3f0c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xd2b60]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x7ff6c5ce3d98
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x7ff6c5ce3db1
movzx r12d, byte [rcx]
jmp 0x7ff6c5ce3db4
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x7ff6c5ce3dc2
movzx ebp, byte [rcx]
jmp 0x7ff6c5ce3dc5
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x7ff6c5ce3dd3
movzx esi, byte [rcx]
jmp 0x7ff6c5ce3dd6
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xd2b80]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x7ff6c5cd0000]
mov ecx, dword [r9 + rcx + 0xd2bb0]
or r10d, r8d
shr r15d, cl
lea rcx, [0x7ff6c5cd0000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xd2b98]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x7ff6c5cd0000]
mov ecx, dword [r9 + rcx + 0xd2bc8]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x7ff6c5ce3ef6
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x7ff6c5ce3d48
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x7ff6c5ce3f0c
xor r10d, r10d
inc r14d
jmp 0x7ff6c5ce3d48
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x7ff6c5ce3f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x7ff6c5ce41a9
mov qword [r11 + 0x20], rsi
lea rsi, [0x7ff6c5cd0000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x7ff6c5ce3fe2
cmp r8, rbp
jae 0x7ff6c5ce4186
movzx edx, byte [r8]
test dl, dl
je 0x7ff6c5ce4186
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xd2b60]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x7ff6c5ce4018
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x7ff6c5ce4031
movzx r13d, byte [rax]
jmp 0x7ff6c5ce4034
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x7ff6c5ce4043
movzx r12d, byte [rax]
jmp 0x7ff6c5ce4046
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x7ff6c5ce4055
movzx r15d, byte [rax]
jmp 0x7ff6c5ce4058
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xd2b80]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x7ff6c5cd0000]
mov ecx, dword [r10 + rax + 0xd2bb0]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xd2b98]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
or r11d, eax
lea rax, [0x7ff6c5cd0000]
mov ecx, dword [r10 + rax + 0xd2bc8]
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x7ff6c5ce4163
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x7ff6c5ce416d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x7ff6c5ce4186
mov word [rdi], si
add rdi, 2
lea rsi, [0x7ff6c5cd0000]
cmp rdi, qword [rsp + 8]
jb 0x7ff6c5ce3fd0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x7ff6c5ce41bf
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret