Function at 0x5df110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
mov dword [ebp - 4], esi
je 0x5df12e
mov eax, 0xfffffffb
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x34], 0
je 0x5df140
mov eax, 0xfffffffa
pop esi
mov esp, ebp
pop ebp
ret 0xc
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x5df421
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x5df421
cdq
and edx, 0x7f
push ebx
lea ebx, [edx + eax]
mov eax, dword [esi + 0x30]
sar ebx, 7
sub eax, 0
mov dword [ebp + 0xc], ebx
je 0x5df3e4
dec eax
je 0x5df348
dec eax
je 0x5df187
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp + 8], ebx
test ebx, ebx
jle 0x5df413
xor edi, edi
jmp 0x5df1ba
mov esi, dword [ebp - 4]
xor edi, edi
jmp 0x5df1ba
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
mov eax, edx
mov dword [ebp - 0x18], ecx
push eax
mov ecx, esi
call fcn.005de3c0
movzx eax, byte [ebp - 0x24]
movzx ebx, byte [ebp - 0x14]
add bl, bl
mov edx, edi
and edx, 7
and al, 0x80
mov cl, dl
shr al, cl
movzx ecx, byte [ebp - 0x13]
shr cl, 7
or cl, bl
movzx ebx, byte [ebp - 0x13]
mov byte [ebp - 0x14], cl
movzx ecx, byte [ebp - 0x12]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0x12]
mov byte [ebp - 0x13], cl
movzx ecx, byte [ebp - 0x11]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0x11]
mov byte [ebp - 0x12], cl
movzx ecx, byte [ebp - 0x10]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0x10]
mov byte [ebp - 0x11], cl
movzx ecx, byte [ebp - 0xf]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0xf]
mov byte [ebp - 0x10], cl
movzx ecx, byte [ebp - 0xe]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0xe]
mov byte [ebp - 0xf], cl
movzx ecx, byte [ebp - 0xd]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0xd]
mov byte [ebp - 0xe], cl
movzx ecx, byte [ebp - 0xc]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0xc]
mov byte [ebp - 0xd], cl
movzx ecx, byte [ebp - 0xb]
shr cl, 7
add bl, bl
or cl, bl
mov esi, edi
shr esi, 3
add esi, dword [ebp + 0x10]
mov byte [ebp - 0xc], cl
movzx ecx, byte [ebp - 0xa]
xor byte [esi], al
mov al, byte [esi]
shr cl, 7
movzx ebx, byte [ebp - 0xb]
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 0xa]
mov byte [ebp - 0xb], cl
movzx ecx, byte [ebp - 9]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 9]
mov byte [ebp - 0xa], cl
movzx ecx, byte [ebp - 8]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 8]
mov byte [ebp - 9], cl
movzx ecx, byte [ebp - 7]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 7]
mov byte [ebp - 8], cl
movzx ecx, byte [ebp - 6]
shr cl, 7
add bl, bl
or cl, bl
movzx ebx, byte [ebp - 6]
mov byte [ebp - 7], cl
movzx ecx, byte [ebp - 5]
shr cl, 7
add bl, bl
or cl, bl
mov byte [ebp - 6], cl
mov cl, 7
sub cl, dl
mov dl, byte [ebp - 5]
shr al, cl
add dl, dl
inc edi
and al, 1
or al, dl
mov byte [ebp - 5], al
cmp edi, 0x80
jl 0x5df1b7
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
test eax, eax
jg 0x5df1b0
mov ebx, dword [ebp + 0xc]
mov eax, ebx
pop ebx
pop edi
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x38]
xor eax, dword [edi]
mov ecx, dword [esi + 0x3c]
xor ecx, dword [edi + 4]
mov edx, dword [esi + 0x40]
xor edx, dword [edi + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x44]
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.005de3c0
lea eax, [ebx - 1]
add edi, 0x10
mov dword [ebp + 8], eax
test eax, eax
jle 0x5df413
mov ebx, dword [ebp + 0x10]
add ebx, 8
mov eax, dword [ebx - 8]
xor eax, dword [edi]
mov ecx, dword [ebx - 4]
xor ecx, dword [edi + 4]
mov edx, dword [edi + 8]
xor edx, dword [ebx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 4]
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x20], ecx
add ebx, 0x10
lea ecx, [ebx - 8]
mov dword [ebp - 0x1c], edx
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.005de3c0
mov eax, dword [ebp + 8]
dec eax
add edi, 0x10
mov dword [ebp + 8], eax
test eax, eax
jg 0x5df391
mov ebx, dword [ebp + 0xc]
mov eax, ebx
pop ebx
pop edi
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp + 8], ebx
test ebx, ebx
jle 0x5df413
mov eax, edi
mov edi, dword [ebp + 0x10]
sub eax, edi
mov dword [ebp + 0x10], eax
jmp 0x5df3fa
mov eax, dword [ebp + 0x10]
push edi
add eax, edi
push eax
mov ecx, esi
call fcn.005de3c0
mov eax, dword [ebp + 8]
dec eax
add edi, 0x10
mov dword [ebp + 8], eax
test eax, eax
jg 0x5df3f7
mov eax, ebx
pop ebx
pop edi
shl eax, 7
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc