joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004a9a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
mov r9, rcx
mov r11d, edx
movzx ecx, byte [rcx]
mov eax, 0x7fed7fed
mov r10d, 0xeeeeeeee
test cl, cl
je 0x14004aa0b
mov qword [rsp], rbx
lea rbx, [0x140000000]
nop word [rax + rax]
movzx edx, cl
lea r9, [r9 + 1]
lea ecx, [r10 + rax]
movzx r8d, byte [rdx + rbx + 0xd9570]
lea edx, [r8 + r11]
mov eax, dword [rbx + rdx*4 + 0xde2a0]
xor eax, ecx
imul ecx, r10d, 0x21
lea r10d, [rax + 3]
add ecx, r8d
add r10d, ecx
movzx ecx, byte [r9]
test cl, cl
jne 0x14004a9d0
mov rbx, qword [rsp]
add rsp, 8
ret

Function at 0x14004bae0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov rax, qword [rcx + 0x20]
mov r9, qword [rcx + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x60], rbp
mov ebp, dword [r9]
mov qword [rsp + 0x38], rdi
mov rdi, rcx
test dword [rax + 0x20], 0x10000
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
je 0x14004bc51
mov eax, dword [rcx + 0x34]
mov rdx, r9
mov ecx, ebp
mov qword [rsp + 0x58], rbx
shr ecx, 2
dec eax
and edx, 3
mov ebx, 0xeeeeeeee
test ecx, ecx
je 0x14004bc4c
mov qword [rsp + 0x40], rsi
lea rsi, [0x1400de2a0]
test rdx, rdx
jne 0x14004bb96
mov r10d, ecx
mov r8d, dword [r9]
lea r9, [r9 + 4]
movzx ecx, al
mov edx, eax
add ecx, 0x400
not edx
shl edx, 0x15
add ebx, dword [rsi + rcx*4]
lea ecx, [rbx + rax]
xor ecx, r8d
mov dword [r9 - 4], ecx
mov ecx, eax
shr ecx, 0xb
lea eax, [rdx + 0x11111111]
or eax, ecx
imul ecx, ebx, 0x21
lea ebx, [r8 + 3]
add ebx, ecx
sub r10, 1
jne 0x14004bb51
jmp 0x14004bc47
mov qword [rsp + 0x28], r14
lea r14, [r9 + 2]
mov qword [rsp + 0x20], r15
mov r15d, ecx
nop word [rax + rax]
movzx r11d, byte [r14 - 2]
movzx r10d, byte [r14 - 1]
movzx r8d, byte [r14 + 1]
movzx r9d, byte [r14]
lea r14, [r14 + 4]
movzx ecx, al
add ecx, 0x400
add ebx, dword [rsi + rcx*4]
lea edx, [rbx + rax]
imul ebx, ebx, 0x21
movzx ecx, dl
xor cl, r11b
mov byte [r14 - 6], cl
mov ecx, edx
shr ecx, 8
xor cl, r10b
mov byte [r14 - 5], cl
mov ecx, edx
shr edx, 0x18
xor dl, r8b
shr ecx, 0x10
mov byte [r14 - 3], dl
xor cl, r9b
mov edx, eax
mov byte [r14 - 4], cl
not edx
mov ecx, eax
shl edx, 0x15
shr ecx, 0xb
lea eax, [rdx + 0x11111111]
mov edx, r8d
shl edx, 8
or eax, ecx
or edx, r9d
shl edx, 8
or edx, r10d
shl edx, 8
or edx, r11d
add edx, 3
add ebx, edx
sub r15, 1
jne 0x14004bbb0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14004bc61
mov eax, dword [rax]
add qword [rsp + 0x50], rax
mov r8, qword [rdi + 0x50]
lea rdx, [rsp + 0x50]
mov rcx, qword [r12]
mov r9d, ebp
call fcn.140049750
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
test al, al
jne 0x14004bc94
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400523e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x140
call fcn.1400b1140
mov rcx, rbx
call fcn.14004af90
test rax, rax
je 0x1400525ff
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140051570
test al, al
je 0x1400525ff
mov eax, dword [rbp + 0xec]
test eax, eax
je 0x1400525fb
test al, 2
je 0x140052462
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140051eb0
jmp 0x140052604
test al, 1
je 0x1400525fb
lea rcx, [0x1400b5198]
mov qword [rsp + 0x468], rdi
call fcn.140059910
lea rcx, [rbp - 0x28]
mov dword [rsp + 0x54], 0
mov edi, eax
call fcn.14004afb0
test al, al
jne 0x1400524a7
mov rdi, qword [rsp + 0x468]
mov eax, 2
jmp 0x140052604
lea r8, [rbp + 0xf0]
mov rcx, rbx
lea rdx, [rbp - 0x50]
call fcn.140051110
test al, al
je 0x1400525ec
mov rcx, qword [str._____BEGIN_PUBLIC_KEY_____MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJJidwS_uILMBSO5DLGsBFknIXWWjQJe2kfdfEk3G_j66w4KkhZ1V61Rt4zLaMVCYpDun7FLwRjkMDSepO1q2DcCAwEAAQ_____END_PUBLIC_KEY_____]
mov rax, 0xffffffffffffffff
add rcx, 0x1a
mov dword [rsp + 0x50], 0x200
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400524e0
lea rdx, [rcx - 0x18]
add rdx, rax
cmp byte [rdx], 0x2d
jne 0x1400525ec
sub edx, ecx
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x140]
call fcn.140054c80
test eax, eax
jne 0x1400525ec
mov edx, dword [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.14005d750
test eax, eax
jne 0x1400525ec
movaps xmm0, xmmword [rbp - 0x20]
lea rcx, [rbp + 0x100]
movaps xmm1, xmmword [rbp - 0x10]
lea rdx, [rbp + 0x13f]
movaps xmmword [rbp + 0x100], xmm0
movaps xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x110], xmm1
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x130], xmm1
nop dword [rax + rax]
movzx eax, byte [rdx]
xor byte [rcx], al
movzx eax, byte [rcx]
xor byte [rdx], al
movzx eax, byte [rdx]
dec rdx
xor byte [rcx], al
inc rcx
cmp rcx, rdx
jb 0x140052570
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0xf0]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x100]
mov eax, 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
lea r9d, [rax + 0xf]
lea edx, [rax + 0x3f]
call fcn.14005e450
lea rcx, [rsp + 0x60]
call fcn.14005d6c0
mov eax, dword [rsp + 0x54]
mov rdi, qword [rsp + 0x468]
neg eax
sbb eax, eax
add eax, 3
jmp 0x140052604
mov rdi, qword [rsp + 0x468]
mov eax, 1
jmp 0x140052604
xor eax, eax
jmp 0x140052604
mov eax, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140094850
mov rbx, qword [rsp + 0x470]
add rsp, 0x450
pop rbp
ret
Function at 0x1400540b0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
jne 0x1400540f6
lea ecx, [rbx + 2]
call fcn.1400a2a10
mov rcx, rax
lea r8, str.md___NULL
lea rax, str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashes_sha1.c
mov r9d, 0xa7
lea rdx, str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
mov qword [rsp + 0x20], rax
call fcn.140005b40
lea ecx, [rbx + 0x16]
call fcn.1400a325c
xor eax, eax
mov dword [rbx + 8], 0x67452301
mov dword [rbx + 0x1c], eax
mov qword [rbx], rax
mov dword [rbx + 0xc], 0xefcdab89
mov dword [rbx + 0x10], 0x98badcfe
mov dword [rbx + 0x14], 0x10325476
mov dword [rbx + 0x18], 0xc3d2e1f0
add rsp, 0x30
pop rbx
ret
Function at 0x140054280
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rsi, str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashes_sha1.c
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400542d2
lea ecx, [rbx + 2]
call fcn.1400a2a10
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 0xc5
lea r8, str.md___NULL
lea rdx, str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
call fcn.140005b40
lea ecx, [rbx + 0x16]
call fcn.1400a325c
test rdi, rdi
jne 0x140054308
lea ecx, [rdi + 2]
call fcn.1400a2a10
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 0xc6
lea r8, str.out___NULL
lea rdx, str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
call fcn.140005b40
lea ecx, [rdi + 0x16]
call fcn.1400a325c
mov edx, dword [rbx + 0x1c]
cmp edx, 0x40
jb 0x140054325
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea ecx, [rdx*8]
add qword [rbx], rcx
mov byte [rdx + rbx + 0x20], 0x80
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x1c]
cmp eax, 0x38
jbe 0x140054375
cmp eax, 0x40
jae 0x140054360
nop dword [rax]
nop dword [rax + rax]
mov byte [rax + rbx + 0x20], 0
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x1c]
cmp eax, 0x40
jb 0x140054350
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.14005ea50
mov dword [rbx + 0x1c], 0
jmp 0x140054380
jae 0x140054391
nop word [rax + rax]
mov eax, dword [rbx + 0x1c]
mov byte [rax + rbx + 0x20], 0
inc dword [rbx + 0x1c]
cmp dword [rbx + 0x1c], 0x38
jb 0x140054380
movzx eax, byte [rbx + 7]
lea rdx, [rbx + 0x20]
mov byte [rbx + 0x58], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x59], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x5a], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x5b], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x5c], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x5d], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x5e], al
movzx eax, byte [rbx]
mov byte [rbx + 0x5f], al
call fcn.14005ea50
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov rsi, qword [rsp + 0x48]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov rbx, qword [rsp + 0x40]
mov byte [rdi + 0x13], al
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140054670
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
jne 0x1400546b6
lea ecx, [rbx + 2]
call fcn.1400a2a10
mov rcx, rax
lea r8, str.md___NULL
lea rax, str.e:ladik_appdir_stormlib_srclibtomcrypt_srchashesmd5.c
mov r9d, 0xeb
lea rdx, str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
mov qword [rsp + 0x20], rax
call fcn.140005b40
lea ecx, [rbx + 0x16]
call fcn.1400a325c
xor eax, eax
mov dword [rbx + 8], 0x67452301
mov qword [rbx], rax
mov dword [rbx + 0xc], 0xefcdab89
mov dword [rbx + 0x10], 0x98badcfe
mov qword [rbx + 0x14], 0x10325476
add rsp, 0x30
pop rbx
ret
Function at 0x140060f10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
lea r10d, [rdx - 0x21524111]
mov r14, r9
add r10d, dword [r8]
mov r15, r8
mov ebx, r10d
mov esi, r10d
add r10d, dword [r9]
mov rbp, rdx
mov rdi, rcx
cmp rdx, 0xc
jbe 0x14006103d
lea r11, [rdx - 0xd]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r11
mov r11, rdx
shr r11, 3
inc r11
imul rax, r11, 0xfffffffffffffff4
add rbp, rax
movzx eax, byte [rdi + 6]
movzx ecx, byte [rdi + 7]
movzx r8d, byte [rdi + 4]
movzx edx, byte [rdi + 8]
add r8d, ebx
shl ecx, 8
add edx, r10d
add ecx, eax
movzx eax, byte [rdi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdi + 0xa]
shl ecx, 8
add r8d, ecx
movzx ecx, byte [rdi + 0xb]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdi + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdi + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [rdi + 3]
shl ecx, 8
mov r9d, edx
add ecx, eax
rol r9d, 4
movzx eax, byte [rdi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdi]
shl ecx, 8
add rdi, 0xc
add ecx, eax
sub ecx, edx
add edx, r8d
add ecx, esi
xor r9d, ecx
sub r8d, r9d
mov eax, r9d
rol eax, 6
add r9d, edx
xor eax, r8d
sub edx, eax
mov ecx, eax
rol ecx, 8
add eax, r9d
xor ecx, edx
sub r9d, ecx
mov esi, ecx
add ecx, eax
rol esi, 0x10
xor esi, r9d
sub eax, esi
mov ebx, esi
ror ebx, 0xd
add esi, ecx
xor ebx, eax
sub ecx, ebx
mov r10d, ebx
rol r10d, 4
add ebx, esi
xor r10d, ecx
sub r11, 1
jne 0x140060f73
cmp rbp, 0xc
ja 0x1400610b6
lea rcx, [0x140000000]
mov eax, dword [rcx + rbp*4 + 0x61124]
add rax, rcx
jmp rax
movzx eax, byte [rdi + 0xb]
shl eax, 0x18
add r10d, eax
movzx eax, byte [rdi + 0xa]
shl eax, 0x10
add r10d, eax
movzx eax, byte [rdi + 9]
shl eax, 8
add r10d, eax
movzx eax, byte [rdi + 8]
add r10d, eax
movzx eax, byte [rdi + 7]
shl eax, 0x18
add ebx, eax
movzx eax, byte [rdi + 6]
shl eax, 0x10
add ebx, eax
movzx eax, byte [rdi + 5]
shl eax, 8
add ebx, eax
movzx eax, byte [rdi + 4]
add ebx, eax
movzx eax, byte [rdi + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [rdi + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [rdi + 1]
shl eax, 8
add esi, eax
movzx eax, byte [rdi]
add esi, eax
xor r10d, ebx
mov eax, ebx
rol eax, 0xe
sub r10d, eax
mov eax, r10d
mov edx, r10d
rol eax, 0xb
xor edx, esi
sub edx, eax
xor ebx, edx
mov eax, edx
ror eax, 7
sub ebx, eax
xor r10d, ebx
mov eax, ebx
rol eax, 0x10
sub r10d, eax
mov eax, r10d
mov ecx, r10d
rol eax, 4
xor ecx, edx
sub ecx, eax
xor ebx, ecx
mov eax, ecx
rol eax, 0xe
sub ebx, eax
mov eax, ebx
xor r10d, ebx
ror eax, 8
sub r10d, eax
mov dword [r15], r10d
mov dword [r14], ebx
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x140065cf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor ebx, ebx
lea rdi, [rcx + 0x33e1c]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx + 0x344c6]
lea rdi, [rdi + 4]
shr rax, 4
mov r9d, ebx
and r9d, 1
mov r11d, ebx
mov edx, r9d
shr r11d, 1
neg edx
or r9d, 2
sar rdx, 4
mov r8d, r11d
and edx, 0x7f
shr r11d, 1
xor rdx, rax
and r8d, 1
mov eax, r8d
inc ebx
neg eax
sar rax, 4
mov r10d, dword [rcx + rdx*4 + 0x3276c]
and eax, 0x7f
movzx edx, word [rcx + r9*2 + 0x344c4]
add r9d, r9d
shr rdx, 4
or r9d, r8d
xor rdx, rax
mov r8d, r11d
and r8d, 1
shr r11d, 1
mov eax, r8d
and r11d, 1
neg eax
add r10d, dword [rcx + rdx*4 + 0x3276c]
movzx edx, word [rcx + r9*2 + 0x344c4]
sar rax, 4
and eax, 0x7f
shr rdx, 4
xor rdx, rax
lea eax, [r9 + r9]
or eax, r8d
add r10d, dword [rcx + rdx*4 + 0x3276c]
movzx edx, word [rcx + rax*2 + 0x344c4]
mov eax, r11d
shr rdx, 4
neg eax
sar rax, 4
and eax, 0x7f
xor rdx, rax
mov edx, dword [rcx + rdx*4 + 0x3276c]
add edx, r10d
mov dword [rdi - 4], edx
cmp ebx, 0x10
jb 0x140065d10
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [rcx + 0x33e5c], 0
ret
Function at 0x1400686c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r11, qword [rsp + 0x48]
mov ebp, r8d
movzx r10d, word [rcx]
mov r13, r9
movzx r8d, word [rcx + 2]
mov eax, r10d
shr rax, 4
xor r10, 0x7f0
shr r10, 4
mov r15d, edx
mov rbx, rcx
mov rsi, r13
mov r14d, dword [r11 + rax*4]
mov eax, r8d
shr rax, 4
xor r8, 0x7f0
shr r8, 4
mov r12d, dword [r11 + rax*4]
mov eax, dword [r11 + r8*4]
add eax, dword [r11 + r10*4]
add r12d, dword [r11 + r10*4]
mov dword [rsp + 0x48], eax
xor r9d, r9d
nop dword [rax + rax]
cmp r9d, ebp
jae 0x140068880
xor r10d, r10d
lea edi, [r15*8]
mov r8d, r9d
or r8d, 8
nop dword [rax + rax]
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr rax, 1
neg ecx
shr r8d, 1
sar rcx, 4
add rax, rdi
and ecx, 0x7f
movzx edx, word [rbx + rax*2 + 4]
shr rdx, 4
xor rdx, rcx
add r10d, dword [r11 + rdx*4]
cmp r8d, 1
jne 0x140068760
lea eax, [r10 + r14]
inc r9d
mov dword [rsi], eax
add rsi, 4
cmp r9d, 8
jb 0x140068740
cmp r9d, 0x10
jae 0x140068817
lea rsi, [r9*4]
add rsi, r13
cmp r9d, ebp
jae 0x140068880
xor r10d, r10d
lea r8d, [r9 - 8]
or r8d, 8
nop dword [rax]
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr rax, 1
neg ecx
shr r8d, 1
sar rcx, 4
add rax, rdi
and ecx, 0x7f
movzx edx, word [rbx + rax*2 + 0x104]
shr rdx, 4
xor rdx, rcx
add r10d, dword [r11 + rdx*4]
cmp r8d, 1
jne 0x1400687d0
lea eax, [r10 + r12]
inc r9d
mov dword [rsi], eax
add rsi, 4
cmp r9d, 0x10
jb 0x1400687b5
cmp r9d, ebp
jae 0x140068880
mov esi, dword [rsp + 0x48]
lea rdi, [r9*4]
add rdi, r13
nop dword [rax + rax]
xor r10d, r10d
lea eax, [r9 - 0x10]
bts eax, 8
nop dword [rax + rax]
mov edx, eax
mov ecx, eax
and edx, 1
shr rcx, 1
neg edx
shr eax, 1
sar rdx, 4
and edx, 0x7f
movzx r8d, word [rbx + rcx*2 + 0x204]
shr r8, 4
xor r8, rdx
add r10d, dword [r11 + r8*4]
cmp eax, 1
jne 0x140068840
lea eax, [r10 + rsi]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, ebp
jb 0x140068830
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret

Function at 0x1400689d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
mov rbx, rcx
bts edx, 8
nop
mov ecx, edx
mov eax, edx
shr ecx, 7
add edx, edx
and ecx, 1
shr rax, 8
neg ecx
sar rcx, 4
and ecx, 0x7f
movzx r10d, word [rbx + rax*2]
shr r10, 4
xor r10, rcx
add r11d, dword [r8 + r10*4]
cmp edx, 0x10000
jb 0x1400689e0
mov rbx, qword [rsp + 8]
mov eax, r11d
ret

Function at 0x140068a20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor ebx, ebx
mov r10d, 0x100
or edx, r10d
mov r11d, r8d
mov rdi, rcx
nop dword [rax + rax]
add r11d, r11d
mov r8d, edx
shr r8d, 8
mov ecx, edx
shr ecx, 7
mov eax, r10d
and ecx, 1
and eax, r11d
neg ecx
add eax, r10d
sar rcx, 4
add r8d, eax
and ecx, 0x7f
add edx, edx
movzx r8d, word [rdi + r8*2]
shr r8, 4
xor r8, rcx
mov ecx, edx
xor ecx, r11d
not ecx
and r10d, ecx
add ebx, dword [r9 + r8*4]
cmp edx, 0x10000
jb 0x140068a40
mov rdi, qword [rsp + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 8]
ret
Function at 0x14006e310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r14
sub rsp, 0x20
mov esi, dword [rcx + 0x44]
mov rbx, rcx
mov r9d, dword [rcx + 0x9c]
xor r12d, r12d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
nop dword [rax]
mov edx, dword [rbx + 0x94]
mov ebp, dword [rbx + 0x58]
mov ecx, dword [rbx + 0x44]
sub ebp, edx
add ecx, 0xfffffefa
sub ebp, r9d
add ecx, esi
cmp edx, ecx
jb 0x14006e3e0
mov rcx, qword [rbx + 0x50]
mov r8, rsi
lea rdx, [rcx + rsi]
call fcn.1400b1500
mov r8d, dword [rbx + 0x74]
mov rax, qword [rbx + 0x68]
sub dword [rbx + 0x98], esi
sub dword [rbx + 0x94], esi
sub dword [rbx + 0x84], esi
lea rdx, [rax + r8*2]
nop
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, si
cmp ecx, esi
cmovb ax, r12w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x14006e390
mov rax, qword [rbx + 0x60]
mov r8d, esi
lea rdx, [rax + rsi*2]
nop dword [rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, si
cmp ecx, esi
cmovb ax, r12w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x14006e3c0
add ebp, esi
mov r14, qword [rbx]
mov ecx, dword [r14 + 8]
test ecx, ecx
je 0x14006e52b
mov edx, dword [rbx + 0x9c]
mov r15d, dword [rbx + 0x94]
add r15, rdx
add r15, qword [rbx + 0x50]
cmp ecx, ebp
cmovbe ebp, ecx
test ebp, ebp
jne 0x14006e411
mov ebp, r12d
jmp 0x14006e469
mov rax, qword [r14 + 0x28]
sub ecx, ebp
mov dword [r14 + 8], ecx
mov ecx, dword [rax + 0x2c]
cmp ecx, 1
jne 0x14006e434
mov rdx, qword [r14]
mov r8d, ebp
mov ecx, dword [r14 + 0x4c]
call fcn.1400537a0
jmp 0x14006e448
cmp ecx, 2
jne 0x14006e44c
mov rdx, qword [r14]
mov r8d, ebp
mov ecx, dword [r14 + 0x4c]
call fcn.140071bc0
mov dword [r14 + 0x4c], eax
mov rdx, qword [r14]
mov rcx, r15
mov r8d, ebp
mov edi, ebp
call fcn.1400b1500
add qword [r14], rdi
add dword [r14 + 0xc], ebp
mov edx, dword [rbx + 0x9c]
lea r9d, [rdx + rbp]
mov dword [rbx + 0x9c], r9d
cmp r9d, 3
jb 0x14006e4a7
mov eax, dword [rbx + 0x94]
mov rdx, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x7c]
mov dword [rbx + 0x70], r8d
cmp r9d, 0x106
jae 0x14006e4bd
mov rax, qword [rbx]
cmp dword [rax + 8], r12d
jne 0x14006e340
mov ecx, dword [rbx + 0x1718]
mov edi, dword [rbx + 0x58]
cmp ecx, edi
jae 0x14006e52b
mov esi, dword [rbx + 0x94]
add esi, r9d
cmp ecx, esi
jae 0x14006e4fe
sub edi, esi
mov ecx, esi
mov eax, 0x102
cmp edi, eax
cmova edi, eax
add rcx, qword [rbx + 0x50]
mov r8d, edi
xor edx, edx
call fcn.1400b1140
lea eax, [rdi + rsi]
mov dword [rbx + 0x1718], eax
jmp 0x14006e52b
lea eax, [rsi + 0x102]
cmp ecx, eax
jae 0x14006e52b
sub edi, ecx
sub esi, ecx
lea eax, [rsi + 0x102]
cmp eax, edi
cmovbe edi, eax
add rcx, qword [rbx + 0x50]
mov r8d, edi
xor edx, edx
call fcn.1400b1140
add dword [rbx + 0x1718], edi
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rsi
ret
Function at 0x1400709c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov eax, dword [rcx + 0x60]
movzx r9d, byte [rcx + 0x5c]
test eax, eax
jle 0x140070a18
mov r8d, dword [rcx + 0x288]
mov r10d, eax
mov qword [rsp], rbx
lea rbx, [0x1400dadb0]
movzx r11d, r9b
nop dword [rax]
mov edx, r8d
mov eax, r8d
shr rdx, 0x18
xor rdx, r11
shl eax, 8
mov r8d, dword [rbx + rdx*4]
xor r8d, eax
mov dword [rcx + 0x288], r8d
sub r10, 1
jne 0x1400709f0
mov rbx, qword [rsp]
mov eax, dword [rcx + 0x5c]
mov byte [rax + rcx + 0x80], 1
movsxd r8, dword [rcx + 0x60]
mov edx, r8d
sub edx, 1
je 0x140070af8
sub edx, 1
je 0x140070aea
cmp edx, 1
je 0x140070ab0
mov byte [r8 + rcx + 0x7c], 1
mov rax, qword [rcx + 0x40]
movsxd rdx, dword [rcx + 0x6c]
mov byte [rdx + rax], r9b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r9b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r9b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r9b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
movzx r8d, byte [rcx + 0x60]
mov rax, qword [rcx + 0x40]
sub r8b, 4
mov byte [rdx + rax + 1], r8b
inc dword [rcx + 0x6c]
add rsp, 8
ret
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r9b
movsxd rdx, dword [rcx + 0x6c]
lea eax, [rdx + 1]
mov dword [rcx + 0x6c], eax
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax + 1], r9b
inc dword [rcx + 0x6c]
add rsp, 8
ret
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
jmp 0x140070acf
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
add rsp, 8
ret
Function at 0x14007f4a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov qword [rcx + 0x60], 4
mov qword [rcx + 0x40], rax
lea r8, [rcx + 0x8c]
mov qword [rcx + 0x28], rax
mov dword [rcx + 0x3c], 0x20
mov qword [rcx + 0x70], 1
nop dword [rax + rax]
mov edx, eax
lea r8, [r8 + 4]
and edx, 1
mov ecx, eax
shr ecx, 1
neg edx
and edx, 0xedb88320
inc eax
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [r8 - 4], ecx
cmp eax, 0x100
jb 0x14007f4d0
ret