Function at 0x486550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x20]
mov esi, dword [edx + 0xc]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
test ebx, ebx
mov edx, esi
bswap edi
bswap eax
bswap ecx
bswap edx
mov dword [esp], edi
je 0x486777
mov esi, ebx
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
shl esi, 4
add esi, dword [ebp + 0x1c]
xor edi, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x24], edi
xor esi, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
nop word cs:[eax + eax]
nop
mov esi, dword [ebx]
mov edi, ebx
mov dword [esp + 0x3c], edi
mov edi, dword [edi + 0xc]
bswap esi
xor esi, eax
bswap edi
mov dword [esp + 4], esi
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
xor edi, edx
mov edx, edi
bswap ebx
bswap esi
xor ebx, dword [esp]
xor esi, ecx
lea ecx, [esp + 0x60]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.00485da0
add esp, 0xc
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x50]
mov edx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0xc]
call fcn.00485da0
add esp, 0xc
mov eax, dword [esp + 0x58]
xor ebx, dword [esp + 4]
xor edi, esi
lea ecx, [esp + 0x40]
mov edx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
push dword [esp + 0x24]
push dword [esp + 0x2c]
push ebx
call fcn.00485da0
add esp, 0xc
mov edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov eax, edx
mov ecx, edx
mov esi, edi
mov ebx, edx
xor esi, dword [esp + 0x20]
shl eax, 0x1f
shl ecx, 0x1e
xor ecx, eax
mov eax, edx
shl eax, 0x19
xor eax, ecx
mov ecx, dword [esp + 0x10]
xor eax, dword [esp + 0x44]
xor esi, dword [esp]
xor ecx, dword [esp + 0x14]
xor esi, eax
mov eax, dword [esp + 0x40]
xor eax, edx
mov edx, edi
xor ecx, eax
mov eax, edi
shr edx, 1
shr eax, 2
mov dword [esp + 4], ecx
xor eax, edx
mov edx, edi
shld edx, ebx, 0x1f
mov ebx, edi
mov edi, dword [esp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
shld ebx, edi, 0x1e
mov edi, ecx
xor ebx, edx
mov edx, ecx
shl edi, 0x1f
shl edx, 0x1e
xor edx, edi
mov edi, esi
shld edi, ecx, 0x1f
mov ecx, esi
shld ecx, eax, 0x1e
mov eax, esi
xor ecx, edi
mov edi, esi
shr eax, 2
shr edi, 1
mov dword [esp + 0x38], ecx
xor eax, edi
mov edi, dword [esp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
shld ecx, edi, 0x19
xor ecx, ebx
mov ebx, eax
mov eax, esi
shr eax, 7
mov edi, ecx
mov ecx, esi
shr ebx, 7
xor eax, dword [esp + 0x18]
xor ebx, dword [esp + 0x30]
xor eax, dword [esp + 0x34]
xor ebx, dword [esp + 0x4c]
xor eax, esi
mov esi, dword [esp + 4]
xor ebx, edx
mov edx, dword [esp + 0x10]
shld ecx, esi, 0x19
xor edx, dword [esp + 8]
xor ecx, dword [esp + 0x1c]
xor edx, dword [esp + 0x1c]
xor ecx, dword [esp + 0x38]
xor edx, dword [esp + 0x14]
xor ecx, esi
shl esi, 0x19
xor esi, dword [esp + 0x20]
xor esi, dword [esp + 0xc]
xor esi, ebx
mov ebx, dword [esp]
xor ebx, dword [esp + 0x18]
xor ebx, esi
mov esi, dword [esp + 0x3c]
mov dword [esp], ebx
xor edi, dword [esp + 0x48]
add esi, 0x10
mov ebx, esi
xor edx, edi
cmp esi, dword [esp + 0x2c]
jne 0x4865b0
mov esi, dword [ebp + 8]
bswap eax
mov ebx, edx
bswap ecx
mov edx, eax
bswap ebx
shr edx, 0x10
mov byte [esi], al
mov byte [esi + 1], ah
mov byte [esi + 2], dl
mov edx, dword [esp]
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ecx
mov byte [esi + 4], cl
mov byte [esi + 5], ch
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 6], al
mov byte [esi + 7], cl
bswap edx
mov eax, edx
mov byte [esi + 8], dl
mov byte [esi + 9], dh
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 0xb], al
mov eax, ebx
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bh
shr eax, 0x10
mov byte [esi + 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0xf], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret