Function at 0x469b99
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push edi
mov edi, ecx
cmp byte [edi + 4], 0
mov dword [esp + 0x10], edi
jne 0x469bb5
mov eax, 0x70000005
pop edi
add esp, 0x14
ret 8
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
add eax, 1
shl edx, 0x10
add eax, 1
shl ecx, 0x18
or ecx, edx
xor edx, edx
mov dh, byte [eax]
add eax, 1
push ebx
add eax, 1
add eax, 1
push ebp
push esi
movzx esi, byte [eax - 1]
or ecx, edx
movzx edx, byte [eax - 2]
or ecx, edx
movzx edx, byte [eax]
shl esi, 0x18
shl edx, 0x10
or esi, edx
add eax, 1
xor edx, edx
mov dh, byte [eax]
add eax, 1
add eax, 1
add eax, 1
xor ebx, ebx
mov bh, byte [eax + 1]
add eax, 1
or esi, edx
movzx edx, byte [eax - 3]
or esi, edx
xor esi, dword [edi + 0x1fc]
movzx edx, byte [eax - 2]
mov dword [esp + 0x28], esi
movzx esi, byte [eax - 1]
shl esi, 0x10
shl edx, 0x18
or edx, esi
movzx esi, byte [eax + 1]
or edx, ebx
add eax, 1
or edx, esi
movzx esi, byte [eax + 1]
add eax, 1
movzx ebx, byte [eax + 1]
add eax, 1
xor ecx, dword [edi + 0x1f8]
xor edx, dword [edi + 0x200]
shl ebx, 0x10
shl esi, 0x18
or esi, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
add eax, 1
mov bl, byte [eax + 1]
or ebx, esi
xor ebx, dword [edi + 0x204]
mov esi, dword [edi + 0x3d8]
cmp esi, 1
mov eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
jle 0x469dd9
add edi, 0x220
add esi, 0xffffffff
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], edi
movzx edi, ah
mov ebx, esi
mov esi, dword [edi*4 + 0x4a7b70]
sar ebx, 0x18
and ebx, 0xff
xor esi, dword [ebx*4 + 0x4a7370]
mov ebx, dword [esp + 0x28]
mov edi, ecx
sar edi, 0x10
and edi, 0xff
xor esi, dword [edi*4 + 0x4a7770]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x4a7f70]
mov edi, dword [esp + 0x10]
xor esi, dword [edi - 4]
sar ebx, 0x10
and ebx, 0xff
mov edi, edx
sar edi, 0x18
and edi, 0xff
mov edi, dword [edi*4 + 0x4a7370]
xor edi, dword [ebx*4 + 0x4a7770]
movzx ebx, ch
xor edi, dword [ebx*4 + 0x4a7b70]
mov ebx, eax
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4a7f70]
mov ebx, dword [esp + 0x10]
xor edi, dword [ebx]
mov ebx, eax
sar ebx, 0x18
and ebx, 0xff
mov ebp, edx
sar ebp, 0x10
and ebp, 0xff
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx*4 + 0x4a7370]
mov ebx, dword [esp + 0x18]
xor ebp, dword [ebx*4 + 0x4a7770]
movzx ebx, byte [esp + 0x29]
xor ebp, dword [ebx*4 + 0x4a7b70]
sar eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4a7770]
mov ebx, ecx
movzx edx, dh
xor eax, dword [edx*4 + 0x4a7b70]
sar ecx, 0x18
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4a7370]
mov ecx, dword [esp + 0x28]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x4a7f70]
mov ebx, dword [esp + 0x10]
xor ebp, dword [ebx + 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4a7f70]
add ebx, 0x20
xor eax, dword [ebx - 0x28]
sub dword [esp + 0x14], 1
mov ecx, eax
mov dword [esp + 0x28], esi
mov edx, edi
mov eax, ebp
mov dword [esp + 0x10], ebx
jne 0x469c9d
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov ebx, ecx
sar ebx, 0x18
mov dword [esp + 0x20], ecx
and ebx, 0xff
shl esi, 5
lea edi, [esi + edi + 0x1f8]
mov esi, dword [edi]
mov ecx, esi
sar ecx, 0x18
xor cl, byte [ebx + 0x4a6270]
mov ebx, eax
sar ebx, 0x10
and ebx, 0xff
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov byte [esi], cl
mov ecx, eax
sar ecx, 0x10
xor cl, byte [ebx + 0x4a6270]
movzx ebx, dh
mov byte [esi + 1], cl
mov ecx, eax
sar ecx, 8
xor cl, byte [ebx + 0x4a6270]
mov ebx, dword [esp + 0x28]
mov byte [esi + 2], cl
and ebx, 0xff
movzx ebx, byte [ebx + 0x4a6270]
xor bl, al
mov byte [esi + 3], bl
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x28]
sar ebx, 0x18
and ebx, 0xff
mov ecx, eax
sar ecx, 0x18
xor cl, byte [ebx + 0x4a6270]
mov byte [esi + 4], cl
mov ecx, dword [esp + 0x20]
mov ebx, ecx
sar ebx, 0x10
and ebx, 0xff
mov ecx, eax
sar ecx, 0x10
xor cl, byte [ebx + 0x4a6270]
movzx ebx, byte [esp + 0x11]
mov byte [esi + 5], cl
mov ecx, eax
sar ecx, 8
xor cl, byte [ebx + 0x4a6270]
mov ebx, edx
mov byte [esi + 6], cl
and ebx, 0xff
movzx ebx, byte [ebx + 0x4a6270]
xor bl, al
mov byte [esi + 7], bl
mov eax, dword [edi + 8]
mov ebx, edx
sar ebx, 0x18
and ebx, 0xff
mov ecx, eax
sar ecx, 0x18
xor cl, byte [ebx + 0x4a6270]
mov ebx, dword [esp + 0x28]
mov byte [esi + 8], cl
sar ebx, 0x10
and ebx, 0xff
mov ecx, eax
sar ecx, 0x10
xor cl, byte [ebx + 0x4a6270]
mov byte [esi + 9], cl
mov ecx, dword [esp + 0x20]
movzx ebx, ch
mov ecx, eax
sar ecx, 8
xor cl, byte [ebx + 0x4a6270]
mov ebx, dword [esp + 0x10]
and ebx, 0xff
mov byte [esi + 0xa], cl
movzx ebx, byte [ebx + 0x4a6270]
mov ebp, dword [esp + 0x10]
xor bl, al
mov byte [esi + 0xb], bl
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
sar ebp, 0x18
mov eax, edi
sar eax, 0x18
and ebp, 0xff
xor al, byte [ebp + 0x4a6270]
sar edx, 0x10
mov byte [esi + 0xc], al
mov eax, edi
mov ebx, eax
sar ebx, 0x10
and edx, 0xff
xor bl, byte [edx + 0x4a6270]
movzx edx, byte [esp + 0x29]
mov byte [esi + 0xd], bl
mov ebx, eax
sar ebx, 8
xor bl, byte [edx + 0x4a6270]
and ecx, 0xff
mov byte [esi + 0xe], bl
mov cl, byte [ecx + 0x4a6270]
xor cl, al
mov byte [esi + 0xf], cl
pop esi
pop ebp
pop ebx
mov dword [esp + 8], edi
mov eax, 0x6fffffff
pop edi
add esp, 0x14
ret 8