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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 8], dl
test eax, eax
je 0x4b22dd
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
lea ebx, [ebx]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4b227e
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004b0a30
mov ebx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc ecx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov dword [ebp - 4], ecx
jmp 0x4b2281
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x4b2220
test ecx, ecx
je 0x4b22d1
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
push edi
movzx ebx, byte [eax]
lea edi, [eax + 1]
mov edx, edi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x10], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
mov esi, dword [esi]
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x18], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov byte [ebp - 8], dl
test eax, eax
je 0x4b2e74
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub edi, ecx
nop
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4b2e1f
push dword [ebp + 0x1c]
lea eax, [ebp - 0x18]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.004b1000
mov ebx, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 4]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [edi + ecx]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [ecx], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc ecx
mov dword [ebp + 0xc], ecx
test eax, eax
jne 0x4b2dc0
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
test eax, eax
je 0x4b2e74
mov eax, dword [ebp + 0x20]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp + 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b40b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 5], dl
test eax, eax
je 0x4b421f
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
lea ebx, [ebx]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4b41bc
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004b3680
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc ecx
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov dword [ebp - 4], ecx
jmp 0x4b41bf
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x4b4160
test ecx, ecx
je 0x4b4213
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4230
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
cmp eax, edi
mov byte [ebx], 0
cmovg eax, edi
test ecx, ecx
jg 0x4b4257
mov ecx, 0x400
jmp 0x4b4261
mov edx, 0x400
cmp ecx, edx
cmovg ecx, edx
mov dword [ebp + 0x14], ecx
test eax, eax
jle 0x4b4281
sub dword [ebp + 0x10], ebx
mov edx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov cl, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], cl
dec esi
jne 0x4b4272
mov ebx, dword [ebp + 8]
movzx edx, byte [ebx + eax - 1]
cmp eax, 0x80
jge 0x4b42af
mov esi, ebx
sub esi, eax
movzx ecx, byte [esi + eax]
add ecx, edx
and ecx, 0xff
movzx edx, byte [ecx + 0x54d1d8]
mov byte [eax + ebx], dl
inc eax
cmp eax, 0x80
jl 0x4b4291
mov eax, dword [ebp + 0x14]
mov edx, 0xff
lea ecx, [eax + 7]
neg eax
sar ecx, 3
and eax, 7
sub edi, ecx
mov dword [ebp + 0x14], ecx
mov ecx, eax
lea esi, [edi + ebx]
movzx eax, byte [esi]
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x54d1d8]
mov byte [esi], cl
test edi, edi
je 0x4b42f9
mov edx, dword [ebp + 0x14]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x54d1d8]
mov byte [esi], cl
dec edi
jne 0x4b42e3
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
jmp 0x4b4310
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
and ecx, 0xffff
mov dword [esi + 4], ecx
dec edi
jne 0x4b4310
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4b4d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 4], 0
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov byte [ebp - 8], dl
test eax, eax
je 0x4b4efb
mov edi, dword [ebp + 0xc]
sub dword [ebp + 8], edi
lea ebx, [ebx]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x4b4e9c
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.004b4a40
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov ecx, dword [ebp - 4]
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc ecx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov dword [ebp - 4], ecx
jmp 0x4b4e9f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + edi]
xor al, byte [ebp + esi - 0xc]
inc esi
mov byte [edi], al
and esi, 7
mov eax, dword [ebp + 0x10]
inc edi
test eax, eax
jne 0x4b4e40
test ecx, ecx
je 0x4b4eef
mov edi, dword [ebp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b4f10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b5a50

Function at 0x4b4f20
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b5c50
Function at 0x4b6590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
test edi, edi
je 0x4b65c8
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x4b65c8
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
jne 0x4b65b1
cmp esi, 0x10
jb 0x4b6644
mov edx, dword [ebp + 0x1c]
mov eax, ecx
sub eax, edx
xor edi, edi
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 4
mov dword [ebp - 0xc], edi
mov edi, ebx
mov dword [ebp - 4], eax
sub edi, edx
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp + 0x10], ecx
jmp 0x4b6603
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.004b67e0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, 4
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
dec edx
jne 0x4b6620
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
dec dword [ebp - 4]
jne 0x4b6600
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x4b6680
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.004b67e0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov edi, edi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec esi
jne 0x4b6670
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4b66d4
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x4b66d4
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
jne 0x4b66b7
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0xc]
bswap edx
mov dword [ebp - 4], edx
cmp esi, 0x10
jb 0x4b675c
mov edi, esi
shr edi, 4
add edx, edi
mov dword [ebp - 4], edx
cmp edx, edi
jae 0x4b66fc
sub edi, edx
xor edx, edx
mov dword [ebp - 4], edx
push eax
push dword [ebp + 0x14]
push edi
push ebx
push ecx
call dword [ebp + 0x24]
mov edx, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
mov eax, edx
bswap eax
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x4b673f
mov esi, dword [ebp + 0x18]
mov edx, 0xc
mov ecx, 1
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x4b6727
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
shl edi, 4
sub esi, edi
add ecx, edi
add ebx, edi
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], ecx
cmp esi, 0x10
jae 0x4b66e7
mov edi, dword [ebp - 0xc]
test esi, esi
je 0x4b67c7
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebp + 0x14]
push 1
push ecx
push ecx
movdqu xmmword [ecx], xmm0
call dword [ebp + 0x24]
mov eax, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
inc eax
bswap eax
mov dword [ecx + 0xc], eax
jne 0x4b67a8
mov esi, dword [ebp + 0x18]
mov edx, 0xc
mov ecx, 1
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x4b6793
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov edx, dword [ebp + 0x10]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
dec esi
jne 0x4b67b7
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x4b6848
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x4b6848
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 0xf
jne 0x4b6831
cmp edi, 0x10
jb 0x4b68c4
mov edx, dword [ebp + 0x18]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x4b687b
mov edx, dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x4b68b0
mov eax, dword [ebp + 0x18]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
mov edi, edi
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x4b68a0
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x4b6878
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x4b68f5
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
push eax
call dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x4b68e5
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x4b6d3c
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, esi
add eax, dword [ebx + 0x30]
adc ecx, dword [ebx + 0x34]
cmp ecx, 0x20000000
ja 0x4b6e00
jb 0x4b6d60
test eax, eax
jne 0x4b6e00
push edi
mov edi, dword [ebx + 0x16c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
test edi, edi
je 0x4b6da7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
je 0x4b6d8e
mov al, byte [ecx]
dec esi
xor byte [edi + ebx + 0x40], al
inc ecx
inc edi
mov dword [ebp - 4], ecx
and edi, 0xf
jne 0x4b6d77
jmp 0x4b6d92
test edi, edi
jne 0x4b6df1
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.004b7c20
mov eax, dword [ebp - 4]
add esp, 8
jmp 0x4b6dad
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0xfffffff0
mov dword [ebp - 8], ecx
je 0x4b6dd1
push ecx
push eax
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.004b7a60
mov eax, dword [ebp - 8]
add esp, 0x10
add dword [ebp - 4], eax
sub esi, eax
test esi, esi
je 0x4b6df1
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x4b6df1
lea edx, [ebx + 0x40]
mov ebx, dword [ebp - 4]
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x4b6de3
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x16c], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b7820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x4b78b9
mov eax, dword [ebp + 0xc]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x4b7a02
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edi
push ebx
cmp edi, 0x10
jb 0x4b7934
mov ebx, edx
mov dword [ebp + 0x10], edx
mov eax, edi
lea ecx, [esi + 0xf]
sub ebx, esi
shr eax, 4
mov dword [ebp - 4], eax
lea eax, [ebx + ecx]
cmp esi, eax
ja 0x4b7900
cmp ecx, edx
jb 0x4b7900
mov eax, esi
mov edx, 0x10
lea esp, [esp]
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x4b78f0
jmp 0x4b7910
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call fcn.004b7c20
mov edx, dword [ebp + 0x10]
lea ecx, [esi + 0xf]
add edx, 0x10
add esp, 8
add ebx, 0x10
mov dword [ebp + 0x10], edx
sub edi, 0x10
dec dword [ebp - 4]
jne 0x4b78d7
test edi, edi
je 0x4b79d9
xor ebx, ebx
test edi, edi
je 0x4b79cc
cmp edi, 0x20
jb 0x4b79b4
lea eax, [edx - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x4b795d
cmp ecx, edx
jae 0x4b79b4
mov eax, edi
mov ecx, edi
and eax, 0x1f
sub ecx, eax
mov eax, esi
mov dword [ebp + 0x10], ecx
mov ecx, edx
sub ecx, esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
jmp 0x4b7980
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax + esi - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edx + ebx + 0x10]
add ebx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jb 0x4b7980
mov esi, dword [ebp + 8]
cmp ebx, edi
jae 0x4b79cc
sub edx, esi
lea ecx, [ebx + esi]
sub edi, ebx
nop
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edi
jne 0x4b79c0
lea eax, [esi + 0x60]
push eax
push esi
call fcn.004b7c20
add esp, 8
mov eax, dword [ebp - 8]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call fcn.004b7c20
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
pop ebx
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret