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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x41f4d6
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x41f62c
mov ecx, dword [ebp + 0x14]
cmp eax, 1
mov eax, dword [ebp + 0x10]
jne 0x41f59e
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
mov dword [esp + 0x10], edx
lea esi, [eax + 2]
add ecx, 0xfffffffe
mov eax, dword [ebp + 8]
dec eax
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
nop
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 [esp + 0x18]
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.0041eb20
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x1c]
add edx, 8
sub dword [esp + 0x14], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [esp + 0x10], edx
jne 0x41f510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
lea esi, [ecx + 2]
mov dword [esp + 0x14], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x10], eax
nop dword [eax]
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [esp + 0x18]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.0041eb20
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [esp + 0x14]
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 [esp + 0x10], 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x41f5c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 8]
push esi
push edi
test dl, 7
je 0x421146
mov eax, 0xffffffce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x42129c
mov ecx, dword [ebp + 0x14]
cmp eax, 1
mov eax, dword [ebp + 0x10]
jne 0x42120e
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
mov dword [esp + 0x10], edx
lea esi, [eax + 2]
add ecx, 0xfffffffe
mov eax, dword [ebp + 8]
dec eax
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
nop
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 [esp + 0x18]
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.0041f650
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x1c]
add edx, 8
sub dword [esp + 0x14], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [esp + 0x10], edx
jne 0x421180
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
lea esi, [ecx + 2]
mov dword [esp + 0x14], esi
lea ecx, [eax - 2]
lea eax, [edx - 1]
mov dword [esp + 0x1c], ecx
shr eax, 3
inc eax
mov dword [esp + 0x10], eax
nop dword [eax]
mov edi, dword [ecx + esi]
lea edx, [ecx + esi]
mov ecx, dword [esp + 0x18]
add esi, 0xfffffffe
mov ebx, dword [edx + 4]
push esi
call fcn.0041f650
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [ecx]
xor byte [esi], al
mov esi, dword [esp + 0x14]
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 [esp + 0x10], 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x421230
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421310
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret
Function at 0x421f60
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 0x421fc9
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 0x421f86
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 0x4240f0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edx, edx
push ebx
mov ecx, 0x367cd507
mov dword [ebp - 0xc], 0xc1059ed8
mov dword [eax], 0
mov ebx, 0x1f83d9ab
mov dword [eax + 4], 0
mov edx, 0x5be0cd19
mov eax, 0xbb67ae85
cmovne eax, ecx
mov ecx, 0x3070dd17
mov dword [ebp - 0x10], eax
mov eax, 0x3c6ef372
cmovne eax, ecx
mov ecx, 0xa54ff53a
mov dword [ebp - 0x14], eax
mov eax, 0x64f98fa7
cmovne ebx, eax
mov eax, 0x68581511
push esi
push edi
mov edi, 0x9b05688c
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
cmovne edi, eax
mov eax, 0xffc00b31
mov esi, 0x510e527f
cmovne esi, eax
test ebx, ebx
mov ebx, dword [ebp - 4]
mov eax, 0xbefa4fa4
cmovne edx, eax
mov eax, 0xf70e5939
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], eax
mov eax, ebx
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebx
pop edi
mov dword [eax + 0x24], edx
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x445654]
mov ebx, ecx
push edi
test esi, esi
je 0x42825c
mov ecx, dword [ebp + 0xc]
mov edi, 0x445654
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
cmp dword [eax], edx
jne 0x428252
cmp dword [esi + 8], ecx
jne 0x428252
cmp dword [esi + 4], 1
je 0x428266
mov esi, dword [edi + 8]
add edi, 8
test esi, esi
jne 0x428240
mov eax, 0xffffffec
pop edi
pop esi
pop ebx
pop ebp
ret
test esi, esi
je 0x42825c
cmp dword [esi + 0x18], 0x10
jne 0x42825c
test ebx, ebx
je 0x428298
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x428289
mov eax, dword [ebx]
push ecx
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x2c]
call eax
add esp, 4
mov eax, dword [sub.ntdll.dll_memset]
push 0x40
push 0
push ebx
call eax
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.00422170
test eax, eax
jne 0x428261
mov eax, dword [ebx]
test eax, eax
jne 0x4282b5
pop edi
pop esi
mov eax, 0xffff9f00
pop ebx
pop ebp
ret
test byte [eax + 0x14], 2
mov ecx, dword [ebp + 0xc]
jne 0x4282c3
cmp dword [eax + 8], ecx
jne 0x4282ab
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 + 0x20]
call eax
add esp, 0xc
test eax, eax
jne 0x428261
pop edi
pop esi
mov ecx, ebx
pop ebx
pop ebp
jmp fcn.00427fe0
Function at 0x4284e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push esi
mov esi, ecx
mov dword [ebp - 8], esi
test ebx, ebx
je 0x428699
lea eax, [esi + 0x170]
xorps xmm0, xmm0
mov dword [ebp - 0xc], eax
movups xmmword [esi + 0x160], xmm0
push edi
lea edi, [esi + 0x160]
movups xmmword [esi + 0x170], xmm0
mov dword [esi + 0x180], edx
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
cmp ebx, 0xc
jne 0x428570
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov byte [esi + 0x16f], 1
jmp 0x428628
lea ecx, [ebx*8]
mov eax, ecx
shr eax, 0x18
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x13], al
mov al, bl
shl al, 3
shr ecx, 8
mov byte [ebp - 0x11], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0x12], cl
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4285e1
mov esi, 0x10
cmp ebx, esi
cmovb esi, ebx
xor ecx, ecx
test esi, esi
je 0x4285c4
mov ebx, dword [ebp - 4]
mov al, byte [ecx + ebx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x4285b6
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, edi
push edi
call fcn.00428300
add dword [ebp - 4], esi
sub ebx, esi
add esp, 4
mov dword [ebp + 0xc], ebx
test ebx, ebx
jne 0x4285a3
mov esi, dword [ebp - 8]
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x20]
xor byte [esi + ecx + 0x160], al
movzx eax, byte [ebp + ecx - 0x1f]
xor byte [esi + ecx + 0x161], al
movzx eax, byte [ebp + ecx - 0x1e]
xor byte [esi + ecx + 0x162], al
movzx eax, byte [ebp + ecx - 0x1d]
xor byte [esi + ecx + 0x163], al
add ecx, 4
cmp ecx, 0x10
jb 0x4285e3
push edi
mov edx, edi
mov ecx, esi
call fcn.00428300
add esp, 4
lea eax, [ebp - 0x10]
mov edx, edi
push eax
lea eax, [esi + 0x150]
mov ecx, esi
push eax
push 0x10
call fcn.00422380
add esp, 0xc
test eax, eax
jne 0x428692
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], eax
test ebx, ebx
je 0x428690
nop dword [eax + eax]
mov edx, dword [ebp - 0xc]
mov esi, 0x10
cmp ebx, esi
cmovb esi, ebx
xor eax, eax
test esi, esi
je 0x42867e
mov cl, byte [eax + edi]
xor byte [edx + eax], cl
inc eax
cmp eax, esi
jb 0x428673
mov ecx, dword [ebp - 8]
push edx
call fcn.00428300
add esp, 4
add edi, esi
sub ebx, esi
jne 0x428660
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 0xffffffec
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], 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 - 0x10], eax
mov eax, dword [ebx + 0x148]
shld esi, eax, 3
mov dword [ebp - 8], ecx
shl eax, 3
mov dword [ebp - 0xc], eax
lea eax, [edi - 4]
mov dword [ebp - 4], esi
cmp eax, 0xc
ja 0x428998
push edi
lea eax, [ebx + 0x150]
push eax
push edx
call sub.ntdll.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0xc
or eax, dword [ebp - 8]
mov ecx, esi
mov edx, dword [ebp - 0xc]
jne 0x4288a7
mov eax, edx
or eax, ecx
je 0x42898f
mov esi, dword [ebp - 4]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x22], al
mov eax, esi
mov byte [ebp - 0x21], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x20], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov edx, dword [ebp - 0x10]
shrd eax, esi, 8
mov esi, dword [ebp - 8]
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x1b], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x1a], al
mov eax, esi
mov byte [ebp - 0x19], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x18], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
shrd eax, esi, 8
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], al
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [ebp + eax - 0x24]
xor byte [ebx + eax + 0x170], cl
movzx ecx, byte [ebp + eax - 0x23]
xor byte [ebx + eax + 0x171], cl
movzx ecx, byte [ebp + eax - 0x22]
xor byte [ebx + eax + 0x172], cl
movzx ecx, byte [ebp + eax - 0x21]
xor byte [ebx + eax + 0x173], cl
add eax, 4
cmp eax, 0x10
jb 0x428930
lea esi, [ebx + 0x170]
mov ecx, ebx
push esi
mov edx, esi
call fcn.00428300
add esp, 4
xor ecx, ecx
test edi, edi
je 0x42898f
mov edx, dword [ebp - 0x14]
mov al, byte [esi + ecx]
xor byte [ecx + edx], al
inc ecx
cmp ecx, edi
jb 0x428984
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffec
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429e70
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
push edi
mov edi, ecx
mov dword [edi], 0x61707865
mov dword [edi + 4], 0x3320646e
mov dword [edi + 8], 0x79622d32
mov dword [edi + 0xc], 0x6b206574
movzx esi, byte [edx + 3]
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edx]
shl esi, 8
or esi, eax
mov dword [edi + 0x10], esi
movzx ecx, byte [edx + 7]
shl ecx, 8
movzx eax, byte [edx + 6]
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [edx + 0x18]
or ecx, eax
mov dword [edi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [edi + 0x2c], ecx
pop edi
pop esi
ret
Function at 0x42a050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, edx
mov dword [ebp - 8], edx
push edi
xor edx, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edx
test ebx, ebx
je 0x42a0aa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
mov esi, dword [edi + 0x80]
mov dword [ebp - 0xc], eax
nop dword [eax]
cmp esi, 0x40
jae 0x42a0a4
mov al, byte [eax + ecx]
inc edx
xor al, byte [esi + edi + 0x40]
mov byte [ecx], al
inc ecx
inc dword [edi + 0x80]
mov esi, dword [edi + 0x80]
mov eax, dword [ebp - 0xc]
sub ebx, 1
jne 0x42a080
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
cmp ebx, 0x40
jb 0x42a167
lea eax, [edi + 0x41]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, eax
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
lea esi, [eax + 2]
mov eax, ebx
add esi, edx
shr eax, 6
mov dword [ebp - 0xc], eax
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.00429d50
inc dword [edi + 0x30]
mov edi, 8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x18]
nop
movzx ecx, byte [eax + ebx]
lea eax, [eax + 8]
xor cl, byte [edx - 1]
lea edx, [edx + 8]
mov byte [eax - 8], cl
movzx ecx, byte [esi - 1]
xor cl, byte [edx - 8]
mov byte [eax - 7], cl
movzx ecx, byte [edx - 7]
xor cl, byte [esi]
mov byte [eax - 6], cl
movzx ecx, byte [edx - 6]
xor cl, byte [esi + 1]
mov byte [eax - 5], cl
movzx ecx, byte [edx - 5]
xor cl, byte [esi + 2]
mov byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor cl, byte [esi + 3]
mov byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor cl, byte [esi + 4]
mov byte [eax - 2], cl
movzx ecx, byte [edx - 2]
xor cl, byte [esi + 5]
add esi, 8
mov byte [eax - 1], cl
sub edi, 1
jne 0x42a0f0
mov ebx, dword [ebp - 8]
add dword [ebp - 4], 0x40
sub ebx, 0x40
sub dword [ebp - 0xc], 1
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
jne 0x42a0d1
test ebx, ebx
je 0x42a1a3
lea esi, [edi + 0x40]
mov ecx, edi
mov edx, esi
call fcn.00429d50
inc dword [edi + 0x30]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
sub dword [ebp + 8], ecx
add edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [edi + edx]
mov al, byte [eax + ecx]
xor al, byte [esi + edx]
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x42a187
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x80], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b990
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 + 0x4464f0]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x4463f0]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x446168]
or esi, eax
movzx eax, cl
shl esi, 8
movzx eax, byte [eax + 0x4462c8]
or esi, eax
mov eax, ebx
shr eax, 0x10
mov edx, esi
movzx eax, al
rol edx, 8
movzx ecx, byte [eax + 0x4463f0]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4462c8]
shl eax, 8
or ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x4464f0]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x446168]
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
Function at 0x42d300
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 0x42d323
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 0x42d5c0
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 0x42d686
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 0x42d630
mov edx, dword [esi]
xor edx, ebx
mov ebx, dword [esi + 4]
xor ebx, eax
jmp 0x42d69d
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea edx, [ebp + 8]
call fcn.0042d300
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