Function at 0x403fda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esi + 0x20]
xor ecx, dword [esi + 0x28]
xor edx, dword [eax]
mov eax, dword [eax + 0xc]
xor eax, dword [esi + 0x2c]
xor ebx, dword [esi + 0x24]
mov dword [ebp - 8], ecx
push edi
movzx edi, byte [ebp - 6]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
movzx eax, byte [ebp - 1]
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax*4 + 0x47cf28]
xor ecx, dword [edi*4 + 0x47cb28]
movzx edi, byte [ebp - 0xd]
movzx eax, bh
movzx ebx, byte [ebp - 2]
mov edi, dword [edi*4 + 0x47cf28]
xor ecx, dword [eax*4 + 0x47c728]
xor edi, dword [ebx*4 + 0x47cb28]
movzx ebx, byte [ebp - 7]
movzx eax, dl
xor edi, dword [ebx*4 + 0x47c728]
movzx ebx, byte [ebp - 0xc]
xor ecx, dword [eax*4 + 0x47c328]
mov eax, dword [ebp + 0xc]
xor edi, dword [ebx*4 + 0x47c328]
movzx ebx, byte [ebp - 0xe]
mov dword [eax + 4], edi
mov dword [eax], ecx
movzx edi, byte [ebp - 9]
movzx edx, dh
mov edi, dword [edi*4 + 0x47cf28]
xor edi, dword [ebx*4 + 0x47cb28]
movzx ebx, byte [ebp - 3]
xor edi, dword [ebx*4 + 0x47c728]
movzx ebx, byte [ebp - 8]
xor edi, dword [ebx*4 + 0x47c328]
movzx ebx, byte [ebp - 0xa]
mov dword [eax + 8], edi
movzx edi, byte [ebp - 5]
mov edi, dword [edi*4 + 0x47cf28]
xor edi, dword [ebx*4 + 0x47cb28]
xor edi, dword [edx*4 + 0x47c728]
movzx edx, byte [ebp - 4]
xor edi, dword [edx*4 + 0x47c328]
mov edx, dword [esi + 0x1c]
dec edx
cmp edx, 1
mov dword [eax + 0xc], edi
jle 0x4041c3
dec edx
lea edi, [esi + 0x34]
mov dword [ebp + 0x10], edx
mov edx, dword [edi - 4]
xor edx, ecx
mov ecx, dword [edi]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x10], edx
movzx edx, dl
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 4]
xor ecx, dword [eax + 8]
add edi, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [edi - 8]
xor ecx, dword [eax + 0xc]
movzx ebx, byte [ebp - 6]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebp - 1]
mov ecx, dword [ecx*4 + 0x47cf28]
xor ecx, dword [ebx*4 + 0x47cb28]
movzx ebx, byte [ebp - 0xb]
xor ecx, dword [ebx*4 + 0x47c728]
movzx ebx, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x47c328]
movzx edx, byte [ebp - 0xd]
mov dword [eax], ecx
mov edx, dword [edx*4 + 0x47cf28]
xor edx, dword [ebx*4 + 0x47cb28]
movzx ebx, byte [ebp - 7]
xor edx, dword [ebx*4 + 0x47c728]
movzx ebx, byte [ebp - 0xc]
xor edx, dword [ebx*4 + 0x47c328]
movzx ebx, byte [ebp - 0xe]
mov dword [eax + 4], edx
movzx edx, byte [ebp - 9]
mov edx, dword [edx*4 + 0x47cf28]
xor edx, dword [ebx*4 + 0x47cb28]
movzx ebx, byte [ebp - 3]
xor edx, dword [ebx*4 + 0x47c728]
movzx ebx, byte [ebp - 8]
xor edx, dword [ebx*4 + 0x47c328]
movzx ebx, byte [ebp - 0xa]
mov dword [eax + 8], edx
movzx edx, byte [ebp - 5]
mov edx, dword [edx*4 + 0x47cf28]
xor edx, dword [ebx*4 + 0x47cb28]
movzx ebx, byte [ebp - 0xf]
xor edx, dword [ebx*4 + 0x47c728]
movzx ebx, byte [ebp - 4]
xor edx, dword [ebx*4 + 0x47c328]
dec dword [ebp + 0x10]
mov dword [eax + 0xc], edx
jne 0x4040db
mov edi, dword [esi + 0x1c]
lea edx, [edi + 1]
shl edx, 4
mov edx, dword [esi + edx]
xor edx, ecx
mov ecx, edi
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x10], edx
add edi, 2
mov ebx, dword [ecx + 0x14]
mov dword [ebp + 0x10], ebx
xor ebx, dword [eax + 4]
shl edi, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 0x18]
mov dword [ebp + 0x10], ebx
xor ebx, dword [eax + 8]
mov dword [ebp - 8], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [ebp + 0x10], ebx
xor ebx, dword [eax + 0xc]
mov dword [ebp - 4], ebx
movzx ebx, dl
movzx edx, dh
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax], bl
mov dl, byte [edx*4 + 0x47c329]
movzx ebx, byte [ebp - 0xb]
mov byte [eax + 0xd], dl
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 1], bl
movzx ebx, byte [ebp - 6]
movzx edx, byte [ebp - 0xa]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 2], bl
mov dl, byte [edx*4 + 0x47c329]
movzx ebx, byte [ebp - 1]
mov byte [eax + 0xe], dl
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 3], bl
movzx ebx, byte [ebp - 0xc]
movzx edx, byte [ebp - 5]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 4], bl
mov dl, byte [edx*4 + 0x47c329]
movzx ebx, byte [ebp - 7]
mov byte [eax + 0xf], dl
mov edx, dword [esi + edi]
mov bl, byte [ebx*4 + 0x47c329]
xor dword [eax], edx
mov byte [eax + 5], bl
mov edx, dword [ecx + 0x24]
movzx ebx, byte [ebp - 2]
pop edi
pop esi
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 6], bl
movzx ebx, byte [ebp - 0xd]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 7], bl
xor dword [eax + 4], edx
movzx ebx, byte [ebp - 8]
mov edx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 8], bl
movzx ebx, byte [ebp - 3]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 9], bl
movzx ebx, byte [ebp - 0xe]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 0xa], bl
movzx ebx, byte [ebp - 9]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 0xb], bl
xor dword [eax + 8], edx
movzx ebx, byte [ebp - 4]
mov bl, byte [ebx*4 + 0x47c329]
mov byte [eax + 0xc], bl
xor dword [eax + 0xc], ecx
pop ebx
leave
ret