Function at 0x505b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.004894b0
mov dword [ebp - 8], eax
test eax, eax
je 0x505f11
mov eax, dword [ebp + 0x14]
test eax, eax
mov edx, dword [ebp + 0x10]
mov ecx, edx
push edi
cmovne ecx, eax
push edx
mov dword [ebp - 0x10], ecx
call fcn.0048f950
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
js 0x505f10
push ebx
mov ebx, dword [ebp + 0x1c]
cmp ebx, 0xffffffff
jne 0x505c07
mov ebx, edi
mov dword [ebp + 0x1c], ebx
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x10]
call fcn.004799d0
dec eax
and eax, 7
push esi
mov dword [ebp - 0x1c], eax
call fcn.004a2e90
mov esi, dword [ebp - 0x1c]
mov edx, eax
mov ecx, esi
mov eax, 0xff
shl eax, cl
add esp, 8
mov ecx, dword [ebp + 0x18]
test byte [ecx], al
je 0x505c2d
push 0x48
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0e
cmp ebx, 0xfffffffe
jne 0x505c0e
jmp 0x505bb6
jge 0x505bb9
push 0x41
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0f
test esi, esi
jne 0x505c36
inc ecx
dec edx
mov dword [ebp + 0x18], ecx
lea eax, [edi + 2]
cmp edx, eax
jge 0x505c41
push 0x50
jmp 0x505c4e
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, eax
jle 0x505c66
push 0x54
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0e
cmp byte [edx + ecx - 1], 0xbc
je 0x505c8a
push 0x58
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0e
dec esi
push 0x5d
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push esi
mov dword [ebp - 0xc], esi
lea ebx, [esi + ecx]
call fcn.00460080
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x505cc2
push 0x5f
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0e
push dword [ebp - 0x10]
push edi
push ebx
push esi
push eax
call fcn.004c07e0
add esp, 0x14
test eax, eax
js 0x505f0e
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test esi, esi
jle 0x505d97
mov edx, dword [ebp - 4]
cmp esi, 0x20
jb 0x505d78
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x505d0c
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x505d76
mov eax, esi
and eax, 0x8000001f
jns 0x505d1a
dec eax
or eax, 0xffffffe0
inc eax
mov edi, ecx
mov dword [ebp - 0x10], esi
sub dword [ebp - 0x10], eax
sub edi, edx
add ecx, 0x10
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x18]
mov eax, edx
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x24]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [ebp - 0x10]
jl 0x505d40
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
jmp 0x505d78
xor ecx, ecx
cmp ecx, esi
jge 0x505d97
mov edi, dword [ebp + 0x18]
add ecx, edx
sub edi, edx
sub esi, dword [ebp - 0x10]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x505d86
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x505db3
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [ebp - 4]
sar edx, cl
and byte [eax], dl
jmp 0x505db6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor esi, esi
cmp byte [eax], 0
jne 0x505dce
lea edx, [ecx - 1]
cmp esi, edx
jge 0x505dce
inc esi
cmp byte [esi + eax], 0
je 0x505dc3
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x505df3
push 0x6a
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0e
mov edx, dword [ebp + 0x1c]
test edx, edx
js 0x505e1f
mov eax, ecx
sub eax, esi
cmp eax, edx
je 0x505e1f
push 0x6e
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
jmp 0x505f0e
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call fcn.00489110
add esp, 0xc
test eax, eax
je 0x505f0e
push 8
push 0x5d9458
push dword [ebp - 8]
call fcn.004892c0
add esp, 0xc
test eax, eax
je 0x505f0e
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.004892c0
add esp, 0xc
test eax, eax
je 0x505f0e
mov eax, dword [ebp - 0xc]
sub eax, esi
je 0x505e89
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push dword [ebp - 8]
call fcn.004892c0
add esp, 0xc
test eax, eax
je 0x505f0e
push 0
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 8]
call fcn.00489070
add esp, 0xc
test eax, eax
je 0x505f0e
lea ecx, [ebp - 0x64]
sub edi, 4
jb 0x505eb7
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x505ebc
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x505ea6
cmp edi, 0xfffffffc
je 0x505f07
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x505ee9
cmp edi, 0xfffffffd
je 0x505f07
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x505ee9
cmp edi, 0xfffffffe
je 0x505f07
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x505ee9
cmp edi, 0xffffffff
je 0x505f07
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x505f07
push 0x7c
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.00473d60
add esp, 0x14
mov dword [ebp - 0x14], 0
jmp 0x505f0e
mov dword [ebp - 0x14], 1
pop esi
pop ebx
pop edi
push 0x82
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_pss.c
push dword [ebp - 4]
call fcn.00460020
push dword [ebp - 8]
call fcn.00489490
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov esp, ebp
pop ebp
ret