joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400194e0
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 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x1400196f7
mov qword [r11 + 0x18], rbp
lea rbp, [0x140000000]
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
nop
test rsi, rsi
je 0x14001953e
cmp r8, rsi
jae 0x1400196d4
movzx edx, byte [r8]
test dl, dl
je 0x1400196d4
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x248a18]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x140019572
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x14001958b
movzx r13d, byte [rax]
jmp 0x14001958e
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14001959d
movzx r12d, byte [rax]
jmp 0x1400195a0
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1400195af
movzx r15d, byte [rax]
jmp 0x1400195b2
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x248a38]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x248a68]
shr r11d, 2
shr ebp, cl
mov ecx, pe_nt_image_headers64
cmp ebp, dword [r10 + rax + 0x248a50]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0x248a80]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x1400196b6
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x140019530
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 rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x14001970d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140044e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14025dfb0]
mov rcx, qword [rax + 0x4cc8]
mov r10, qword [rax + 0x4008]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x168]
movss xmm4, dword [rcx + 0x168]
movss xmm3, dword [rcx + 0x16c]
movss xmm2, dword [rcx + 0x170]
movss xmm1, dword [rcx + 0x174]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2d8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x270], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2d8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2d8]
mov rcx, qword [rcx + 0x198]
add rsp, 0x38
jmp fcn.1400375d0

