Function at 0x486890
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov edx, 0xefcdab89
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov eax, 0x67452301
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0x98badcfe
mov dword [ebp - 0x3c], 0x10325476
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edi
test ecx, ecx
je 0x48690c
xor eax, eax
cmp dword [ecx + eax*4], ebx
jne 0x4868f9
inc eax
cmp eax, 4
jl 0x4868e7
mov eax, 0x67452301
jmp 0x48690c
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
cmp ecx, 5
ja case.default.0x486918
jmp dword [ecx*4 + 0x486ab8]
mov ebx, 1
mov edx, dword [ebp + 0x10]
mov ecx, 0x12a3fe2d
mov edi, 0x37abe8f9
test edx, edx
je 0x486990
test ebx, ebx
je 0x486970
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
imul eax, eax, 0x6d22f5
xor eax, ecx
add eax, edi
mov edi, ecx
lea ecx, [eax - 0x7fffffff]
cmovns ecx, eax
sub edx, 1
jne 0x486940
lea eax, [ecx + ecx]
xor ecx, ecx
jmp 0x486a7c
movsx eax, byte [esi]
lea esi, [esi + 1]
imul eax, eax, 0x6d22f5
xor eax, ecx
add eax, edi
mov edi, ecx
lea ecx, [eax - 0x7fffffff]
cmovns ecx, eax
sub edx, 1
jne 0x486970
lea eax, [ecx + ecx]
xor ecx, ecx
jmp 0x486a7c
mov ebx, 1
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x4869d1
push ebx
push 8
lea eax, [ebp - 0x24]
push eax
push edi
push esi
call fcn.00486e00
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00486b80
sub edi, 0x20
add esp, 0x1c
add esi, 0x20
test edi, edi
jg 0x4869a6
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov eax, edx
jmp 0x486a7c
mov ebx, 1
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
test ecx, ecx
jle 0x486a7a
push ebx
push 4
lea eax, [ebp - 0x24]
push eax
push ecx
push esi
call fcn.00486e00
mov edx, dword [ebp - 0x28]
add esp, 0x14
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
lea esi, [ebx + 0x10]
nop dword [eax]
mov ecx, edi
lea ebx, [ebx - 0x61c88647]
shr ecx, 5
mov eax, edi
add ecx, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x24]
xor ecx, eax
lea eax, [edi + ebx]
xor ecx, eax
add edx, ecx
mov ecx, edx
mov eax, edx
shr ecx, 5
add ecx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 0x1c]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
sub esi, 1
jne 0x486a10
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
add eax, edx
mov edx, dword [ebp - 0x2c]
sub ecx, 0x10
mov esi, dword [ebp - 0x34]
add edx, edi
mov ebx, dword [ebp - 0x38]
add esi, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
test ecx, ecx
jg 0x4869f1
mov ecx, edx
mov edx, dword [ebp - 0x4c]
and eax, 0xfffffffe
mov dword [edx], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x486a8d
mov dword [eax], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x7f2bb759
mov dword [edi], ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret