Function at 0x48fb10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x44
call fcn.00628ef0
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x34], ebx
push edi
mov edi, edx
mov dword [ebp - 0x2c], esi
mov dl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov byte [ebp - 0x19], dl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
test dl, 0x40
jne 0x48fb63
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
mov dl, byte [ebp - 0x19]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, dl
xor ecx, ecx
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov dword [ebp - 0x44], edx
cmp edx, 0xf
jae 0x48fb93
nop dword [eax]
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x48fb80
movzx eax, byte [esi + 0xf]
mov edx, dword [ebp + 0xc]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edx
je 0x48fbb8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
lea eax, [edx + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x48fbef
ja 0x48fbd9
cmp dword [esi + 0x20], 0
jbe 0x48fbef
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00628dca
mov esp, ebp
pop ebp
ret
cmp edx, 0x10
jb 0x48fc7b
shr edx, 4
lea ecx, [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [edi]
xor dword [ecx], eax
mov eax, dword [edi + 4]
xor dword [ecx + 4], eax
push dword [ebp - 0x24]
mov eax, dword [edi + 8]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0x1c], eax
push ecx
push ecx
call dword [ebp - 0x28]
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0x18
mov eax, 8
dec eax
add byte [eax + esi + 8], 1
jne 0x48fc3e
test eax, eax
jne 0x48fc32
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [edi]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [ebx], ecx
sub edx, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 4], eax
xor ecx, dword [edi + 8]
mov eax, dword [ebp - 0xc]
xor eax, dword [edi + 0xc]
add edi, 0x10
mov dword [ebx + 8], ecx
lea ecx, [esi + 0x10]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [ebp - 0x20], 1
mov dword [ebp + 0xc], edx
jne 0x48fc01
mov dword [ebp - 0x34], ebx
test edx, edx
je 0x48fdbb
lea ecx, [esi + 0x10]
mov esi, edi
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edx, 1
jne 0x48fc88
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x24]
lea eax, [esi + 0x10]
push eax
push eax
call dword [ebp - 0x28]
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
add esp, 0x18
xor edx, edx
test ecx, ecx
je 0x48fdbb
cmp ecx, 0x40
jb 0x48fd9c
lea eax, [ebp + ecx - 0x19]
cmp ebx, eax
ja 0x48fce5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ecx - 1]
add eax, ebx
cmp eax, dword [ebp - 0x20]
jae 0x48fd9c
lea eax, [ecx - 1]
add eax, edi
cmp ebx, eax
ja 0x48fcfb
lea eax, [ecx - 1]
add eax, ebx
cmp eax, edi
jae 0x48fd9c
mov eax, ecx
mov esi, edi
lea ecx, [ebp - 0x18]
sub esi, ebx
sub ecx, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], ecx
lea esi, [edi + 0x30]
lea ecx, [ebp - 8]
and eax, 0xffffffc0
sub ecx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ecx
lea eax, [ebx + 0x10]
lea ecx, [ebp + 8]
sub ecx, ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
nop
movups xmm0, xmmword [esi - 0x30]
lea esi, [esi + 0x40]
movups xmm1, xmmword [ebp + edx - 0x18]
add edx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx + eax - 0x40]
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp - 0x3c]
pxor xmm1, xmm0
movups xmm0, xmmword [esi - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [esi - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [ebp - 0x30]
jb 0x48fd30
mov esi, dword [ebp - 0x2c]
mov eax, edx
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
cmp eax, dword [ebp + 0xc]
jae 0x48fdbb
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
sub edi, eax
sub ebx, eax
lea ecx, [ebp - 0x18]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor al, byte [ecx]
mov byte [ecx + ebx], al
cmp edx, esi
jb 0x48fda6
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jae 0x48fdd9
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.0062c020
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi], al
xor ecx, ebp
pop esi
xor eax, eax
pop ebx
call fcn.00628dca
mov esp, ebp
pop ebp
ret