Function at 0x48e9b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x54]
push edi
mov edi, ecx
mov dword [esp + 4], edi
test eax, eax
je 0x48ee86
shr eax, 4
cmp byte [edi], 0
mov dword [esp + 0x58], eax
je 0x48e9e7
push dword [esp + 0x5c]
push eax
push dword [esp + 0x5c]
call fcn.0048ee90
pop edi
add esp, 0x4c
ret 0xc
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
push ebx
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x18], ebx
push ebp
mov ebp, dword [edi + 8]
mov dword [esp + 0x28], ebp
test eax, eax
je 0x48ee78
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
push esi
lea ebx, [ecx + 8]
sub ecx, eax
lea edx, [eax + 8]
mov dword [esp + 0x30], ebx
add ecx, 0xfffffff8
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], ecx
lea ecx, [ecx]
mov edx, dword [ecx + edx]
mov esi, dword [edi + 4]
mov eax, esi
add eax, eax
mov dword [esp + 0x38], edx
mov ecx, dword [edi + eax*8 + 0x18]
xor ecx, edx
mov edx, dword [ebx - 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + eax*8 + 0x1c]
xor ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [edi + eax*8 + 0x20]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx]
xor edx, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [edi + eax*8 + 0x24]
xor ebx, ecx
mov dword [esp + 0x44], ecx
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x584e90]
mov ecx, edx
shr ecx, 0x18
xor edi, dword [eax*4 + 0x585290]
mov eax, dword [esp + 0x60]
shr eax, 0x18
xor edi, dword [eax*4 + 0x585690]
mov eax, dword [esp + 0x68]
movzx eax, al
xor edi, dword [eax*4 + 0x584a90]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x4c], edi
mov ebp, dword [eax*4 + 0x585290]
xor ebp, dword [ecx*4 + 0x585690]
mov ecx, ebx
mov eax, dword [esp + 0x68]
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor ebp, dword [eax*4 + 0x584e90]
mov eax, dword [esp + 0x60]
mov ecx, dword [ecx*4 + 0x585690]
movzx eax, al
xor ebp, dword [eax*4 + 0x584a90]
mov eax, dword [esp + 0x60]
shr eax, 8
movzx eax, al
mov dword [esp + 0x50], ebp
xor ecx, dword [eax*4 + 0x584e90]
mov eax, dword [esp + 0x68]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x585290]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x584a90]
mov eax, dword [esp + 0x60]
shr eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], ecx
movzx ecx, dl
movzx eax, al
mov edx, dword [ecx*4 + 0x584e90]
lea ecx, [esi - 1]
xor edx, dword [eax*4 + 0x585290]
mov eax, dword [esp + 0x68]
shr eax, 0x18
xor edx, dword [eax*4 + 0x585690]
movzx eax, bl
xor edx, dword [eax*4 + 0x584a90]
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], edx
cmp ecx, 1
jle 0x48ecb7
lea eax, [ecx + 2]
shl eax, 4
add eax, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax - 8]
lea eax, [eax - 0x10]
xor ecx, edi
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0xc]
xor ecx, ebp
xor ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x14]
xor ecx, edx
mov dword [esp + 0x24], ecx
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edi, dword [edx*4 + 0x584e90]
mov edx, ebx
shr edx, 0x18
xor edi, dword [ecx*4 + 0x585290]
mov ecx, dword [esp + 0x60]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x585690]
mov ecx, dword [esp + 0x68]
movzx ecx, cl
xor edi, dword [ecx*4 + 0x584a90]
mov ecx, dword [esp + 0x24]
shr ecx, 0x10
movzx ecx, cl
mov ebp, dword [ecx*4 + 0x585290]
xor ebp, dword [edx*4 + 0x585690]
mov ecx, dword [esp + 0x68]
shr ecx, 8
mov edx, dword [esp + 0x24]
movzx ecx, cl
shr edx, 0x18
xor ebp, dword [ecx*4 + 0x584e90]
mov ecx, dword [esp + 0x60]
mov edx, dword [edx*4 + 0x585690]
movzx ecx, cl
xor ebp, dword [ecx*4 + 0x584a90]
mov ecx, dword [esp + 0x60]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x584e90]
mov ecx, dword [esp + 0x68]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x585290]
movzx ecx, bl
shr ebx, 8
xor edx, dword [ecx*4 + 0x584a90]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x54], edx
shr ecx, 0x10
movzx ecx, cl
movzx edx, bl
mov edx, dword [edx*4 + 0x584e90]
xor edx, dword [ecx*4 + 0x585290]
mov ecx, dword [esp + 0x68]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x585690]
mov ecx, dword [esp + 0x24]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x584a90]
sub dword [esp + 0x28], 1
mov dword [esp + 0x58], edx
jne 0x48eb87
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
xor eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x68], eax
movzx eax, al
mov esi, dword [esp + 0x68]
mov ecx, dword [edi + 0x34]
xor ecx, dword [esp + 0x60]
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x4c], al
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [edi + 0x30]
xor edx, dword [esp + 0x14]
mov ebx, dword [edi + 0x2c]
movzx eax, byte [eax + 0x583970]
xor ebx, ebp
mov byte [esp + 0x4d], al
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x4e], al
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x4f], al
movzx eax, bl
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x50], al
mov eax, esi
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x51], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x52], al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x53], al
movzx eax, dl
shr edx, 8
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x54], al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x55], al
mov eax, esi
shr eax, 0x10
movzx eax, al
shr esi, 0x18
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x57], al
movzx eax, cl
mov ecx, dword [esp + 0x50]
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x58], al
movzx eax, dl
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x59], al
movzx eax, bl
movzx eax, byte [eax + 0x583970]
mov byte [esp + 0x5a], al
movzx eax, byte [esi + 0x583970]
mov byte [esp + 0x5b], al
mov eax, dword [esp + 0x4c]
xor eax, dword [edi + 0x18]
xor ecx, dword [edi + 0x1c]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
xor esi, dword [edi + 0x20]
xor ebx, dword [edi + 0x24]
cmp byte [edi + 1], 0
je 0x48ee1b
xor eax, dword [esp + 0x2c]
xor ecx, dword [esp + 0x18]
xor esi, dword [esp + 0x1c]
xor ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [edx - 4], ecx
add ebx, 0x10
mov ecx, dword [esp + 0x48]
mov dword [edx - 8], eax
mov dword [edx], esi
add edx, 0x10
sub dword [esp + 0x64], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
jne 0x48ea30
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
pop esi
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
pop ebp
mov dword [edi + 0x14], ebx
pop ebx
pop edi
add esp, 0x4c
ret 0xc