Function at 0x4861b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x4dd840]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x34]
mov esi, ecx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x2c], esi
push 0x10
mov edx, eax
movdqa xmmword [esp + 0x3c], xmm0
call fcn.00478000
add esp, 0xc
test eax, eax
jne 0x4863f2
movzx edi, byte [esp + 0x30]
xor edx, edx
movzx eax, byte [esp + 0x31]
movzx ecx, byte [esp + 0x34]
shl edi, 8
or edi, eax
shl ecx, 8
movzx eax, byte [esp + 0x32]
shl edi, 8
or edi, eax
mov dword [esp + 0x14], 0
movzx eax, byte [esp + 0x33]
shl edi, 8
or edi, eax
mov dword [esi + 0xc0], 0
movzx eax, byte [esp + 0x35]
or ecx, eax
mov dword [esi + 0x104], edi
movzx eax, byte [esp + 0x36]
shl ecx, 8
or ecx, eax
mov dword [esi + 0xc4], 0
movzx eax, byte [esp + 0x37]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x40], 0
movzx eax, byte [esp + 0x39]
or edx, ecx
movzx ecx, byte [esp + 0x3c]
mov dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x38]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [esp + 0x3a]
shl edx, 8
or edx, eax
mov dword [esi + 0x44], 0
movzx eax, byte [esp + 0x3b]
shl edx, 8
or edx, eax
mov dword [esp + 0x18], 4
movzx eax, byte [esp + 0x3d]
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, byte [esp + 0x3e]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x84], edx
movzx eax, byte [esp + 0x3f]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
or eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x100], ecx
jmp 0x4862f0
mov esi, dword [esp + 0x20]
and eax, 1
shrd dword [esp + 0x14], esi, 1
imul edx, eax, 0xe1000000
xor eax, eax
or dword [esp + 0x14], eax
shr esi, 1
shl ecx, 0x1f
or ecx, esi
mov esi, dword [esp + 0x1c]
shrd esi, edi, 1
mov dword [esp + 0x20], ecx
xor eax, esi
shr edi, 1
mov esi, dword [esp + 0x24]
xor edi, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + eax*8 + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + eax*8 + 0x40], edx
mov dword [esi + eax*8 + 0xc0], ecx
mov dword [esi + eax*8 + 0xc4], edi
sar eax, 1
mov dword [esp + 0x18], eax
test eax, eax
mov eax, edx
jg 0x4862f0
mov ecx, 2
mov dword [esp + 0x20], ecx
lea edi, [ecx + 0x18]
mov eax, dword [esi + edi*8]
lea edi, [esi + edi*8]
mov dword [esp + 0x1c], eax
lea edx, [ecx + 8]
mov eax, dword [edi + 4]
lea edx, [esi + edx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
cmp ecx, 1
jle 0x4863e1
mov eax, dword [esp + 0x24]
lea esi, [edx + 8]
add eax, 0x48
sub edi, edx
dec ecx
mov dword [esp + 0x18], ecx
mov edi, edi
mov edx, dword [eax + 0x80]
lea eax, [eax + 8]
mov ecx, dword [eax + 0x7c]
lea esi, [esi + 8]
xor edx, dword [esp + 0x1c]
xor ecx, dword [esp + 0x14]
mov dword [edi + esi - 8], edx
mov dword [edi + esi - 4], ecx
mov edx, dword [eax - 8]
mov ecx, dword [eax - 4]
xor edx, dword [esp + 0x28]
xor ecx, dword [esp + 0x2c]
dec dword [esp + 0x18]
mov dword [esi - 8], edx
mov dword [esi - 4], ecx
jne 0x4863a0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add ecx, ecx
mov dword [esp + 0x20], ecx
cmp ecx, 8
jle 0x486361
xor eax, eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.00493329
mov esp, ebp
pop ebp
ret