Function at 0x404b90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x40c380]
mov edx, dword [ecx + 0x20]
push ebx
push ebp
mov ebp, dword [ecx + 0x28]
push esi
mov esi, dword [esp + 0x24]
xor edx, dword [esi]
mov ebx, dword [esi + 8]
xor ebx, ebp
push edi
mov edi, dword [ecx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
xor eax, edi
xor esi, dword [ecx + 0x2c]
mov dword [esp + 0x1c], esi
shr esi, 0x18
mov esi, dword [esi*4 + 0x409d70]
mov dword [esp + 0x18], ebx
movzx edi, byte [esp + 0x1a]
xor esi, dword [edi*4 + 0x409970]
mov dword [esp + 0x14], eax
movzx eax, ah
xor esi, dword [eax*4 + 0x409570]
movzx eax, dl
mov edi, dword [eax*4 + 0x409170]
mov eax, dword [esp + 0x2c]
xor esi, edi
movzx edi, byte [esp + 0x1e]
mov dword [eax], esi
mov ebp, dword [edi*4 + 0x409970]
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0x409d70]
xor esi, ebp
movzx edi, bh
mov ebp, dword [edi*4 + 0x409570]
movzx edi, byte [esp + 0x14]
mov ebx, dword [edi*4 + 0x409170]
xor esi, ebp
xor esi, ebx
mov dword [eax + 4], esi
movzx esi, byte [esp + 0x17]
mov esi, dword [esi*4 + 0x409d70]
mov dword [esp + 0x10], edx
movzx edi, byte [esp + 0x12]
mov ebp, dword [edi*4 + 0x409970]
movzx edi, byte [esp + 0x1d]
mov ebx, dword [edi*4 + 0x409570]
movzx edi, byte [esp + 0x18]
xor esi, ebp
mov ebp, dword [edi*4 + 0x409170]
movzx edi, byte [esp + 0x16]
xor esi, ebx
xor esi, ebp
mov dword [eax + 8], esi
movzx esi, byte [esp + 0x1b]
mov esi, dword [esi*4 + 0x409d70]
mov ebx, dword [edi*4 + 0x409970]
movzx edx, dh
mov ebp, dword [edx*4 + 0x409570]
movzx edx, byte [esp + 0x1c]
xor esi, ebx
mov ebx, dword [edx*4 + 0x409170]
xor esi, ebp
xor esi, ebx
mov dword [eax + 0xc], esi
mov edx, dword [ecx + 0x1c]
mov ebp, 1
dec edx
cmp edx, ebp
jbe 0x404ddc
lea esi, [ecx + 0x34]
lea esp, [esp]
mov edx, dword [esi - 4]
xor edx, dword [eax]
mov edi, dword [esi]
xor edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 4]
xor edi, ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 8]
xor edi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
shr ebx, 0x10
shr edi, 0x18
mov edi, dword [edi*4 + 0x409d70]
movzx ebx, bl
xor edi, dword [ebx*4 + 0x409970]
mov ebx, dword [esp + 0x14]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x409570]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x409170]
mov ebx, dword [esp + 0x1c]
mov dword [eax], edi
shr ebx, 0x10
movzx ebx, bl
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x409d70]
xor edi, dword [ebx*4 + 0x409970]
mov ebx, dword [esp + 0x18]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x409570]
movzx ebx, byte [esp + 0x14]
xor edi, dword [ebx*4 + 0x409170]
mov dword [esp + 0x10], edx
movzx ebx, byte [esp + 0x12]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov edi, dword [edi*4 + 0x409d70]
xor edi, dword [ebx*4 + 0x409970]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x409570]
movzx ebx, byte [esp + 0x18]
xor edi, dword [ebx*4 + 0x409170]
movzx ebx, byte [esp + 0x16]
mov dword [eax + 8], edi
movzx edi, byte [esp + 0x1b]
mov edi, dword [edi*4 + 0x409d70]
xor edi, dword [ebx*4 + 0x409970]
movzx edx, dh
mov ebx, dword [edx*4 + 0x409570]
movzx edx, byte [esp + 0x1c]
xor edi, ebx
xor edi, dword [edx*4 + 0x409170]
mov dword [eax + 0xc], edi
mov edx, dword [ecx + 0x1c]
inc ebp
add esi, 0x10
dec edx
cmp ebp, edx
jb 0x404cc0
mov edx, dword [ecx + 0x1c]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
shl edx, 4
lea esi, [edx + ecx]
mov edx, dword [esi + 0x10]
xor edx, edi
mov edi, dword [esi + 0x14]
xor edi, ebp
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
xor edi, ebx
mov dword [esp + 0x18], edi
xor esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
movzx esi, dl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x15]
mov byte [eax], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x1a]
mov byte [eax + 1], bl
mov bl, byte [esi*4 + 0x409171]
mov esi, dword [esp + 0x1c]
mov byte [eax + 2], bl
shr esi, 0x18
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x14]
mov byte [eax + 3], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x19]
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x1e]
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x409171]
mov dword [esp + 0x10], edx
movzx esi, byte [esp + 0x13]
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x18]
mov byte [eax + 7], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x1d]
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x12]
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x17]
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x409171]
movzx esi, byte [esp + 0x1c]
movzx edx, dh
mov byte [eax + 0xb], bl
mov bl, byte [esi*4 + 0x409171]
mov edi, dword [eax]
mov byte [eax + 0xc], bl
mov dl, byte [edx*4 + 0x409171]
mov byte [eax + 0xd], dl
movzx edx, byte [esp + 0x16]
mov dl, byte [edx*4 + 0x409171]
mov ebp, dword [eax + 4]
mov byte [eax + 0xe], dl
movzx edx, byte [esp + 0x1b]
mov dl, byte [edx*4 + 0x409171]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x1c]
add edx, 2
shl edx, 4
mov edx, dword [edx + ecx]
xor edi, edx
mov dword [eax], edi
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edx, dword [edx + ecx + 0x24]
xor ebp, edx
mov dword [eax + 4], ebp
mov edx, dword [ecx + 0x1c]
mov edi, dword [eax + 8]
shl edx, 4
mov edx, dword [edx + ecx + 0x28]
xor edi, edx
mov dword [eax + 8], edi
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov ecx, dword [edx + ecx + 0x2c]
mov edx, dword [eax + 0xc]
pop edi
pop esi
xor edx, ecx
mov ecx, dword [esp + 0x18]
pop ebp
mov dword [eax + 0xc], edx
pop ebx
call fcn.00406674
add esp, 0x14
ret 8