Function at 0x5e5170
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x128]
mov dword [esp + 0x100], eax
lea edx, [eax + 0x50]
mov eax, esp
call fcn.005e50f0
mov eax, dword [esp + 0x100]
mov eax, dword [eax]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 4]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 8]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x120], eax
mov edx, dword [esp + 0x100]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x104], 0
lea esi, [esi]
mov eax, dword [esp + 0x118]
call fcn.005e50a0
mov edx, dword [esp + 0x124]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x120]
xor edx, dword [esp + 0x11c]
and edx, dword [esp + 0x118]
xor edx, dword [esp + 0x120]
mov eax, dword [esp + 0x104]
mov esi, dword [esp + eax*4]
mov edi, dword [esp + 0x104]
mov eax, dword [edi*4 + 0x610220]
add eax, esi
add eax, edx
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x108]
call fcn.005e5080
lea edx, [ebx + eax]
mov eax, dword [esp + 0x10c]
or eax, dword [esp + 0x108]
and eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
and ecx, dword [esp + 0x108]
or eax, ecx
add eax, edx
mov dword [esp + 0x124], eax
add dword [esp + 0x114], ebx
mov eax, dword [esp + 0x114]
call fcn.005e50a0
mov edx, dword [esp + 0x120]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x11c]
xor edx, dword [esp + 0x118]
and edx, dword [esp + 0x114]
xor edx, dword [esp + 0x11c]
mov esi, dword [esp + 0x104]
lea eax, [esi + 1]
mov esi, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, esi
add eax, edx
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x124]
call fcn.005e5080
lea ecx, [ebx + eax]
mov edx, dword [esp + 0x108]
or edx, dword [esp + 0x124]
and edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x108]
and eax, dword [esp + 0x124]
or edx, eax
lea eax, [ecx + edx]
mov dword [esp + 0x120], eax
add dword [esp + 0x110], ebx
mov eax, dword [esp + 0x110]
call fcn.005e50a0
mov edx, dword [esp + 0x11c]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x118]
xor edx, dword [esp + 0x114]
and edx, dword [esp + 0x110]
xor edx, dword [esp + 0x118]
mov eax, dword [esp + 0x104]
add eax, 2
mov esi, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, esi
add eax, edx
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x120]
call fcn.005e5080
add eax, ebx
mov edx, dword [esp + 0x124]
or edx, dword [esp + 0x120]
and edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x124]
and ecx, dword [esp + 0x120]
or edx, ecx
add eax, edx
mov dword [esp + 0x11c], eax
add dword [esp + 0x10c], ebx
mov eax, dword [esp + 0x10c]
call fcn.005e50a0
mov edx, dword [esp + 0x118]
lea ecx, [edx + eax]
mov esi, dword [esp + 0x114]
xor esi, dword [esp + 0x110]
and esi, dword [esp + 0x10c]
xor esi, dword [esp + 0x114]
mov eax, dword [esp + 0x104]
add eax, 3
mov edx, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, edx
add eax, esi
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x11c]
call fcn.005e5080
add eax, ebx
mov ecx, dword [esp + 0x120]
or ecx, dword [esp + 0x11c]
and ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
and edx, dword [esp + 0x11c]
or ecx, edx
add eax, ecx
mov dword [esp + 0x118], eax
add dword [esp + 0x108], ebx
mov eax, dword [esp + 0x108]
call fcn.005e50a0
mov edx, dword [esp + 0x114]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x110]
xor edx, dword [esp + 0x10c]
and edx, dword [esp + 0x108]
xor edx, dword [esp + 0x110]
mov esi, dword [esp + 0x104]
lea eax, [esi + 4]
mov esi, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, esi
add eax, edx
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x118]
call fcn.005e5080
add eax, ebx
mov edx, dword [esp + 0x11c]
or edx, dword [esp + 0x118]
and edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
and ecx, dword [esp + 0x118]
or edx, ecx
add eax, edx
mov dword [esp + 0x114], eax
add dword [esp + 0x124], ebx
mov eax, dword [esp + 0x124]
call fcn.005e50a0
mov edx, dword [esp + 0x110]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x10c]
xor edx, dword [esp + 0x108]
and edx, dword [esp + 0x124]
xor edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x104]
add eax, 5
mov esi, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, esi
add eax, edx
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x114]
call fcn.005e5080
add eax, ebx
mov edx, dword [esp + 0x118]
or edx, dword [esp + 0x114]
and edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
and ecx, dword [esp + 0x114]
or edx, ecx
add eax, edx
mov dword [esp + 0x110], eax
add dword [esp + 0x120], ebx
mov eax, dword [esp + 0x120]
call fcn.005e50a0
mov edx, dword [esp + 0x10c]
lea ecx, [edx + eax]
mov esi, dword [esp + 0x108]
xor esi, dword [esp + 0x124]
and esi, dword [esp + 0x120]
xor esi, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
lea eax, [edx + 6]
mov edx, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, edx
add eax, esi
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x110]
call fcn.005e5080
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x114]
or eax, dword [esp + 0x110]
and eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
and edx, dword [esp + 0x110]
or eax, edx
add eax, ecx
mov dword [esp + 0x10c], eax
add dword [esp + 0x11c], ebx
mov eax, dword [esp + 0x11c]
call fcn.005e50a0
mov edx, dword [esp + 0x108]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x124]
xor edx, dword [esp + 0x120]
and edx, dword [esp + 0x11c]
xor edx, dword [esp + 0x124]
mov esi, dword [esp + 0x104]
lea eax, [esi + 7]
mov esi, dword [esp + eax*4]
mov eax, dword [eax*4 + 0x610220]
add eax, esi
add eax, edx
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x10c]
call fcn.005e5080
lea edx, [ebx + eax]
mov eax, dword [esp + 0x110]
or eax, dword [esp + 0x10c]
and eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
and ecx, dword [esp + 0x10c]
or eax, ecx
add eax, edx
mov dword [esp + 0x108], eax
add dword [esp + 0x118], ebx
add dword [esp + 0x104], 8
cmp dword [esp + 0x104], 0x3f
jle 0x5e5220
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x100]
add dword [edx], eax
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x100]
add dword [edx + 4], eax
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x100]
add dword [edx + 8], eax
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x100]
add dword [edx + 0xc], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x100]
add dword [edx + 0x10], eax
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x100]
add dword [eax + 0x14], edx
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x100]
add dword [edx + 0x18], eax
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0x124]
add dword [edx + 0x1c], eax
lea esp, [esp + 0x128]
pop edi
pop esi
pop ebx
ret