Function at 0x42ece0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
call fcn.0042c860
mov ebx, eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xd4], esi
mov esi, ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x2c], eax
mov edi, eax
jmp 0x42ed35
add edi, 4
mov esi, ebp
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0042c780
mov ebp, eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.0042eab0
lea eax, [esp + 0xac]
mov dword [edi], ebp
cmp eax, edi
jne 0x42ed30
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0042c780
mov edx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0042ca20
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0042c780
mov ebx, eax
mov eax, dword [esp + 0xd8]
mov ecx, 0xcccccccd
mov byte [esp + 0x27], 1
mov edi, dword [eax]
mov edx, edi
shl edx, 5
sub edx, 1
mov eax, edx
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
mov edx, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
nop
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x18]
xor esi, esi
mov ebx, dword [esp + 0xd8]
xor edi, edi
mov dword [esp + 0x14], esi
lea ecx, [ebp + edi]
mov eax, ecx
shr eax, 5
cmp edx, eax
jbe 0x42ee17
mov esi, dword [ebx + 4]
mov eax, dword [esi + eax*4]
shr eax, cl
mov ecx, edi
and eax, 1
shl eax, cl
or dword [esp + 0x14], eax
add edi, 1
cmp edi, 5
jne 0x42edf7
mov ebx, dword [esp + 0x20]
mov ebp, 1
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042ca20
lea esi, [esi]
mov eax, esi
mov dword [esp + 8], ebx
xor eax, ebp
add eax, 0x1f
shr eax, 5
mov dword [esp + 0xc], eax
mov eax, dword [esp + ebp*4 + 0x30]
add ebp, 1
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042caf0
cmp ebp, 0x20
jne 0x42ee40
cmp byte [esp + 0x27], 0
jne 0x42eed4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.0042eab0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42eeec
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.0042eab0
sub edi, 1
jne 0x42eea3
mov eax, dword [esp + 0xd8]
sub dword [esp + 0x18], 5
mov byte [esp + 0x27], 0
mov edx, dword [eax]
jmp 0x42ede0
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0042ca20
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42ee98
lea esi, [esp + 0xb0]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jmp 0x42ef05
mov eax, dword [edi]
add edi, 4
mov dword [esp], eax
call fcn.0042c940
cmp edi, esi
jne 0x42ef00
mov dword [esp], ebx
call fcn.0042c940
mov eax, dword [esp + 0xd0]
mov edx, dword [eax + 0x20]
mov eax, dword [edx]
shl eax, 2
mov dword [esp + 4], eax
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.00450e00
mov eax, dword [esp + 0x1c]
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret