Function at 0x46eb78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
add edx, 8
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
shr ecx, 3
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46ef2e
mov edx, dword [ebp - 8]
inc edx
and edx, 0xff
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
jne 0x46ebac
mov eax, dword [ebp + 0xc]
and eax, 7
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add edx, ecx
and edx, 0xff
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
je 0x46f286
mov eax, dword [ebp - 8]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax*4]
mov edx, dword [ebp + 0x10]
mov cl, byte [edx]
xor al, cl
mov edx, dword [ebp + 0x14]
mov byte [edx], al
inc dword [ebp + 0x10]
inc dword [ebp + 0x14]
dec dword [ebp - 0x18]
jne 0x46ef42
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret