Function at 0x5b2890
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60
call fcn.005c5c30
mov eax, dword [0x65db30]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
call fcn.004cd780
mov dword [esp + 0x10], eax
test eax, eax
je 0x5b2bbf
cmp dword [esp + 0x1c], ebx
jne 0x5b28ed
mov dword [esp + 0x1c], ebp
push ebp
call fcn.004ba3d0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
js 0x5b2bbf
mov ecx, dword [esp + 0x88]
cmp ecx, 0xffffffff
jne 0x5b2957
mov dword [esp + 0x88], eax
mov edx, dword [edi + 0x10]
push edx
call fcn.00506300
lea ebp, [eax - 1]
push edi
and ebp, 7
call fcn.004d6a30
mov edx, 0xff
mov ecx, ebp
shl edx, cl
add esp, 8
test byte [esi], dl
je 0x5b2979
push 0x46
push str.crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2bbf
cmp ecx, 0xfffffffd
jge 0x5b2915
push 0x3f
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2bbf
test ebp, ebp
jne 0x5b297f
inc esi
dec eax
mov edx, dword [esp + 0x18]
lea ecx, [edx + 2]
cmp eax, ecx
jge 0x5b29a4
push 0x4e
push str.crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2bbf
mov edi, dword [esp + 0x88]
mov ecx, eax
sub ecx, edx
lea edx, [ecx - 2]
cmp edi, 0xfffffffd
jne 0x5b29e2
mov dword [esp + 0x88], edx
cmp byte [esi + eax - 1], 0xbc
je 0x5b29ea
push 0x58
push str.crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2bbf
cmp edi, edx
jle 0x5b29be
push 0x54
jmp 0x5b298c
lea edi, [ecx - 1]
push 0x5d
lea eax, [esi + edi]
push str.crypto_rsa_rsa_pss.c
push edi
mov dword [esp + 0x2c], eax
call fcn.004a31f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x5b2a24
push 0x5f
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2bbf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push edi
push ebx
call fcn.0057c0e0
add esp, 0x14
test eax, eax
js 0x5b2bbf
test edi, edi
jle 0x5b2a5a
mov ecx, esi
mov eax, ebx
sub ecx, ebx
mov esi, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x5b2a51
test ebp, ebp
je 0x5b2a6e
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x5b2a83
lea eax, [edi - 1]
cmp esi, eax
jge 0x5b2a83
inc esi
cmp byte [esi + ebx], 0
je 0x5b2a78
mov cl, byte [esi + ebx]
inc esi
cmp cl, 1
je 0x5b2aa9
push 0x6a
push str.crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2bbf
mov eax, dword [esp + 0x88]
cmp eax, 0xfffffffe
je 0x5b2ac4
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x5b2ac4
push 0x6e
jmp 0x5b295e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call fcn.004cd7c0
add esp, 0xc
test eax, eax
je 0x5b2bbf
mov edx, dword [esp + 0x10]
push 8
push 0x63c948
push edx
call fcn.004cd970
add esp, 0xc
test eax, eax
je 0x5b2bbf
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ebp
push eax
push ecx
call fcn.004cd970
add esp, 0xc
test eax, eax
je 0x5b2bbf
sub edi, esi
je 0x5b2b38
mov edx, dword [esp + 0x10]
push edi
add esi, ebx
push esi
push edx
call fcn.004cd970
add esp, 0xc
test eax, eax
je 0x5b2bbf
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.004cd990
add esp, 0xc
test eax, eax
je 0x5b2bbf
mov ecx, dword [esp + 0x20]
mov eax, ebp
lea esi, [esp + 0x2c]
cmp ebp, 4
jb 0x5b2b74
nop
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x5b2b98
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x5b2b60
test eax, eax
je 0x5b2bb7
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x5b2b98
cmp eax, 1
jbe 0x5b2bb7
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x5b2b98
cmp eax, 2
jbe 0x5b2bb7
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x5b2bb7
push 0x7c
push str.crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.0049a370
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x5b2bbf
mov dword [esp + 0x14], 1
push 0x83
push str.crypto_rsa_rsa_pss.c
push ebx
call fcn.004a32a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004cd7a0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c5718
add esp, 0x60
ret