Function at 0x5e3096
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
push esi
push edi
test eax, eax
je 0x5e34fe
shr eax, 4
cmp byte [ebx], 0
mov dword [ebp + 0xc], eax
je 0x5e30cb
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.005e3505
jmp 0x5e34fe
lea ecx, [ebx + 8]
mov dword [ebp - 0x34], ecx
mov esi, ecx
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x5e34f5
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
sub ecx, eax
sub ecx, 8
mov dword [ebp - 0x30], ecx
lea edx, [eax + 8]
mov dword [ebp + 8], edx
mov esi, dword [ebx + 4]
mov eax, esi
add eax, eax
mov edi, dword [edx - 8]
mov dword [ebp - 0x20], edi
mov ecx, dword [ebx + eax*8 + 0x18]
xor ecx, edi
mov edi, dword [edx - 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + eax*8 + 0x1c]
xor ecx, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx]
mov edx, dword [ebx + eax*8 + 0x20]
mov ebx, dword [ebx + eax*8 + 0x24]
xor edx, ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor ebx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf0db70]
xor ecx, dword [eax*4 + 0xf0cb70]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf0c650]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x10]
movzx eax, cl
xor edi, dword [eax*4 + 0xf0ba50]
mov eax, edi
mov dword [ebp + 0x10], edi
mov dword [ebp - 0x44], eax
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0xf0db70]
mov ecx, dword [ebp - 0xc]
xor edi, dword [eax*4 + 0xf0cb70]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0xf0c650]
movzx eax, cl
xor edi, dword [eax*4 + 0xf0ba50]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xf0db70]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x40], edi
xor ecx, dword [eax*4 + 0xf0cb70]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf0c650]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0xf0ba50]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x3c], ecx
movzx ecx, al
movzx eax, dl
mov ecx, dword [ecx*4 + 0xf0cb70]
xor ecx, dword [eax*4 + 0xf0db70]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf0c650]
lea edx, [esi - 1]
movzx eax, bl
xor ecx, dword [eax*4 + 0xf0ba50]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
cmp edx, 1
jle 0x5e336d
mov edi, dword [ebp + 0x10]
lea eax, [edx + 2]
shl eax, 4
add eax, dword [ebp - 8]
dec edx
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 0xc], edx
mov eax, dword [esi - 8]
xor eax, edi
mov ebx, dword [esi + 4]
mov dword [ebp - 0x10], eax
xor ebx, ecx
mov eax, dword [esi - 4]
xor eax, dword [ebp - 0x14]
mov edx, dword [esi]
lea esi, [esi - 0x10]
xor edx, dword [ebp - 0x18]
mov dword [ebp + 0x10], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0xf0db70]
mov ecx, dword [ebp - 0x10]
xor edi, dword [eax*4 + 0xf0cb70]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor edi, dword [eax*4 + 0xf0c650]
movzx eax, cl
xor edi, dword [eax*4 + 0xf0ba50]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x44], edi
mov ecx, dword [ecx*4 + 0xf0db70]
xor ecx, dword [eax*4 + 0xf0cb70]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf0c650]
mov eax, dword [ebp + 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0xf0ba50]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0xf0cb70]
xor ecx, dword [eax*4 + 0xf0db70]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf0c650]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0xf0ba50]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x3c], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, dl
mov ecx, dword [ecx*4 + 0xf0db70]
xor ecx, dword [eax*4 + 0xf0cb70]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xf0c650]
movzx eax, bl
xor ecx, dword [eax*4 + 0xf0ba50]
sub dword [ebp - 0xc], 1
mov dword [ebp - 0x38], ecx
jne 0x5e3254
mov dword [ebp - 0x10], ecx
mov dword [ebp + 0x10], edi
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x28]
xor eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
movzx eax, al
mov ecx, dword [esi + 0x34]
xor ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x30]
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x44], al
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [ebp - 0x18]
mov ebx, dword [esi + 0x2c]
xor ebx, dword [ebp - 0x14]
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x43], al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov esi, dword [ebp + 0x10]
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x42], al
mov eax, ebx
shr eax, 0x18
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x41], al
movzx eax, bl
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x40], al
mov eax, esi
shr eax, 8
movzx eax, al
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x3f], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x3e], al
mov eax, edx
shr eax, 0x18
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x3d], al
movzx eax, dl
shr edx, 8
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x3c], al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x3b], al
mov eax, esi
shr eax, 0x10
movzx eax, al
shr esi, 0x18
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x3a], al
mov eax, ecx
shr eax, 0x18
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x39], al
movzx eax, cl
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x38], al
movzx eax, dl
mov al, byte [eax + 0xf0ca50]
mov byte [ebp - 0x37], al
movzx eax, bl
mov ebx, dword [ebp - 8]
mov al, byte [eax + 0xf0ca50]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
xor ecx, dword [ebp - 0x44]
xor edx, dword [ebp - 0x40]
mov byte [ebp - 0x36], al
mov al, byte [esi + 0xf0ca50]
mov byte [ebp - 0x35], al
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
xor eax, dword [ebp - 0x38]
xor esi, dword [ebp - 0x3c]
cmp byte [ebx + 1], 0
mov dword [ebp + 0x10], eax
je 0x5e34ab
xor ecx, dword [ebp - 0x54]
xor edx, dword [ebp - 0x50]
xor esi, dword [ebp - 0x4c]
xor eax, dword [ebp - 0x48]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + edi], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [eax - 4], edx
mov edx, edi
mov dword [eax], esi
add edx, 0x10
mov dword [eax + 4], ecx
add eax, 0x10
sub dword [ebp + 0xc], 1
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], eax
jne 0x5e30fc
mov ecx, dword [ebp - 0x34]
mov edi, ecx
lea esi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0xc