Function at 0x555670
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40
call fcn.005b9970
mov eax, dword [0x686300]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov dl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xb], dl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
push edi
test dl, 0x40
jne 0x5556d8
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
mov dl, byte [esp + 0x1b]
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 [esp + 0x30], edx
cmp edx, 0xf
jae 0x555705
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x5556f2
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x5c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x55572c
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x40
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x555764
ja 0x55574d
cmp dword [esi + 0x20], 0
jbe 0x555764
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005b7dc4
add esp, 0x40
ret
push ebp
mov ebp, edi
shr ebp, 4
test ebp, ebp
je 0x5557aa
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x20]
push ebp
push dword [esp + 0x24]
push ebx
call dword [esp + 0x34]
shl ebp, 4
add esp, 0x18
add dword [esp + 0x14], ebp
add ebx, ebp
sub edi, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x60], edi
je 0x5558ba
shr ebp, 4
push ebp
push esi
call fcn.00555a30
add esp, 8
test edi, edi
je 0x5558ba
xor ecx, ecx
test edi, edi
je 0x5557c4
mov al, byte [ebx + ecx]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, edi
jb 0x5557b8
mov ebp, dword [esp + 0x18]
lea eax, [esi + 0x10]
push ebp
push eax
push eax
call dword [esp + 0x2c]
push ebp
lea eax, [esp + 0x4c]
push eax
push esi
call dword [esp + 0x38]
add esp, 0x18
xor edx, edx
test edi, edi
je 0x5558be
mov ebp, dword [esp + 0x14]
cmp edi, 0x20
jb 0x55589b
lea ecx, [ebp - 1]
lea eax, [esp + edi + 0x3b]
add ecx, edi
cmp ebp, eax
ja 0x555810
lea eax, [esp + 0x3c]
cmp ecx, eax
jae 0x55589b
lea eax, [ebx - 1]
add eax, edi
cmp ebp, eax
ja 0x55581d
cmp ecx, ebx
jae 0x55589b
mov esi, ebp
mov eax, edi
sub esi, ebx
and eax, 0x1f
mov dword [esp + 0x1c], esi
mov ecx, edi
lea esi, [esp + 0x3c]
sub ecx, eax
sub esi, ebx
mov eax, ebx
mov dword [esp + 0x30], esi
lea esi, [esp + 0x4c]
mov edi, dword [esp + 0x30]
sub esi, ebx
lea ebx, [ebp + 0x10]
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov ebx, esi
movdqu xmm0, xmmword [eax]
mov esi, dword [esp + 0x38]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax + ebp - 0x20], xmm1
movdqu xmm0, xmmword [eax - 0x10]
movdqu xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [esi + edx], xmm1
mov esi, dword [esp + 0x2c]
add edx, 0x20
cmp edx, ecx
jb 0x555855
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
cmp edx, edi
jae 0x5558ba
lea eax, [esp + 0x3c]
sub ebx, eax
sub ebp, eax
lea ecx, [esp + 0x3c]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor al, byte [ecx]
mov byte [ecx + ebp], al
cmp edx, edi
jb 0x5558a7
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
cmp edx, 0x10
jae 0x5558e1
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebp
lea eax, [esp + 0x40]
push eax
push esi
call dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x48]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x4c]
pop ebp
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.005b7dc4
add esp, 0x40
ret