Function at 0x4093a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push ebx
push esi
xor edx, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor eax, dword [ecx + 0x2c]
xor ebx, dword [ecx + 0x28]
xor esi, dword [ecx + 0x24]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
movzx eax, byte [ebp - 1]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edx
movzx esi, byte [ebp - 6]
mov edi, dword [eax*4 + 0x410d30]
push 1
movzx eax, byte [ebp - 0xb]
xor edi, dword [esi*4 + 0x410930]
movzx esi, byte [ebp - 0xd]
xor edi, dword [eax*4 + 0x410530]
movzx eax, dl
movzx edx, dh
xor edi, dword [eax*4 + 0x410130]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov esi, dword [esi*4 + 0x410d30]
movzx edi, byte [ebp - 2]
xor esi, dword [edi*4 + 0x410930]
movzx edi, bh
xor esi, dword [edi*4 + 0x410530]
movzx edi, byte [ebp - 0xc]
xor esi, dword [edi*4 + 0x410130]
movzx edi, byte [ebp - 0xe]
mov dword [eax + 4], esi
movzx esi, byte [ebp - 9]
mov esi, dword [esi*4 + 0x410d30]
xor esi, dword [edi*4 + 0x410930]
movzx edi, byte [ebp - 3]
xor esi, dword [edi*4 + 0x410530]
movzx edi, bl
xor esi, dword [edi*4 + 0x410130]
movzx edi, byte [ebp - 0xa]
mov dword [eax + 8], esi
movzx esi, byte [ebp - 5]
mov esi, dword [esi*4 + 0x410d30]
xor esi, dword [edi*4 + 0x410930]
xor esi, dword [edx*4 + 0x410530]
movzx edx, byte [ebp - 4]
xor esi, dword [edx*4 + 0x410130]
pop edx
mov dword [ebp + 8], edx
mov dword [eax + 0xc], esi
mov esi, dword [ecx + 0x1c]
dec esi
cmp esi, edx
jbe 0x40958c
lea esi, [ecx + 0x34]
mov edi, dword [eax + 4]
mov edx, dword [esi - 4]
xor edi, dword [esi]
xor edx, dword [eax]
add esi, 0x10
mov dword [ebp - 0xc], edi
mov edi, dword [esi - 0xc]
xor edi, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
mov edi, dword [esi - 8]
xor edi, dword [eax + 0xc]
movzx ebx, byte [ebp - 6]
mov dword [ebp - 4], edi
movzx edi, byte [ebp - 1]
mov edi, dword [edi*4 + 0x410d30]
xor edi, dword [ebx*4 + 0x410930]
movzx ebx, byte [ebp - 0xb]
xor edi, dword [ebx*4 + 0x410530]
movzx ebx, dl
movzx edx, dh
xor edi, dword [ebx*4 + 0x410130]
movzx ebx, byte [ebp - 2]
mov dword [eax], edi
movzx edi, byte [ebp - 0xd]
mov edi, dword [edi*4 + 0x410d30]
xor edi, dword [ebx*4 + 0x410930]
movzx ebx, byte [ebp - 7]
xor edi, dword [ebx*4 + 0x410530]
movzx ebx, byte [ebp - 0xc]
xor edi, dword [ebx*4 + 0x410130]
movzx ebx, byte [ebp - 0xe]
mov dword [eax + 4], edi
movzx edi, byte [ebp - 9]
mov edi, dword [edi*4 + 0x410d30]
xor edi, dword [ebx*4 + 0x410930]
movzx ebx, byte [ebp - 3]
xor edi, dword [ebx*4 + 0x410530]
movzx ebx, byte [ebp - 8]
xor edi, dword [ebx*4 + 0x410130]
movzx ebx, byte [ebp - 0xa]
mov dword [eax + 8], edi
movzx edi, byte [ebp - 5]
mov edi, dword [edi*4 + 0x410d30]
xor edi, dword [ebx*4 + 0x410930]
xor edi, dword [edx*4 + 0x410530]
movzx edx, byte [ebp - 4]
xor edi, dword [edx*4 + 0x410130]
inc dword [ebp + 8]
mov dword [eax + 0xc], edi
mov edx, dword [ecx + 0x1c]
dec edx
cmp dword [ebp + 8], edx
jb 0x40949e
mov esi, dword [ecx + 0x1c]
lea edx, [esi + 1]
shl esi, 4
add esi, ecx
shl edx, 4
mov edi, dword [esi + 0x14]
xor edi, dword [eax + 4]
mov edx, dword [ecx + edx]
xor edx, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
xor edi, dword [eax + 8]
xor esi, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
movzx esi, dl
movzx edx, dh
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 0xb]
mov byte [eax], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 6]
mov byte [eax + 1], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 1]
mov byte [eax + 2], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 0xc]
mov byte [eax + 3], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 7]
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 2]
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 0xd]
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 8]
mov byte [eax + 7], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 3]
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 0xe]
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 9]
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x410131]
movzx esi, byte [ebp - 4]
mov byte [eax + 0xb], bl
mov bl, byte [esi*4 + 0x410131]
mov byte [eax + 0xc], bl
mov dl, byte [edx*4 + 0x410131]
mov byte [eax + 0xd], dl
movzx edx, byte [ebp - 0xa]
mov dl, byte [edx*4 + 0x410131]
mov byte [eax + 0xe], dl
movzx edx, byte [ebp - 5]
mov dl, byte [edx*4 + 0x410131]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x1c]
inc edx
inc edx
shl edx, 4
mov edx, dword [ecx + edx]
xor dword [eax], edx
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edx, dword [ecx + edx + 0x24]
xor dword [eax + 4], edx
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edx, dword [ecx + edx + 0x28]
xor dword [eax + 8], edx
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov ecx, dword [ecx + edx + 0x2c]
pop edi
xor dword [eax + 0xc], ecx
pop esi
pop ebx
leave
ret 8