Function at 0x5bf750
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xdc
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
neg eax
push ebx
mov ebx, dword [esp + 0xe4]
and eax, 0xf
add eax, ecx
mov dword [esp + 0x18], ebx
push ebp
mov ebp, dword [esp + 0xec]
push esi
lea ecx, [eax + 0x30]
mov dword [esp + 0x14], ebp
push edi
mov edi, dword [ebx + 0x2b4]
lea esi, [eax + 0x40]
mov dword [esp + 0x1c], ecx
lea ecx, [ebx + 0x120]
mov dword [esp + 0x3c], edi
lea edx, [ebx + 0x100]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
mov dword [ecx], 0
push ecx
push edx
cmp edi, 0x40
ja 0x5bfa03
push 0x80
push 0x664b50
push eax
mov dword [esp + 0x54], 0x80
call fcn.00443840
push dword [esp + 0x24]
lea eax, [ebx + 0x178]
push eax
call fcn.00573c10
mov ecx, dword [esp + 0x38]
add esp, 0x1c
movups xmm0, xmmword [ebx + 0x284]
xor ebp, ebp
mov dword [ebx + 0x170], 0
test byte [ebx + 0x20], 2
movups xmmword [ecx], xmm0
mov dword [ebx + 0x298], 0xd
mov dword [ebx + 0x29c], 0
mov dword [ebx + 0x2a0], edi
mov dword [ebx + 0x2a4], 0
je 0x5bf88c
test edi, edi
je 0x5bf9d6
mov ecx, dword [esp + 0x14]
mov ebp, edi
mov edx, dword [esp + 0x18]
sub ecx, esi
sub edx, esi
movzx eax, byte [ecx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
movzx eax, byte [esi - 1]
mov byte [edx + esi - 1], al
sub edi, 1
jne 0x5bf870
jmp 0x5bf9d6
test edi, edi
je 0x5bf9d6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp edi, 0x40
jb 0x5bf9fd
lea ebx, [ecx - 1]
xor ebp, ebp
lea edx, [eax + 0x3f]
add ebx, edi
add edx, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edx
cmp esi, ebx
ja 0x5bf8c5
cmp edx, ecx
jae 0x5bf9fd
mov edx, dword [esp + 0x14]
lea ebx, [edx - 1]
add ebx, edi
cmp esi, ebx
ja 0x5bf8dc
cmp dword [esp + 0x30], edx
jae 0x5bf996
cmp ecx, ebx
ja 0x5bf8ea
cmp dword [esp + 0x38], edx
jae 0x5bf996
mov ebx, edi
and ebx, 0xffffffc0
mov dword [esp + 0x28], ebx
lea ebx, [ecx + 0x20]
mov dword [esp + 0x38], ebx
lea ebx, [eax + 0x50]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x30], eax
mov eax, edx
mov edi, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x38]
mov esi, eax
movups xmm0, xmmword [ebx - 0x10]
lea eax, [ebx + edi]
movups xmm1, xmmword [edx + ebp]
lea ecx, [ecx + 0x40]
movups xmm2, xmmword [esi + ecx - 0x40]
lea ebx, [ebx + 0x40]
pxor xmm0, xmm1
movups xmmword [ebx - 0x50], xmm1
movups xmm1, xmmword [eax + esi]
movups xmmword [ecx - 0x60], xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [ebx - 0x40], xmm1
pxor xmm0, xmm1
movaps xmm1, xmm2
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx - 0x30]
movups xmmword [ebx - 0x30], xmm2
movups xmm2, xmmword [edx + ebp + 0x30]
add ebp, 0x40
pxor xmm1, xmm0
mov eax, ebp
movups xmm0, xmmword [ebx - 0x20]
movups xmmword [ecx - 0x40], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmmword [ebx - 0x20], xmm2
cmp ebp, dword [esp + 0x28]
jb 0x5bf913
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp eax, edi
jae 0x5bf9d6
mov eax, dword [esp + 0x10]
lea ebx, [eax + 0x40]
mov dword [esp + 0x28], edi
mov eax, ecx
sub edx, ecx
sub eax, esi
mov dword [esp + 0x20], edx
add ebx, ebp
mov dword [esp + 0x3c], eax
mov esi, edi
sub esi, ebp
mov ebp, edx
lea ecx, [ebx + eax]
mov al, byte [ebx]
mov dl, byte [ecx + ebp]
lea ebx, [ebx + 1]
xor al, dl
mov byte [ebx - 1], dl
mov byte [ecx], al
mov eax, dword [esp + 0x3c]
sub esi, 1
jne 0x5bf9b3
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov esi, ebp
neg esi
and esi, 0xf
push esi
lea eax, [edi + 0x40]
add eax, ebp
push 0
push eax
call fcn.005c9aa0
lea eax, [esi + ebp]
lea ecx, [eax + 0x20]
lea edx, [eax + edi]
jmp 0x5bfafc
mov edx, dword [esp + 0x14]
jmp 0x5bf996
push 0x40
push 0x664b50
push eax
mov dword [esp + 0x54], 0x40
call fcn.00443840
push dword [esp + 0x24]
lea eax, [ebx + 0x178]
push eax
call fcn.00573c10
push 0x10
lea eax, [ebx + 0x284]
mov dword [ebx + 0x120], 1
push eax
lea eax, [ebx + 0x178]
mov dword [ebx + 0x170], 0
push eax
call fcn.00573ce0
add esp, 0x28
mov dword [esp + 0x1c], esi
test byte [ebx + 0x20], 2
mov dword [ebx + 0x298], 0xd
mov dword [ebx + 0x29c], 0
mov dword [ebx + 0x2a0], edi
mov dword [ebx + 0x2a4], 0
je 0x5bfaab
lea eax, [ebx + 0x120]
push eax
lea eax, [ebx + 0x100]
push eax
push edi
push dword [esp + 0x20]
push ebp
call fcn.00443840
push edi
lea eax, [ebx + 0x178]
push ebp
push eax
call fcn.00573ce0
jmp 0x5bfad3
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x178]
push edi
push esi
push eax
call fcn.00573ce0
lea eax, [ebx + 0x120]
push eax
lea eax, [ebx + 0x100]
push eax
push edi
push esi
push ebp
call fcn.00443840
add esp, 0x20
mov eax, edi
neg eax
and eax, 0xf
push eax
lea eax, [ebx + 0x178]
push 0x664b50
push eax
call fcn.00573ce0
mov ebp, edi
mov ecx, 0x10
mov edi, dword [esp + 0x1c]
mov edx, edi
mov esi, dword [esp + 0x20]
add esp, 0xc
movups xmm0, xmmword [ebx + 0x298]
add esi, ebp
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
add esi, ebp
lea ebp, [ebx + 0x178]
push ebp
movups xmmword [edx + 0x40], xmm0
call fcn.00573ce0
push dword [esp + 0x4c]
push edi
call fcn.00401320
test byte [ebx + 0x20], 2
lea eax, [ebx + 0x274]
cmove eax, dword [esp + 0x30]
push eax
push ebp
call fcn.00573b90
add esp, 0x1c
mov dword [ebx + 0x2b4], 0xffffffff
test byte [ebx + 0x20], 2
je 0x5bfb6e
movups xmm0, xmmword [ebx + 0x274]
mov eax, dword [esp + 0x2c]
movups xmmword [esi], xmm0
jmp 0x5bfbac
push 0x10
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x5bfba5
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
jbe 0x5bfba1
lea eax, [ecx - 0x10]
sub esi, ecx
push eax
push 0
add esi, 0x10
push esi
call fcn.005c9aa0
add esp, 0xc
xor eax, eax
jmp 0x5bfbb7
mov eax, dword [esp + 0x2c]
sub eax, 0x10
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0xdc
ret