Function at 0x462774
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb8
mov dword [esp], ecx
lea esi, [esp + 4]
lea edi, [esp + 0x24]
cmp byte [eax + 5], 0
je 0x462a0e
mov ecx, dword [edx]
mov dword [edi], ecx
mov ecx, edx
add ecx, 4
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov ecx, edx
add ecx, 8
mov ecx, dword [ecx]
mov dword [edi + 8], ecx
add edx, 0xc
mov edx, dword [edx]
mov dword [edi + 0xc], edx
mov edx, dword [eax + 0x28]
cmp edx, 2
jb 0x4628b7
mov ebx, edx
add ebx, ebx
add ebx, ebx
mov ecx, dword [eax + ebx*8 + 0x20c]
xor ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [eax + ebx*8 + 0x210]
xor ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + ebx*8 + 0x214]
xor ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + ebx*8 + 0x218]
xor ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
movzx ecx, byte [esi]
mov ecx, dword [ecx*4 + 0x442680]
movzx ebx, byte [esi + 0xd]
xor ecx, dword [ebx*4 + 0x442a80]
movzx ebx, byte [esi + 0xa]
xor ecx, dword [ebx*4 + 0x442e80]
movzx ebx, byte [esi + 7]
xor ecx, dword [ebx*4 + 0x443280]
mov dword [edi], ecx
movzx ecx, byte [esi + 4]
mov ecx, dword [ecx*4 + 0x442680]
movzx ebx, byte [esi + 1]
xor ecx, dword [ebx*4 + 0x442a80]
movzx ebx, byte [esi + 0xe]
xor ecx, dword [ebx*4 + 0x442e80]
movzx ebx, byte [esi + 0xb]
xor ecx, dword [ebx*4 + 0x443280]
mov dword [edi + 4], ecx
movzx ecx, byte [esi + 8]
mov ecx, dword [ecx*4 + 0x442680]
movzx ebx, byte [esi + 5]
xor ecx, dword [ebx*4 + 0x442a80]
movzx ebx, byte [esi + 2]
xor ecx, dword [ebx*4 + 0x442e80]
movzx ebx, byte [esi + 0xf]
xor ecx, dword [ebx*4 + 0x443280]
mov dword [edi + 8], ecx
movzx ecx, byte [esi + 0xc]
mov ecx, dword [ecx*4 + 0x442680]
movzx ebx, byte [esi + 9]
xor ecx, dword [ebx*4 + 0x442a80]
movzx ebx, byte [esi + 6]
xor ecx, dword [ebx*4 + 0x442e80]
movzx ebx, byte [esi + 3]
xor ecx, dword [ebx*4 + 0x443280]
mov dword [edi + 0xc], ecx
dec edx
cmp edx, 1
jne 0x4627bb
mov edx, dword [eax + 0x22c]
xor edx, dword [edi]
mov dword [esi], edx
mov edx, dword [eax + 0x230]
xor edx, dword [edi + 4]
mov dword [esi + 4], edx
mov edx, dword [eax + 0x234]
xor edx, dword [edi + 8]
mov dword [esi + 8], edx
mov edx, dword [eax + 0x238]
xor edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
movzx edx, byte [esi]
movzx edx, byte [edx + 0x443680]
mov byte [edi], dl
movzx edx, byte [esi + 0xd]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 1], dl
movzx edx, byte [esi + 0xa]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 2], dl
movzx edx, byte [esi + 7]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 3], dl
movzx edx, byte [esi + 4]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 4], dl
movzx edx, byte [esi + 1]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 5], dl
movzx edx, byte [esi + 0xe]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 6], dl
movzx edx, byte [esi + 0xb]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 7], dl
movzx edx, byte [esi + 8]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 8], dl
movzx edx, byte [esi + 5]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 9], dl
movzx edx, byte [esi + 2]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 0xa], dl
movzx edx, byte [esi + 0xf]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 0xb], dl
movzx edx, byte [esi + 0xc]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 0xc], dl
movzx edx, byte [esi + 9]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 0xd], dl
movzx edx, byte [esi + 6]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 0xe], dl
movzx edx, byte [esi + 3]
movzx edx, byte [edx + 0x443680]
mov byte [edi + 0xf], dl
mov edx, dword [eax + 0x20c]
xor dword [edi], edx
mov edx, dword [eax + 0x210]
xor dword [edi + 4], edx
mov edx, dword [eax + 0x214]
xor dword [edi + 8], edx
mov eax, dword [eax + 0x218]
xor dword [edi + 0xc], eax
mov eax, dword [esp]
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [esp]
add eax, 4
mov edx, dword [edi + 4]
mov dword [eax], edx
mov eax, dword [esp]
add eax, 8
mov edx, dword [edi + 8]
mov dword [eax], edx
mov eax, dword [esp]
add eax, 0xc
mov edx, dword [edi + 0xc]
mov dword [eax], edx
add esp, 0x48
pop edi
pop esi
pop ebx
ret