Function at 0x140044ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14025dfb0]
mov rcx, qword [rax + 0x4cc8]
mov r9, qword [rax + 0x4008]
movups xmm0, xmmword [r9 + 0x270]
movups xmmword [rcx + 0x168], xmm0
mov rax, qword [r9 + 0x2d8]
movups xmm0, xmmword [rcx + 0x148]
movss xmm4, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movss xmm2, dword [rcx + 0x150]
movss xmm1, dword [rcx + 0x154]
movups xmmword [r9 + 0x270], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2d8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x21e]
mov rcx, qword [rcx + 0x198]
mov rdx, qword [r9 + 0x2d8]
add rsp, 0x38
jmp fcn.1400375d0
Function at 0x14005f590
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x14005f5d0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x140261570]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x14005f60e
cmp rsi, r14
jb 0x14005f606
cmp rsi, r15
jae 0x14005f606
cmp qword [rsi + 8], 0
jne 0x14005f7d7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14005f5f1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x14005f6a2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14005f699
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14005f699
cmp dword [rsp + 0x70], 0x10000
je 0x14005f71b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x14005f699
sub rbx, rbp
cmp rbx, r14
jae 0x14005f660
test rsi, rsi
jne 0x14005f780
cmp rdi, r15
ja 0x14005f7bf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x14005f7bf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14005f7bf
cmp dword [rsp + 0x70], 0x10000
je 0x14005f751
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x14005f6d2
jmp 0x14005f7bf
test rbx, rbx
je 0x14005f699
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14005f780
cmp rbx, r14
jae 0x14005f640
jmp 0x14005f6a2
test rdi, rdi
je 0x14005f7bf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14005f780
cmp rdi, r15
jbe 0x14005f6b0
jmp 0x14005f7bf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x14005f790
mov rax, qword [0x140261570]
mov qword [rsi], rax
mov qword [0x140261570], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x140060030
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x14026156c]
mov ebx, edi
test ecx, ecx
je 0x14006016b
mov rax, qword [0x140261560]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x140060088
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x140060060
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x14006016b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1400603b0
mov r8d, dword [0x14026156c]
cmp ebx, r8d
jae 0x1400600f8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x140261560]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1400600f1
mov edx, esi
mov ecx, ebx
call fcn.1400602a0
mov edi, eax
test eax, eax
jne 0x1400600f8
mov r8d, dword [0x14026156c]
inc ebx
cmp ebx, r8d
jb 0x1400600c0
cmp qword [rsp + 0x20], 0
je 0x14006016b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140060157
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x140060148
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x140060120
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x14025e050]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400602a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x140261560]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140060304
mov eax, 0xa
jmp 0x140060397
test esi, esi
je 0x140060326
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x140060349
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x140060349
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x140060342
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x140060349
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400603b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400604da
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1400604d1
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1400604b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1400604b4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1400604b4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140060472
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x14025e050]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1400604d1
jmp 0x1400604a7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1400604a7
mov rcx, qword [0x14025e050]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1400604d1
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140060420
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x140060533
cmp dword [rbx + 0xc], esi
jbe 0x140060533
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x14006052c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.140060960
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1400604f0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008fde0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140060b10
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x140060b7f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x140060b68
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x140060b5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x140060b30
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x14025e050]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400610e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [0x14025e058]
xor ebx, ebx
mov dword [rbp - 0x70], 0x8b0048
mov dword [rbp - 0x6c], 0x5300c4
mov r11d, 0xffff
movq rax, xmm0
mov dword [rbp - 0x68], 0x560055
psrldq xmm0, 8
movzx edx, bx
movq r10, xmm0
mov dword [rbp - 0x64], 0x410057
add r10, rax
mov dword [rbp - 0x60], 0x410054
mov dword [rbp - 0x5c], 0x410055
mov dword [rbp - 0x58], 0x410056
mov dword [rbp - 0x54], 0x480057
mov dword [rbp - 0x50], 0xec0081
mov qword [rbp - 0x4c], 0xffffffffffffffff
mov dword [rbp - 0x44], 0x29000f
mov dword [rbp - 0x40], 0xffff0070
mov dword [rbp - 0x3c], 0x29000f
mov dword [rbp - 0x38], 0xffff0078
mov dword [rbp - 0x34], 0x8b0048
mov qword [rbp - 0x30], 0xffffffffffff0005
mov dword [rbp - 0x28], 0x48ffff
mov dword [rbp - 0x24], 0xc40033
mov dword [rbp - 0x20], 0x890048
mov dword [rbp - 0x1c], 0x240084
mov qword [rbp - 0x18], 0xffffffffffffffff
cmp rax, r10
je 0x140061203
mov r9, rax
nop word [rax + rax]
movzx ecx, dx
movzx r8d, word [rbp + rcx*2 - 0x70]
movzx ecx, byte [rax]
cmp r8w, cx
je 0x1400611f2
cmp r8w, r11w
je 0x1400611f2
inc rax
mov edx, ebx
mov r9, rax
jmp 0x1400611fe
inc dx
cmp dx, 0x30
je 0x140061227
inc rax
cmp rax, r10
jne 0x1400611d0
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14008fde0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rax, r9
jmp 0x140061205
Function at 0x14006cb60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14006cb94
cmp ecx, r10d
jge 0x14006cb82
mov rcx, rbx
call fcn.140066490
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14006cbce
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14006cbb0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14006cbfd
mov edx, dword [0x140260fc8]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14006cc2f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x14006cc19
xor dl, dl
jmp 0x14006cc22
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14006cc10
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14006cbd2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14006cca4
mov edx, dword [0x140260fc8]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14006ccbe
mov rcx, rbx
call fcn.140072050
test eax, eax
je 0x14006cc97
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400757e0
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
push rdi
mov eax, 0x13d0
call fcn.1400904c0
sub rsp, rax
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov ebx, edx
mov edi, ecx
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x34], eax
mov r9d, 1
mov dword [rsp + 0x13b4], 0xffffffff
nop dword [rax]
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x34], eax
inc r9
cmp r9, 0x270
jb 0x140075830
mov ebp, 0x80000000
mov dword [rsp + 0x30], 0x270
cmp edi, ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
lea eax, [rdi - 0x80000000]
lea esi, [rdi + rbp]
cmovae esi, eax
lea edi, [rbx + rbp]
cmp ebx, ebp
lea eax, [rbx - 0x80000000]
cmovae edi, eax
sub edi, esi
cmp edi, 0xffffffff
jne 0x14007589d
call fcn.1400750e0
mov ecx, eax
jmp 0x1400758d8
inc edi
mov ebx, edi
call fcn.1400750e0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jae 0x1400758d4
mov eax, edi
xor edx, edx
neg eax
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400758d4
nop
lea rcx, [rsp + 0x20]
call fcn.1400750e0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jb 0x1400758c0
shr rcx, 0x20
lea edx, [rsi + rcx]
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14008fde0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140077760
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
mov byte [rcx + 9], 1
lea r9, [rsp + 0x30]
mov byte [rcx + 0xc], 1
mov r8d, 0x40
movzx edx, byte [0x14025da90]
mov rcx, qword [0x14025da98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx r8d, byte [0x14025da90]
lea rcx, [0x14025daa0]
mov rdx, qword [0x14025da98]
call sub.VCRUNTIME140.dll_memcpy
movzx r8d, byte [0x14025da90]
lea rdx, [0x14025da50]
mov rcx, qword [0x14025da98]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x14025da98]
lea rcx, [0x14024fbe8]
sub rdx, qword [0x14025e058]
movzx r8d, byte [0x14025da90]
call fcn.14002dab0
movzx edx, byte [0x14025da90]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [0x14025da98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
add rsp, 0x28
ret

Function at 0x140077bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [0x14025e058]
xor ebx, ebx
mov dword [rbp - 0x80], 0x550040
mov r11d, 0xffff
mov dword [rbp - 0x7c], 0x560053
movq rax, xmm0
mov dword [rbp - 0x78], 0x410057
psrldq xmm0, 8
mov ecx, 0xf0
movq r10, xmm0
mov dword [rbp - 0x74], 0x410054
add r10, rax
mov dword [rbp - 0x70], 0x410055
mov dword [rbp - 0x6c], 0x410056
movzx edx, bx
mov dword [rbp - 0x68], 0x480057
mov dword [rbp - 0x64], 0xac008d
mov dword [rbp - 0x60], 0xffff0024
mov dword [rbp - 0x5c], r11d
mov dword [rbp - 0x58], 0x48ffff
mov dword [rbp - 0x54], 0xec0081
mov qword [rbp - 0x50], 0xffffffffffffffff
mov dword [rbp - 0x48], 0x8b0048
mov qword [rbp - 0x44], 0xffffffffffff0005
mov dword [rbp - 0x3c], 0x48ffff
mov dword [rbp - 0x38], 0xc40033
mov dword [rbp - 0x34], 0x890048
mov qword [rbp - 0x30], 0xffffffffffff0085
mov dword [rbp - 0x28], 0x45ffff
mov dword [rbp - 0x24], 0xe1008b
mov dword [rbp - 0x20], 0x8b004d
mov word [rbp - 0x1c], cx
cmp rax, r10
je 0x140077cf3
mov r9, rax
nop dword [rax]
movzx ecx, dx
movzx r8d, word [rbp + rcx*2 - 0x80]
movzx ecx, byte [rax]
cmp r8w, cx
je 0x140077ce2
cmp r8w, r11w
je 0x140077ce2
inc rax
mov edx, ebx
mov r9, rax
jmp 0x140077cee
inc dx
cmp dx, 0x33
je 0x140077d12
inc rax
cmp rax, r10
jne 0x140077cc0
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14008fde0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
mov rax, r9
jmp 0x140077cf5