Function at 0x487ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
movzx eax, byte [edx + 2]
movzx ebx, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 7]
shl eax, 8
mov dword [ebp - 4], eax
movzx eax, byte [edx + 6]
or dword [ebp - 4], eax
movzx eax, byte [edx + 5]
shl dword [ebp - 4], 8
or dword [ebp - 4], eax
movzx eax, byte [edx + 4]
shl dword [ebp - 4], 8
or dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esi, dword [ecx + 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], ebx
xor ebx, dword [esi]
add esi, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], ebx
xor eax, dword [esi]
add esi, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
movzx eax, byte [edx + 0xb]
shl eax, 8
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 0xa]
mov edi, dword [ebp - 0x10]
or edi, eax
mov dword [ebp - 8], esi
movzx eax, byte [edx + 9]
shl edi, 8
or edi, eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [edx + 8]
shl edi, 8
or edi, eax
mov eax, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], eax
xor eax, dword [esi]
add esi, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 0xf]
shl eax, 8
mov dword [ebp - 0xc], eax
movzx eax, byte [edx + 0xe]
or dword [ebp - 0xc], eax
movzx eax, byte [edx + 0xd]
shl dword [ebp - 0xc], 8
or dword [ebp - 0xc], eax
movzx eax, byte [edx + 0xc]
shl dword [ebp - 0xc], 8
mov edx, dword [ebp - 0xc]
or edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ecx]
mov dword [ebp - 0x28], edx
xor edx, dword [esi]
add esi, 4
sar eax, 1
mov dword [ebp - 0xc], edx
dec eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], esi
test eax, eax
jle 0x488242
nop
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x75f718]
xor edx, dword [ecx*4 + 0x760718]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x75fb18]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ecx]
add ecx, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [ebp - 0x18]
mov edx, dword [edx*4 + 0x760718]
xor edx, dword [ecx*4 + 0x75f718]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x75fb18]
xor edx, dword [esi]
add esi, 4
mov ecx, dword [ebp - 4]
shr ecx, 8
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], edx
movzx edx, cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x75f718]
mov dword [ebp - 8], esi
xor edx, dword [ecx*4 + 0x760718]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
movzx ecx, bl
shr ebx, 8
xor edx, dword [ecx*4 + 0x75fb18]
xor edx, dword [esi]
add esi, 4
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x3c], edx
movzx edx, bl
mov dword [ebp - 8], esi
mov ebx, dword [edx*4 + 0x75f718]
xor ebx, dword [ecx*4 + 0x760718]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x75e9f0]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x75fb18]
xor ebx, dword [esi]
add esi, 4
mov ecx, ebx
mov dword [ebp - 0x40], ebx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
shr ecx, 0x10
mov edx, dword [edx*4 + 0x75f718]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x760718]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x14]
movzx ecx, dl
xor edi, dword [ecx*4 + 0x75fb18]
mov ecx, edi
mov dword [ebp - 0x14], edi
xor ecx, dword [esi]
add esi, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 8], esi
mov edx, dword [edx*4 + 0x75f718]
xor edx, dword [ecx*4 + 0x760718]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 4]
movzx ecx, dl
xor edi, dword [ecx*4 + 0x75fb18]
mov ecx, edi
mov dword [ebp - 4], edi
xor ecx, dword [esi]
add esi, 4
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x75f718]
mov dword [ebp - 8], esi
xor edx, dword [ecx*4 + 0x760718]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
movzx ecx, dl
shr edx, 8
movzx edx, dl
xor edi, dword [ecx*4 + 0x75fb18]
mov ecx, edi
mov dword [ebp - 0x10], edi
xor ecx, dword [esi]
add esi, 4
mov edx, dword [edx*4 + 0x75f718]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 8], esi
xor edx, dword [ecx*4 + 0x760718]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x75e9f0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x75fb18]
xor edx, dword [esi]
add esi, 4
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0x14]
dec eax
mov dword [ebp - 8], esi
test eax, eax
jg 0x487fe0
mov eax, edx
lea edx, [esi + 4]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x75f718]
xor ecx, dword [eax*4 + 0x760718]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x75e9f0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x75fb18]
xor ecx, dword [esi]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 8], edx
mov ecx, dword [ecx*4 + 0x760718]
xor ecx, dword [eax*4 + 0x75f718]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x75e9f0]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x75fb18]
xor ecx, dword [edx]
add edx, 4
mov eax, dword [ebp - 4]
shr eax, 8
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], ecx
movzx ecx, al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x75f718]
mov dword [ebp - 8], edx
xor ecx, dword [eax*4 + 0x760718]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x75e9f0]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x75fb18]
xor ecx, dword [edx]
add edx, 4
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], ecx
movzx ecx, bl
mov dword [ebp - 8], edx
mov ebx, dword [ecx*4 + 0x75f718]
xor ebx, dword [eax*4 + 0x760718]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x75e9f0]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ebx, dword [eax*4 + 0x75fb18]
mov eax, dword [ebp - 0x2c]
xor ebx, dword [edx]
add edx, 4
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 8], edx
movzx ecx, byte [eax + 0x75edf0]
mov eax, dword [ebp - 0x30]
shr eax, 0x18
movzx eax, byte [eax + 0x75edf0]
shl eax, 8
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
mov eax, dword [ebp - 0x18]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
xor ecx, dword [edx]
add edx, 4
shr eax, 0x18
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
movzx ecx, byte [eax + 0x75edf0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
mov eax, dword [ebp - 0x30]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
mov eax, dword [ebp - 0x18]
xor ecx, dword [edx]
add edx, 4
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
movzx ecx, byte [eax + 0x75edf0]
mov eax, ebx
mov ebx, dword [ebp - 0x30]
shr eax, 0x18
movzx eax, byte [eax + 0x75edf0]
shl eax, 8
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
shr ebx, 0x10
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x75edf0]
xor ecx, eax
movzx eax, bl
xor ecx, dword [edx]
add edx, 4
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
movzx ebx, byte [eax + 0x75edf0]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
mov dword [ebp - 8], edx
movzx eax, byte [eax + 0x75edf0]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 0x2c]
shl ebx, 8
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x75edf0]
mov ecx, dword [ebp + 8]
xor ebx, eax
mov eax, dword [ebp - 0x14]
movzx eax, al
shl ebx, 8
push 4
push 0
movzx eax, byte [eax + 0x75edf0]
xor ebx, eax
lea eax, [edx + 4]
xor ebx, dword [edx]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov byte [ecx], dl
shr edx, 0x18
mov byte [ecx + 3], dl
mov edx, dword [ebp - 0xc]
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov byte [ecx + 4], dl
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, dword [ebp - 0x30]
mov eax, edx
shr eax, 8
mov byte [ecx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xd], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0xe], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov byte [ecx + 8], dl
mov byte [ecx + 0xc], bl
shr edx, 0x18
push eax
mov eax, dword [fcn.005f6720]
shr ebx, 0x18
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xf], bl
call eax
push 4
lea eax, [ebp - 0x20]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
push 4
lea eax, [ebp - 0x24]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
push 4
lea eax, [ebp - 0x28]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
push 4
lea eax, [ebp - 0x34]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
push 4
lea eax, [ebp - 0x38]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
add esp, 0x48
lea eax, [ebp - 0x3c]
push 4
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
push 4
lea eax, [ebp - 0x40]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
push 4
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [fcn.005f6720]
call eax
add esp, 0x24
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret