Function at 0x41caa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
push ebx
push esi
push edi
mov edi, dword [ecx]
mov eax, edi
shl eax, 5
add eax, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x10]
xor edx, dword [ecx]
mov ebx, dword [eax + 0x1c]
xor ebx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x14]
xor edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x18]
sub eax, 0x10
xor edx, dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], edx
movzx ecx, cl
movzx edx, bh
mov dword [ebp - 0x20], ebx
mov ecx, dword [ecx*4 + 0x59db30]
xor ecx, dword [edx*4 + 0x59df30]
mov dword [ebp - 8], ecx
movzx ecx, byte [ebp - 0x22]
mov edx, dword [ebp - 8]
xor edx, dword [ecx*4 + 0x59e330]
movzx ecx, byte [ebp - 0x25]
xor edx, dword [ecx*4 + 0x59e730]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
movzx ecx, cl
movzx edx, dh
mov ecx, dword [ecx*4 + 0x59db30]
xor ecx, dword [edx*4 + 0x59df30]
mov dword [ebp + 8], ecx
movzx ecx, byte [ebp - 0x2a]
mov edx, dword [ebp + 8]
xor edx, dword [ecx*4 + 0x59e330]
movzx ecx, byte [ebp - 0x1d]
xor edx, dword [ecx*4 + 0x59e730]
xor edx, dword [eax + 0x18]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x14]
movzx ecx, bl
movzx edx, dh
mov ebx, dword [ecx*4 + 0x59db30]
xor ebx, dword [edx*4 + 0x59df30]
movzx ecx, byte [ebp - 0x26]
mov edx, dword [ebp - 0xc]
movzx edx, dh
xor ebx, dword [ecx*4 + 0x59e330]
movzx ecx, byte [ebp - 0x29]
xor ebx, dword [ecx*4 + 0x59e730]
mov ecx, dword [ebp - 0x10]
xor ebx, dword [eax + 0x1c]
movzx ecx, cl
mov dword [ebp - 4], ebx
mov ecx, dword [ecx*4 + 0x59db30]
xor ecx, dword [edx*4 + 0x59df30]
mov dword [ebp - 0xc], ecx
movzx ecx, byte [ebp - 0x1e]
mov edx, dword [ebp - 0xc]
xor edx, dword [ecx*4 + 0x59e330]
movzx ecx, byte [ebp - 0x21]
xor edx, dword [ecx*4 + 0x59e730]
xor edx, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
sub edi, 1
je 0x41cde5
shr edx, 0x18
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x59e730]
xor edx, dword [ecx*4 + 0x59df30]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59e330]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59db30]
xor edx, dword [eax]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x14], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x59df30]
mov ecx, dword [ebp - 8]
xor ebx, dword [edx*4 + 0x59e730]
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x59e330]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x59db30]
mov ecx, dword [ebp - 0xc]
xor ebx, dword [eax + 8]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x59e330]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x59df30]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x59e730]
movzx ecx, bl
shr ebx, 0x10
xor edx, dword [ecx*4 + 0x59db30]
xor edx, dword [eax + 0xc]
movzx ecx, bl
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x59e330]
mov ecx, dword [ebp - 8]
shr ecx, 8
xor ebx, dword [edx*4 + 0x59e730]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x59df30]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x59db30]
xor ebx, dword [eax + 4]
sub eax, 0x20
mov ecx, ebx
sar ecx, 0x18
movzx edx, cl
mov ecx, dword [ebp - 0x18]
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x59e730]
xor edx, dword [ecx*4 + 0x59df30]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59e330]
mov ecx, dword [ebp - 0x14]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59db30]
mov ecx, ebx
xor edx, dword [eax + 0x10]
mov dword [ebp - 8], edx
sar ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x18]
sar ecx, 0x18
movzx ecx, cl
mov edx, dword [edx*4 + 0x59df30]
xor edx, dword [ecx*4 + 0x59e730]
mov ecx, dword [ebp - 0x14]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59e330]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59db30]
mov ecx, ebx
xor edx, dword [eax + 0x18]
sar ecx, 0x10
mov dword [ebp + 8], edx
movzx edx, cl
mov ecx, dword [ebp - 0x10]
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x59e330]
xor edx, dword [ecx*4 + 0x59df30]
mov ecx, dword [ebp - 0x14]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59e730]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
movzx ecx, dl
sar edx, 0x10
movzx edx, dl
xor esi, dword [ecx*4 + 0x59db30]
mov ecx, esi
mov dword [ebp - 4], esi
xor ecx, dword [eax + 0x1c]
mov edx, dword [edx*4 + 0x59e330]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59e730]
mov ecx, dword [ebp - 0x14]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x59df30]
movzx ecx, bl
mov ebx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x59db30]
xor edx, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
sub edi, 1
jne 0x41cbd4
mov ecx, edx
mov edi, dword [ebp - 0x1c]
shr ecx, 0x18
movzx edx, byte [ecx + 0x59ca30]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov ebx, dword [ebp - 8]
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp + 8]
xor edx, dword [eax]
shr ecx, 0x18
mov dword [edi], edx
movzx edx, byte [ecx + 0x59ca30]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp - 4]
xor edx, dword [eax + 4]
shr ecx, 0x18
mov dword [edi + 4], edx
movzx edx, byte [ecx + 0x59ca30]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 0x18
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp + 8]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp - 0xc]
xor edx, dword [eax + 8]
shr ecx, 0x10
movzx ecx, cl
mov dword [edi + 8], edx
movzx edx, byte [ebx + 0x59ca30]
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
mov ecx, dword [ebp - 4]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x59ca30]
or edx, ecx
xor edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret