Function at 0x454ea3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
mov edi, eax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
xor ecx, ecx
cmp dword [ebp + 0x18], ecx
je 0x454f8d
cmp esi, ecx
je 0x454ee3
cmp dword [ebp + 0xc], ecx
je 0x454ee3
mov eax, dword [ebp + 8]
mov al, byte [eax]
xor byte [esi + edi], al
mov al, byte [esi + edi]
mov byte [ebx], al
inc ebx
inc dword [ebp + 8]
dec dword [ebp + 0xc]
inc esi
and esi, 0xf
jne 0x454ec4
cmp dword [ebp + 0xc], 0x10
jb 0x454f50
mov eax, ebx
sub eax, edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add dword [ebp + 8], eax
push dword [ebp + 0x10]
push edi
push edi
call fcn.00454928
add esp, 0xc
cmp esi, 0x10
jae 0x454f3d
push 0xf
pop ecx
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + eax]
xor dword [eax], edx
mov edx, dword [eax]
mov esi, dword [ebp + 0x18]
mov dword [esi + eax], edx
add eax, 4
dec ecx
jne 0x454f27
sub dword [ebp + 0xc], 0x10
add dword [ebp + 0x18], 0x10
add dword [ebp - 4], 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x454f09
cmp dword [ebp + 0xc], 0
je 0x455068
push dword [ebp + 0x10]
push edi
push edi
call fcn.00454928
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [esi + edi]
sub edx, edi
sub ebx, edi
add esi, dword [ebp + 0xc]
mov cl, byte [eax + edx]
xor byte [eax], cl
mov cl, byte [eax]
dec dword [ebp + 0xc]
mov byte [eax + ebx], cl
inc eax
cmp dword [ebp + 0xc], 0
jne 0x454f74
jmp 0x455068
cmp esi, ecx
je 0x454fb2
cmp dword [ebp + 0xc], ecx
je 0x454fb2
mov dl, byte [esi + edi]
mov eax, dword [ebp + 8]
mov al, byte [eax]
xor dl, al
mov byte [ebx], dl
inc ebx
inc dword [ebp + 8]
dec dword [ebp + 0xc]
mov byte [esi + edi], al
inc esi
and esi, 0xf
jne 0x454f91
cmp dword [ebp + 0xc], 0x10
jb 0x455029
mov eax, ebx
sub eax, edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
push edi
push edi
call fcn.00454928
add esp, 0xc
cmp esi, 0x10
jae 0x455014
mov edx, dword [ebp + 8]
push 0xf
pop ecx
sub ecx, esi
sub edx, ebx
shr ecx, 2
lea eax, [esi + edi]
mov dword [ebp - 4], edx
inc ecx
jmp 0x454ff3
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0x18]
add esi, eax
mov edx, dword [esi + edx]
mov esi, dword [eax]
xor esi, edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x18]
add edx, eax
mov dword [edx], esi
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x454ff0
push 0x10
pop eax
sub dword [ebp + 0xc], eax
add dword [ebp + 0x18], eax
add dword [ebp + 8], eax
add ebx, eax
xor esi, esi
dec dword [ebp - 8]
jne 0x454fc8
cmp dword [ebp + 0xc], 0
je 0x455068
push dword [ebp + 0x10]
push edi
push edi
call fcn.00454928
mov edx, dword [ebp + 8]
mov dword [ebp + 0x18], ebx
sub dword [ebp + 0x18], edi
add esp, 0xc
lea eax, [esi + edi]
sub edx, ebx
add esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov bl, byte [eax]
dec dword [ebp + 0xc]
lea edi, [eax + ecx]
mov cl, byte [edi + edx]
xor bl, cl
mov byte [edi], bl
mov byte [eax], cl
inc eax
cmp dword [ebp + 0xc], 0
jne 0x45504d
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret