Function at 0x5b2c00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.005c5c30
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x3c], esi
jne 0x5b2c2a
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004ba3d0
mov ebx, eax
add esp, 4
cmp ebx, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
jl 0x5b2e59
cmp esi, 0xffffffff
jne 0x5b2caf
mov esi, ebx
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x10]
push edx
call fcn.00506300
lea ebp, [eax - 1]
and ebp, 7
push edi
mov dword [esp + 0x2c], ebp
call fcn.004d6a30
add esp, 8
mov edi, eax
test ebp, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
jne 0x5b2c88
mov byte [ebp], 0
inc ebp
dec edi
mov dword [esp + 0x1c], edi
lea eax, [ebx + 2]
cmp edi, eax
jge 0x5b2ce3
push 0xba
push str.crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2e59
cmp esi, 0xfffffffe
jne 0x5b2cbb
mov esi, 0xfffffffd
jmp 0x5b2c50
cmp esi, 0xfffffffd
jge 0x5b2c50
push 0xae
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2e59
sub edi, ebx
cmp esi, 0xfffffffd
jne 0x5b2d2c
lea esi, [edi - 2]
test esi, esi
jle 0x5b2d4f
push 0xc5
push str.crypto_rsa_rsa_pss.c
push esi
call fcn.004a31f0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5b2d3d
push 0xc8
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.0049a370
add esp, 0x14
jmp 0x5b2e59
lea ecx, [edi - 2]
cmp esi, ecx
jle 0x5b2ced
push 0xc1
jmp 0x5b2c94
push esi
push eax
call fcn.004b8cc0
add esp, 8
test eax, eax
jle 0x5b2e59
lea ebx, [edi - 1]
call fcn.004cd780
mov dword [esp + 0x10], eax
test eax, eax
je 0x5b2e59
mov edx, dword [esp + 0x38]
push 0
push edx
push eax
call fcn.004cd7c0
add esp, 0xc
test eax, eax
je 0x5b2e59
mov ecx, dword [esp + 0x10]
push 8
push 0x63c948
push ecx
call fcn.004cd970
add esp, 0xc
test eax, eax
je 0x5b2e59
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.004cd970
add esp, 0xc
test eax, eax
je 0x5b2e59
test esi, esi
je 0x5b2dd5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push esi
push edx
push eax
call fcn.004cd970
add esp, 0xc
test eax, eax
je 0x5b2e59
mov ecx, dword [esp + 0x10]
push 0
lea eax, [ebx + ebp]
push eax
push ecx
call fcn.004cd990
add esp, 0xc
test eax, eax
je 0x5b2e59
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebx + ebp]
push eax
push ebx
push ebp
call fcn.0057c0e0
add esp, 0x14
test eax, eax
jne 0x5b2e59
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x5b2e2f
xor ecx, ecx
test esi, esi
jle 0x5b2e2f
mov edi, edi
mov edx, dword [esp + 0x14]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x5b2e20
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5b2e48
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x1c]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x20], 1
mov edx, dword [esp + 0x10]
push edx
call fcn.004cd7a0
mov eax, dword [esp + 0x18]
push 0xf7
push str.crypto_rsa_rsa_pss.c
push esi
push eax
call fcn.004a32c0
mov eax, dword [esp + 0x34]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret