joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x54], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov esi, ecx
push 0x40
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 0x50], edx
call fcn.00525340
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x48], ebx
mov ecx, dword [eax]
test ecx, ecx
jne 0x48e784
xor cl, cl
jmp 0x48e787
mov cl, byte [ecx + 8]
movzx edx, cl
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
test ecx, ecx
je 0x48e8da
push edi
nop dword [eax]
cmp ecx, edx
mov edi, ecx
mov ecx, dword [eax]
cmovae edi, edx
test ecx, ecx
je 0x48e8d4
push dword [eax + 4]
mov eax, dword [ecx + 0x10]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48e8d9
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
test ecx, ecx
je 0x48e8d4
push dword [ebp + 0xc]
push dword [ebp - 0x54]
push dword [eax + 4]
mov eax, dword [ecx + 0x14]
call eax
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x48e8d9
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
test ecx, ecx
je 0x48e8d4
push 4
lea edx, [ebp - 0x48]
push edx
push dword [eax + 4]
mov eax, dword [ecx + 0x14]
call eax
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x48e8d9
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
test ecx, ecx
je 0x48e8d4
lea edx, [ebp - 0x44]
push edx
push dword [eax + 4]
mov eax, dword [ecx + 0x18]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x48e8d9
xor ecx, ecx
test edi, edi
je 0x48e8bc
cmp edi, 0x40
jb 0x48e8ac
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x48e85b
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x48e8ac
mov eax, edi
and eax, 0xffffffc0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x24]
pxor xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
movups xmm1, xmmword [ebp + ecx - 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jb 0x48e860
cmp ecx, edi
jae 0x48e8bc
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x48e8b0
mov ecx, dword [ebp - 0x50]
inc byte [ebp - 0x45]
sub ecx, edi
mov dword [ebp - 0x50], ecx
je 0x48e8d9
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x58]
jmp 0x48e7a0
mov ebx, 0xffffaf00
pop edi
mov eax, 0x40
lea ecx, [ebp - 0x44]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x48e8e2
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x492e20
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 8], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
push edi
test esi, esi
je 0x492fbb
mov edi, dword [ebp + 0xc]
xor edx, edx
cmp eax, esi
jae 0x492e5e
nop dword [eax]
cmp byte [eax + edi], 0x20
jne 0x492e5c
inc eax
inc edx
cmp eax, esi
jb 0x492e50
cmp eax, esi
je 0x492ece
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jb 0x492e76
cmp byte [eax + edi], 0xd
jne 0x492e76
cmp byte [eax + edi + 1], 0xa
je 0x492ec2
mov cl, byte [eax + edi]
cmp cl, 0xa
je 0x492ec2
test edx, edx
jne 0x492f9e
cmp cl, 0x3d
jne 0x492e91
inc ebx
cmp ebx, 2
jmp 0x492e94
cmp cl, 0x7f
ja 0x492f9e
movzx ecx, cl
mov cl, byte [ecx + 0x577b80]
cmp cl, 0x7f
je 0x492f9e
cmp cl, 0x40
jae 0x492eb9
test ebx, ebx
jne 0x492f9e
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
jmp 0x492ec5
mov ecx, dword [ebp - 4]
inc eax
cmp eax, esi
jb 0x492e46
test ecx, ecx
je 0x492fbb
and ecx, 7
lea ecx, [ecx + ecx*2]
lea edx, [ecx*2 + 7]
mov ecx, dword [ebp - 4]
shr ecx, 3
shr edx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*2]
mov edx, dword [ebp - 8]
sub ecx, ebx
test edx, edx
je 0x492faa
cmp dword [ebp - 0xc], ecx
jb 0x492faa
xor ecx, ecx
mov dword [ebp - 4], 3
xor ebx, ebx
mov dword [ebp + 0x10], ecx
mov esi, edx
test eax, eax
je 0x492f8e
nop dword [eax]
mov cl, byte [edi]
cmp cl, 0xd
je 0x492f85
cmp cl, 0xa
je 0x492f85
cmp cl, 0x20
je 0x492f85
movzx ecx, cl
mov dl, byte [ecx + 0x577b80]
xor ecx, ecx
cmp dl, 0x40
sete cl
shl ebx, 6
sub dword [ebp - 4], ecx
movzx ecx, dl
mov edx, dword [ebp + 0x10]
and ecx, 0x3f
inc edx
or ebx, ecx
mov dword [ebp + 0x10], edx
cmp edx, 4
jne 0x492f85
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0x10], ecx
test edx, edx
je 0x492f70
mov ecx, ebx
shr ecx, 0x10
mov byte [esi], cl
inc esi
cmp edx, 1
jbe 0x492f7d
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
inc esi
cmp edx, 2
jbe 0x492f85
mov byte [esi], bl
inc esi
inc edi
sub eax, 1
jne 0x492f20
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
sub esi, edx
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x493f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x493f22
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x494067
mov ecx, dword [ebp + 0x14]
cmp eax, 1
mov eax, dword [ebp + 0x10]
jne 0x493fe5
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
mov dword [ebp - 4], edx
lea esi, [eax + 2]
add ecx, 0xfffffffe
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp + 8], eax
nop dword [eax + eax]
movzx eax, byte [esi - 2]
lea edi, [esi + ecx]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [ebp - 8]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, edi
push edi
call fcn.00493570
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0xc]
add edx, 8
sub dword [ebp + 8], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp - 4], edx
jne 0x493f60
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
lea esi, [ecx + 2]
mov dword [ebp + 8], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax]
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [ebp - 8]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.00493570
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + 1]
xor byte [esi - 1], al
movzx eax, byte [ecx + 2]
xor byte [esi], al
movzx eax, byte [ecx + 3]
xor byte [esi + 1], al
movzx eax, byte [ecx + 4]
xor byte [esi + 2], al
movzx eax, byte [ecx + 5]
xor byte [esi + 3], al
movzx eax, byte [ecx + 6]
xor byte [esi + 4], al
movzx eax, byte [ecx + 7]
xor byte [esi + 5], al
add esi, 8
sub dword [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jne 0x494000
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x495b62
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x495ca7
mov ecx, dword [ebp + 0x14]
cmp eax, 1
mov eax, dword [ebp + 0x10]
jne 0x495c25
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
mov dword [ebp - 4], edx
lea esi, [eax + 2]
add ecx, 0xfffffffe
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp + 8], eax
nop dword [eax + eax]
movzx eax, byte [esi - 2]
lea edi, [esi + ecx]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [ebp - 8]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, edi
push edi
call fcn.00494070
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0xc]
add edx, 8
sub dword [ebp + 8], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp - 4], edx
jne 0x495ba0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
lea esi, [ecx + 2]
mov dword [ebp + 8], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [ebp - 0xc], ecx
shr eax, 3
inc eax
mov dword [ebp - 4], eax
nop dword [eax]
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [ebp - 8]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.00494070
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + 1]
xor byte [esi - 1], al
movzx eax, byte [ecx + 2]
xor byte [esi], al
movzx eax, byte [ecx + 3]
xor byte [esi + 1], al
movzx eax, byte [ecx + 4]
xor byte [esi + 2], al
movzx eax, byte [ecx + 5]
xor byte [esi + 3], al
movzx eax, byte [ecx + 6]
xor byte [esi + 4], al
movzx eax, byte [ecx + 7]
xor byte [esi + 5], al
add esi, 8
sub dword [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jne 0x495c40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, edx
mov edx, dword [ebp + 0x1c]
push edi
push dword [ebp + 0x24]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x18]
push edx
push eax
push ecx
push esi
push dword [ebp + 0xc]
mov edx, 1
push edi
push ebx
call fcn.00495d80
add esp, 0x24
test eax, eax
jne 0x496d27
mov edi, dword [ebp + 0x24]
xor esi, esi
mov edx, dword [ebp + 0x20]
xor al, al
test edi, edi
je 0x496cd8
cmp edi, 8
jb 0x496cd8
mov esi, edi
xorps xmm4, xmm4
and esi, 0xfffffff8
xorps xmm3, xmm3
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
movd xmm2, dword [ecx + edx]
xorps xmm0, xmm0
movd xmm1, dword [ebp + ecx - 0x14]
lea ecx, [eax + 4]
punpcklbw xmm2, xmm0
add al, 8
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movzx ecx, cl
por xmm4, xmm2
movd xmm2, dword [ecx + edx]
movd xmm1, dword [ebp + ecx - 0x14]
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
movzx ecx, al
pxor xmm2, xmm1
por xmm3, xmm2
cmp ecx, esi
jb 0x496c60
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd esi, xmm3
movzx ecx, al
cmp ecx, edi
jae 0x496cf9
nop
movzx edx, byte [ecx + edx]
inc al
movzx ecx, byte [ebp + ecx - 0x14]
xor edx, ecx
movzx ecx, al
or esi, edx
mov edx, dword [ebp + 0x20]
cmp ecx, edi
jb 0x496ce0
test esi, esi
je 0x496d25
test ebx, ebx
je 0x496d0f
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x496d04
mov eax, 0xfffffff1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x497130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x5791cc]
mov ebx, ecx
push edi
test esi, esi
je 0x49716c
mov ecx, dword [ebp + 0xc]
mov edi, 0x5791cc
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
cmp dword [eax], edx
jne 0x497162
cmp dword [esi + 8], ecx
jne 0x497162
cmp dword [esi + 4], 1
je 0x497176
mov esi, dword [edi + 8]
add edi, 8
test esi, esi
jne 0x497150
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
pop ebp
ret
test esi, esi
je 0x49716c
cmp dword [esi + 0x18], 0x10
jne 0x49716c
test ebx, ebx
je 0x4971ab
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x497199
mov eax, dword [ebx]
push ecx
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
call eax
add esp, 4
mov eax, 0x40
mov ecx, ebx
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x4971a0
mov edx, esi
mov ecx, ebx
call fcn.0047c270
test eax, eax
jne 0x497171
test ebx, ebx
je 0x4971fb
mov eax, dword [ebx]
test eax, eax
je 0x4971fb
test byte [eax + 0x14], 2
mov ecx, dword [ebp + 0xc]
jne 0x4971d0
cmp dword [eax + 8], ecx
jne 0x4971fb
mov dword [ebx + 4], ecx
mov dword [ebx + 8], 1
mov eax, dword [eax + 0x1c]
push ecx
push dword [ebp + 8]
push dword [ebx + 0x3c]
mov eax, dword [eax + 0x18]
call eax
add esp, 0xc
test eax, eax
jne 0x497171
pop edi
pop esi
mov ecx, ebx
pop ebx
pop ebp
jmp fcn.00496d40
pop edi
pop esi
mov eax, 0xffff9f00
pop ebx
pop ebp
ret
Function at 0x497a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x28], edx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x140]
mov ecx, dword [ebx + 0x144]
mov esi, dword [ebx + 0x14c]
shld ecx, eax, 3
shl eax, 3
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x148]
shld esi, eax, 3
mov dword [ebp - 0x1c], ecx
shl eax, 3
mov dword [ebp - 0x20], eax
lea eax, [edi - 4]
mov dword [ebp - 0x18], esi
cmp eax, 0xc
ja 0x497bc1
push edi
lea eax, [ebx + 0x150]
push eax
push edx
call fcn.00524840
mov eax, dword [ebp - 0x24]
add esp, 0xc
or eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, dword [ebp - 0x20]
jne 0x497ac1
mov eax, edx
or eax, ecx
je 0x497bae
mov esi, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, esi
mov byte [ebp - 0x11], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov byte [ebp - 0xd], dl
mov byte [ebp - 0x10], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov edx, dword [ebp - 0x24]
shrd eax, esi, 8
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0xe], al
mov byte [ebp - 0xf], cl
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, esi
mov byte [ebp - 9], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov byte [ebp - 5], dl
mov byte [ebp - 8], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
shrd eax, esi, 8
mov byte [ebp - 7], cl
mov byte [ebp - 6], al
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [ebp + eax - 0x14]
xor byte [ebx + eax + 0x170], cl
movzx ecx, byte [ebp + eax - 0x13]
xor byte [ebx + eax + 0x171], cl
movzx ecx, byte [ebp + eax - 0x12]
mov dl, byte [ebp + eax - 0x11]
xor byte [ebx + eax + 0x172], cl
xor byte [ebx + eax + 0x173], dl
add eax, 4
cmp eax, 0x10
jb 0x497b50
lea esi, [ebx + 0x170]
mov ecx, ebx
push esi
mov edx, esi
call fcn.00497210
add esp, 4
xor ecx, ecx
test edi, edi
je 0x497bae
mov edx, dword [ebp - 0x28]
mov al, byte [esi + ecx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, edi
jb 0x497ba3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffec
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
Function at 0x497be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x24]
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov esi, edx
mov edx, dword [ebp + 0x20]
push ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
xor edx, edx
push ecx
mov ecx, ebx
call fcn.004973f0
add esp, 0x10
test eax, eax
jne 0x497d34
push edi
push dword [ebp - 0x18]
mov edx, esi
mov ecx, ebx
call fcn.004978a0
add esp, 8
test eax, eax
jne 0x497d34
push dword [ebp + 0x1c]
lea edx, [ebp - 0x14]
mov ecx, ebx
call fcn.00497a40
add esp, 4
test eax, eax
jne 0x497d34
mov ecx, dword [ebp + 0x1c]
xor ebx, ebx
test ecx, ecx
je 0x497d32
mov edx, dword [ebp + 0x18]
cmp ecx, 8
jb 0x497ce1
mov ebx, ecx
xorps xmm4, xmm4
and ebx, 0xfffffff8
xorps xmm3, xmm3
movd xmm2, dword [edx + eax]
xorps xmm0, xmm0
movd xmm1, dword [ebp + eax - 0x14]
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [ebp + eax - 0x10]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [edx + eax + 4]
add eax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp eax, ebx
jb 0x497c70
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ebx, xmm3
cmp eax, ecx
jae 0x497d09
lea ecx, [ebp - 0x14]
sub edx, ecx
mov dword [ebp + 0x18], edx
nop dword [eax]
lea ecx, [ebp - 0x14]
add ecx, eax
inc eax
movzx edx, byte [edx + ecx]
movzx ecx, byte [ecx]
xor edx, ecx
or ebx, edx
mov edx, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x1c]
jb 0x497cf0
test ebx, ebx
je 0x497d32
test esi, esi
je 0x497d1c
mov byte [edi], 0
lea edi, [edi + 1]
sub esi, 1
jne 0x497d11
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x498a40
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], esi
push edi
mov edi, dword [esi]
lea ecx, [esi + 8]
mov ebx, dword [esi + 4]
mov dword [ebp - 4], ecx
test edx, edx
je 0x498aa9
mov edx, dword [ebp + 0xc]
sub dword [ebp + 8], edx
mov esi, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
lea edx, [edx + 1]
mov cl, byte [ecx + edi]
movzx eax, cl
add eax, ebx
movzx ebx, al
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
mov byte [esi + edi], al
add al, cl
mov byte [esi + ebx], cl
mov ecx, esi
movzx eax, al
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp + 8]
xor al, byte [ecx + edx - 1]
mov ecx, esi
sub dword [ebp - 8], 1
mov byte [edx - 1], al
jne 0x498a66
mov esi, dword [ebp - 0xc]
mov dword [esi], edi
xor eax, eax
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 0x10], eax
mov edi, esi
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 4], ecx
xor eax, dword [edi]
lea edi, [edi + 4]
mov edx, eax
mov dword [ebp - 0xc], eax
mov ebx, eax
shr edx, 8
mov ecx, edx
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
mov eax, dword [esi + eax*4 + 0x48]
add eax, dword [esi + ecx*4 + 0x448]
movzx ecx, dl
mov edx, ebx
xor eax, dword [esi + ecx*4 + 0x848]
movzx ecx, bl
add eax, dword [esi + ecx*4 + 0xc48]
xor eax, dword [ebp - 4]
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
jne 0x49c183
mov ecx, dword [esi + 0x44]
xor ecx, edx
mov edx, dword [ebp - 0x10]
pop edi
mov dword [edx], ecx
mov ecx, dword [esi + 0x40]
xor ecx, eax
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x49c1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
movzx eax, byte [edi]
movzx esi, byte [edi + 1]
movzx ecx, byte [edi + 3]
shl eax, 8
or eax, esi
movzx esi, byte [edi + 2]
shl eax, 8
or eax, esi
movzx esi, byte [edi + 4]
shl esi, 8
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 5]
or esi, ecx
mov dword [ebp + 8], eax
movzx ecx, byte [edi + 6]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 7]
shl esi, 8
or esi, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
test edx, edx
jne 0x49c2b6
mov edi, dword [ebp - 0xc]
mov esi, ebx
mov dword [ebp - 4], 0x10
lea ecx, [esi + 0x44]
mov dword [ebp + 8], ecx
nop word [eax + eax]
xor eax, dword [ecx]
mov edx, eax
mov dword [ebp - 0xc], eax
mov ebx, eax
shr edx, 8
mov ecx, edx
shr ecx, 8
mov eax, ecx
movzx ecx, cl
shr eax, 8
mov eax, dword [esi + eax*4 + 0x48]
add eax, dword [esi + ecx*4 + 0x448]
movzx ecx, dl
xor eax, dword [esi + ecx*4 + 0x848]
movzx ecx, bl
add eax, dword [esi + ecx*4 + 0xc48]
mov ecx, dword [ebp + 8]
xor eax, edi
sub ecx, 4
mov edi, ebx
sub dword [ebp - 4], 1
mov dword [ebp + 8], ecx
jne 0x49c260
mov edx, dword [esi]
xor edx, ebx
mov ebx, dword [esi + 4]
xor ebx, eax
jmp 0x49c2cd
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea edx, [ebp + 8]
call fcn.0049c160
mov edx, dword [ebp + 8]
add esp, 4
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov eax, edx
shr eax, 0x18
pop edi
pop esi
mov byte [ecx], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edx
shr eax, 8
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 6], al
xor eax, eax
mov byte [ecx + 7], bl
mov byte [ecx + 3], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c310
Capabilities:
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
xor ecx, dword [edx + 4]
mov eax, ecx
xor ebx, dword [edx]
shr eax, 0x10
movzx eax, al
push esi
movzx esi, byte [eax + 0x57b580]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x57b6e0]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x57b1c0]
or esi, eax
movzx eax, cl
shl esi, 8
movzx eax, byte [eax + 0x57b480]
or esi, eax
mov eax, ebx
shr eax, 0x10
mov edx, esi
movzx eax, al
rol edx, 8
movzx ecx, byte [eax + 0x57b6e0]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x57b480]
shl eax, 8
or ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x57b580]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x57b1c0]
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
rol eax, 0x10
xor esi, eax
mov eax, esi
ror eax, 8
xor edx, eax
mov eax, edx
ror eax, 8
xor eax, dword [ecx]
xor eax, esi
xor dword [ecx + 4], edx
pop esi
mov dword [ecx], eax
pop ebx
pop ebp
ret