Function at 0x52a500
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60
call fcn.00538850
mov eax, dword [0x5bbfb0]
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.00465dd0
mov dword [esp + 0x10], eax
test eax, eax
je 0x52a82f
cmp dword [esp + 0x1c], ebx
jne 0x52a55d
mov dword [esp + 0x1c], ebp
push ebp
call fcn.00455370
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
js 0x52a82f
mov ecx, dword [esp + 0x88]
cmp ecx, 0xffffffff
jne 0x52a5c7
mov dword [esp + 0x88], eax
mov edx, dword [edi + 0x10]
push edx
call fcn.00494c30
lea ebp, [eax - 1]
push edi
and ebp, 7
call fcn.0046d4d0
mov edx, 0xff
mov ecx, ebp
shl edx, cl
add esp, 8
test byte [esi], dl
je 0x52a5e9
push 0x46
push str.crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
jmp 0x52a82f
cmp ecx, 0xfffffffd
jge 0x52a585
push 0x3f
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
jmp 0x52a82f
test ebp, ebp
jne 0x52a5ef
inc esi
dec eax
mov edx, dword [esp + 0x18]
lea ecx, [edx + 2]
cmp eax, ecx
jge 0x52a614
push 0x4e
push str.crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
jmp 0x52a82f
mov edi, dword [esp + 0x88]
mov ecx, eax
sub ecx, edx
lea edx, [ecx - 2]
cmp edi, 0xfffffffd
jne 0x52a652
mov dword [esp + 0x88], edx
cmp byte [esi + eax - 1], 0xbc
je 0x52a65a
push 0x58
push str.crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
jmp 0x52a82f
cmp edi, edx
jle 0x52a62e
push 0x54
jmp 0x52a5fc
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.00440740
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x52a694
push 0x5f
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
jmp 0x52a82f
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.004fd7c0
add esp, 0x14
test eax, eax
js 0x52a82f
test edi, edi
jle 0x52a6ca
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 0x52a6c1
test ebp, ebp
je 0x52a6de
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x52a6f3
lea eax, [edi - 1]
cmp esi, eax
jge 0x52a6f3
inc esi
cmp byte [esi + ebx], 0
je 0x52a6e8
mov cl, byte [esi + ebx]
inc esi
cmp cl, 1
je 0x52a719
push 0x6a
push str.crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
jmp 0x52a82f
mov eax, dword [esp + 0x88]
cmp eax, 0xfffffffe
je 0x52a734
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x52a734
push 0x6e
jmp 0x52a5ce
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call fcn.00465e10
add esp, 0xc
test eax, eax
je 0x52a82f
mov edx, dword [esp + 0x10]
push 8
push 0x5a31f0
push edx
call fcn.00465fc0
add esp, 0xc
test eax, eax
je 0x52a82f
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ebp
push eax
push ecx
call fcn.00465fc0
add esp, 0xc
test eax, eax
je 0x52a82f
sub edi, esi
je 0x52a7a8
mov edx, dword [esp + 0x10]
push edi
add esi, ebx
push esi
push edx
call fcn.00465fc0
add esp, 0xc
test eax, eax
je 0x52a82f
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.00465fe0
add esp, 0xc
test eax, eax
je 0x52a82f
mov ecx, dword [esp + 0x20]
mov eax, ebp
lea esi, [esp + 0x2c]
cmp ebp, 4
jb 0x52a7e4
nop
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x52a808
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x52a7d0
test eax, eax
je 0x52a827
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x52a808
cmp eax, 1
jbe 0x52a827
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x52a808
cmp eax, 2
jbe 0x52a827
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x52a827
push 0x7c
push str.crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.0043a8e0
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x52a82f
mov dword [esp + 0x14], 1
push 0x83
push str.crypto_rsa_rsa_pss.c
push ebx
call fcn.004407f0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00465df0
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.00538458
add esp, 0x60
ret