Function at 0x5db060
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48
call fcn.004a2410
mov eax, dword [0x6f1114]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dl, byte [edi]
lea ebp, [edi + 0x10]
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov ecx, dword [edi + 0x2c]
mov byte [esp + 0x13], dl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebp
test dl, 0x40
jne 0x5db0c6
push ecx
push ebp
push edi
call eax
mov eax, dword [esi + 4]
add esp, 0xc
add dword [esi], 1
mov dl, byte [esp + 0x13]
adc eax, 0
mov dword [esi + 4], eax
jmp 0x5db0ca
mov dword [esp + 0x14], ebp
movzx eax, dl
xor ecx, ecx
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [edi], al
mov dword [esp + 0x40], edx
cmp edx, 0xf
jae 0x5db101
movzx eax, byte [edi + edx]
or ecx, eax
mov byte [edi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x5db0e4
lea ebp, [edi + 0x10]
lea esi, [edi + 0x20]
mov dword [esp + 0x14], ebp
movzx eax, byte [edi + 0xf]
mov edx, dword [esp + 0x68]
or ecx, eax
mov byte [edi + 0xf], 1
cmp ecx, edx
je 0x5db129
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a1496
add esp, 0x48
ret
lea eax, [edx + 0xf]
or eax, 8
shr eax, 3
add dword [esi], eax
adc dword [esi + 4], 0
cmp dword [esi + 4], 0x20000000
jb 0x5db160
ja 0x5db148
cmp dword [esi], 0
jbe 0x5db160
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a1496
add esp, 0x48
ret
mov esi, dword [esp + 0x60]
cmp edx, 0x10
jb 0x5db205
shr edx, 4
lea ecx, [edi + 0x18]
mov dword [esp + 0x20], edx
mov eax, dword [esi]
xor dword [ebp], eax
mov eax, dword [esi + 4]
xor dword [ebp + 4], eax
push dword [esp + 0x18]
mov eax, dword [esi + 8]
xor dword [ecx], eax
mov eax, dword [esi + 0xc]
xor dword [ecx + 4], eax
push ebp
push ebp
call dword [esp + 0x28]
push dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
push edi
call dword [esp + 0x34]
add esp, 0x18
mov ecx, 8
nop dword [eax]
dec ecx
add byte [ecx + edi + 8], 1
jne 0x5db1bc
test ecx, ecx
jne 0x5db1b0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x44]
xor ecx, dword [esi]
xor eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
mov dword [ebx], ecx
sub edx, 0x10
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 4], eax
xor ecx, dword [esi + 8]
mov eax, dword [esp + 0x50]
xor eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebx + 8], ecx
lea ecx, [edi + 0x18]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [esp + 0x20], 1
mov dword [esp + 0x68], edx
jne 0x5db177
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], esi
lea eax, [edi + 0x18]
mov ebp, eax
test edx, edx
je 0x5db36a
mov ebp, dword [esp + 0x14]
mov edx, esi
mov edi, dword [esp + 0x68]
mov ecx, ebp
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x5db222
mov edi, dword [esp + 0x18]
push edi
push ebp
push ebp
mov ebp, dword [esp + 0x28]
call ebp
push edi
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x54]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x80]
add esp, 0x18
xor edx, edx
cmp ecx, 0x40
jb 0x5db338
lea ebp, [ecx - 1]
lea eax, [esp + ecx + 0x43]
add ebp, ebx
cmp ebx, eax
ja 0x5db279
lea eax, [esp + 0x44]
cmp ebp, eax
jae 0x5db338
lea eax, [ecx - 1]
add eax, esi
cmp ebx, eax
ja 0x5db28a
cmp ebp, esi
jae 0x5db338
mov eax, ecx
lea ebp, [esi + 0x30]
lea ecx, [esp + 0x44]
mov edi, esi
sub ecx, ebx
sub edi, ebx
mov dword [esp + 0x30], ecx
and eax, 0xffffffc0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x54]
sub ecx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x2c], edi
sub ecx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov ecx, edi
nop dword [eax]
movups xmm0, xmmword [ebp - 0x30]
mov edi, dword [esp + 0x38]
lea ebp, [ebp + 0x40]
movups xmm1, xmmword [esp + edx + 0x44]
add edx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx + eax - 0x40]
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
mov edi, dword [esp + 0x24]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x3c]
jb 0x5db2d0
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
lea ebp, [edi + 0x18]
cmp edx, ecx
jae 0x5db36a
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x44]
sub esi, eax
sub ebx, eax
nop dword [eax + eax]
lea ecx, [esp + 0x44]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor al, byte [ecx]
mov byte [ecx + ebx], al
cmp edx, edi
jb 0x5db350
mov edi, dword [esp + 0x24]
lea ebp, [edi + 0x18]
mov ecx, dword [esp + 0x40]
lea esi, [edi + 0x18]
mov ebx, dword [esp + 0x14]
cmp ecx, 0x10
jae 0x5db392
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.004b95f0
add esp, 0xc
mov ebp, esi
push dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
push edi
call dword [esp + 0x28]
mov eax, dword [esp + 0x50]
add esp, 0xc
xor dword [ebx], eax
mov eax, dword [esp + 0x48]
xor dword [ebx + 4], eax
mov eax, dword [esp + 0x4c]
xor dword [ebp], eax
mov eax, dword [esp + 0x50]
xor dword [ebp + 4], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x54]
mov byte [edi], al
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a1496
add esp, 0x48
ret