Function at 0x45fb24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi], ecx
je 0x45fb3d
push 0xfffffffffffffffb
pop eax
jmp 0x45fdd7
cmp dword [esi + 8], ecx
je 0x45fb46
push 0xfffffffffffffffa
jmp 0x45fb37
push edi
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x45fdd4
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jle 0x45fdd4
cdq
and edx, 0x7f
lea ebx, [edx + eax]
mov eax, dword [esi + 4]
sar ebx, 7
sub eax, ecx
mov dword [ebp - 4], ebx
je 0x45fda1
dec eax
je 0x45fd14
dec eax
je 0x45fb87
or eax, 0xffffffff
jmp 0x45fdd6
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp + 8], ebx
cmp ebx, ecx
jle 0x45fdcd
xor edi, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push eax
push esi
call fcn.00458565
mov eax, edi
cdq
and edx, 7
add eax, edx
mov dl, byte [ebp - 0x24]
and dl, 0x80
mov ebx, edi
and ebx, 7
mov cl, bl
shr dl, cl
mov cl, byte [ebp - 0x13]
shr cl, 7
sar eax, 3
add eax, dword [ebp + 0x14]
add esp, 0xc
xor byte [eax], dl
mov dl, byte [ebp - 0x14]
add dl, dl
or cl, dl
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0x14], cl
mov cl, byte [ebp - 0x12]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x13], cl
mov cl, byte [ebp - 0x11]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 0x10]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0x11], cl
mov cl, byte [ebp - 0xf]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0xf]
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 0xe]
mov al, byte [eax]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0xe]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xd]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0xe], cl
mov cl, byte [ebp - 0xc]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0xc]
mov byte [ebp - 0xd], cl
mov cl, byte [ebp - 0xb]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0xb]
mov byte [ebp - 0xc], cl
mov cl, byte [ebp - 0xa]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 0xa]
mov byte [ebp - 0xb], cl
mov cl, byte [ebp - 9]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 9]
mov byte [ebp - 0xa], cl
mov cl, byte [ebp - 8]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 8]
mov byte [ebp - 9], cl
mov cl, byte [ebp - 7]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 7]
mov byte [ebp - 8], cl
mov cl, byte [ebp - 6]
shr cl, 7
add dl, dl
or cl, dl
mov dl, byte [ebp - 6]
mov byte [ebp - 7], cl
mov cl, byte [ebp - 5]
shr cl, 7
add dl, dl
or cl, dl
mov byte [ebp - 6], cl
mov cl, 7
sub cl, bl
shr al, cl
mov cl, byte [ebp - 5]
add cl, cl
and al, 1
or al, cl
inc edi
mov byte [ebp - 5], al
cmp edi, 0x80
jl 0x45fbac
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
jg 0x45fbaa
jmp 0x45fd9c
mov eax, dword [esi + 0xc]
xor eax, dword [edi]
push dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x10]
xor eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
xor eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x18]
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00458565
lea eax, [ebx - 1]
add esp, 0xc
add edi, 0x10
mov dword [ebp + 8], eax
test eax, eax
jle 0x45fdcd
mov ebx, dword [ebp + 0x14]
add ebx, 8
mov eax, dword [ebx - 8]
xor eax, dword [edi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx - 4]
xor eax, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 8]
xor eax, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx - 0xc]
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebx - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00458565
add esp, 0xc
add edi, 0x10
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
jg 0x45fd5a
mov ebx, dword [ebp - 4]
jmp 0x45fdcd
mov dword [ebp + 8], ebx
cmp ebx, ecx
jle 0x45fdcd
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0x14]
sub dword [ebp - 4], edi
mov eax, dword [ebp - 4]
push edi
add eax, edi
push eax
push esi
call fcn.00458565
add esp, 0xc
add edi, 0x10
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
jg 0x45fdb1
mov eax, ebx
shl eax, 7
jmp 0x45fdd6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret