Function at 0x5ba5a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x68
call fcn.005fab70
mov eax, dword [0x758f44]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 1
call fcn.004507f0
test eax, eax
je 0x5ba6a8
mov eax, dword [esp + 0x94]
mov ebp, dword [esp + 0x88]
add eax, ebp
cmp eax, 0xe
jge 0x5ba62d
push 0x2e
push str.cryptoevpp5_crpt2.c
push 0x82
push 0xe7
push 6
call fcn.00560730
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005f9dd5
add esp, 0x68
ret
push edi
call fcn.0055a850
push eax
call fcn.004507f0
add esp, 8
test eax, eax
jne 0x5ba670
push 0x33
push str.cryptoevpp5_crpt2.c
push 0x11c
push 0xe7
push 6
call fcn.00560730
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005f9dd5
add esp, 0x68
ret
push ebx
push dword [esp + 0x98]
push eax
push dword [esp + 0x98]
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x98]
push esi
call fcn.00561420
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005f9dd5
add esp, 0x68
ret
push edi
call fcn.0055b0b0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
js 0x5ba98d
call fcn.00556380
mov dword [esp + 0x14], eax
test eax, eax
je 0x5ba98d
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
test esi, esi
jne 0x5ba6e6
mov esi, 0x6f1967
xor ecx, ecx
jmp 0x5ba700
mov ecx, dword [esp + 0x80]
cmp ecx, 0xffffffff
jne 0x5ba700
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5ba6f7
sub ecx, edx
push 0
push edi
push ecx
push esi
mov esi, dword [esp + 0x24]
push esi
call fcn.005565d0
add esp, 0x14
test eax, eax
je 0x5ba984
call fcn.00556380
mov ebp, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x5ba984
mov edx, dword [esp + 0x94]
test edx, edx
je 0x5ba939
mov ecx, 1
cmp edx, dword [esp + 0x1c]
mov edi, edx
mov eax, ecx
mov byte [esp + 0x13], cl
cmovg edi, dword [esp + 0x1c]
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, ecx
shr eax, 8
push esi
push ebp
mov dword [esp + 0x34], edi
mov byte [esp + 0x1a], al
call fcn.00556200
add esp, 8
test eax, eax
je 0x5ba960
push dword [esp + 0x88]
push dword [esp + 0x1c]
push ebp
call fcn.005568e0
add esp, 0xc
test eax, eax
je 0x5ba960
push 4
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.005568e0
add esp, 0xc
test eax, eax
je 0x5ba960
push 0
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.005564c0
add esp, 0xc
test eax, eax
je 0x5ba960
push edi
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0060e770
add esp, 0xc
mov dword [esp + 0x20], 1
cmp dword [esp + 0x8c], 1
jle 0x5ba91c
push esi
push ebp
call fcn.00556200
add esp, 8
test eax, eax
je 0x5ba960
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.005568e0
add esp, 0xc
test eax, eax
je 0x5ba960
push 0
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.005564c0
add esp, 0xc
test eax, eax
je 0x5ba960
xor ecx, ecx
test edi, edi
jle 0x5ba902
cmp edi, 0x40
jb 0x5ba8db
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x33]
add edx, edi
cmp ebx, eax
ja 0x5ba862
lea eax, [esp + 0x34]
cmp edx, eax
jae 0x5ba8db
mov eax, edi
and eax, 0x8000003f
jns 0x5ba870
dec eax
or eax, 0xffffffc0
inc eax
mov esi, edi
lea ebp, [esp + 0x34]
sub esi, eax
lea edi, [esp + 0x44]
sub ebp, ebx
lea eax, [ebx + 0x20]
sub edi, ebx
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + ecx + 0x34]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + ecx + 0x44]
add ecx, 0x40
mov edx, ecx
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, esi
jl 0x5ba883
mov edi, dword [esp + 0x2c]
cmp edx, edi
jge 0x5ba8fe
lea esi, [esp + 0x34]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x5ba8f0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x8c]
jl 0x5ba7f2
mov edx, dword [esp + 0x24]
add ebx, edi
mov ecx, dword [esp + 0x28]
sub edx, edi
inc ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
test edx, edx
jne 0x5ba741
push ebp
call fcn.005562f0
push esi
call fcn.005562f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005f9dd5
add esp, 0x68
ret
push ebp
call fcn.005562f0
push esi
call fcn.005562f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005f9dd5
add esp, 0x68
ret
push esi
call fcn.005562f0
add esp, 4
mov ecx, dword [esp + 0x74]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f9dd5
add esp, 0x68
ret