Function at 0x4bb820
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.0055bc20
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x3c], edi
jne 0x4bb84a
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00467c20
mov esi, dword [esp + 0x44]
mov ebx, eax
add esp, 4
cmp ebx, edi
mov dword [esp + 0x18], ebx
jl 0x4bbaa9
cmp esi, 0xffffffff
jne 0x4bb8db
mov esi, ebx
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x14]
push edx
call fcn.00479370
mov ebp, eax
dec ebp
and ebp, 7
push edi
mov dword [esp + 0x2c], ebp
call fcn.004bb150
add esp, 8
mov edi, eax
test ebp, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
jne 0x4bb8a8
mov byte [ebp], 0
inc ebp
dec edi
mov dword [esp + 0x1c], edi
lea eax, [ebx + 2]
cmp edi, eax
jge 0x4bb91a
call fcn.004671d0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xc0
push str.crypto_rsa_rsa_pss.c
call fcn.00467260
push 0
push 0x6e
push 4
call fcn.004673f0
add esp, 0x18
jmp 0x4bbaa9
cmp esi, 0xfffffffe
jne 0x4bb8e7
mov esi, 0xfffffffd
jmp 0x4bb870
cmp esi, 0xfffffffd
jge 0x4bb870
call fcn.004671d0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xb4
push str.crypto_rsa_rsa_pss.c
call fcn.00467260
push edi
push 0x88
push 4
call fcn.004673f0
add esp, 0x18
jmp 0x4bbaa9
sub edi, ebx
cmp esi, 0xfffffffd
jne 0x4bb96f
lea esi, [edi - 2]
test esi, esi
jle 0x4bb99c
push 0xcb
push str.crypto_rsa_rsa_pss.c
push esi
call fcn.00466b70
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4bb98a
call fcn.004671d0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xce
push str.crypto_rsa_rsa_pss.c
call fcn.00467260
push 0
push 0x41
push 4
call fcn.004673f0
add esp, 0x18
jmp 0x4bbaa9
lea ecx, [edi - 2]
cmp esi, ecx
jle 0x4bb924
call fcn.004671d0
push str.RSA_padding_add_PKCS1_PSS_mgf1
push 0xc7
jmp 0x4bb8be
push esi
push eax
call fcn.00469c60
add esp, 8
test eax, eax
jle 0x4bbaa9
lea ebx, [edi - 1]
call fcn.00475120
mov dword [esp + 0x10], eax
test eax, eax
je 0x4bbaa9
mov edx, dword [esp + 0x38]
push 0
push edx
push eax
call fcn.00475de0
add esp, 0xc
test eax, eax
je 0x4bbaa9
mov ecx, dword [esp + 0x10]
push 8
push 0x59db10
push ecx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4bbaa9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4bbaa9
test esi, esi
je 0x4bba22
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push esi
push edx
push eax
call fcn.00475140
add esp, 0xc
test eax, eax
je 0x4bbaa9
mov ecx, dword [esp + 0x10]
push 0
lea eax, [ebx + ebp]
push eax
push ecx
call fcn.00475240
add esp, 0xc
test eax, eax
je 0x4bbaa9
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.004bc6b0
add esp, 0x14
test eax, eax
jne 0x4bbaa9
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x4bba7f
xor ecx, ecx
test esi, esi
jle 0x4bba7f
jmp 0x4bba70
mov edx, dword [esp + 0x14]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x4bba70
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4bba98
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.00475650
mov eax, dword [esp + 0x18]
push 0xfd
push str.crypto_rsa_rsa_pss.c
push esi
push eax
call fcn.00466c30
mov eax, dword [esp + 0x34]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret