Function at 0x5f923d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x5c], eax
mov edi, ebx
call fcn.005702ef
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x5f939e
mov eax, dword [ebp - 0x5c]
test esi, esi
push eax
cmove esi, eax
mov dword [ebp - 0x60], esi
call fcn.0054f2fe
mov dword [ebp - 0x50], eax
pop ecx
test eax, eax
js 0x5f939e
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x5f92e6
mov esi, eax
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call fcn.0054d4d4
push dword [ebp - 0x48]
dec eax
and eax, 7
mov dword [ebp - 0x58], eax
call fcn.0058ded7
pop ecx
mov edx, eax
mov eax, 0xff
pop ecx
mov ecx, dword [ebp - 0x58]
shl eax, cl
mov ecx, dword [ebp - 0x54]
test byte [ecx], al
je 0x5f9308
push 0x46
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x85
jmp 0x5f92f7
cmp esi, 0xfffffffd
jge 0x5f92a9
push 0x3f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.00553208
add esp, 0x14
jmp 0x5f939e
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x5f9310
dec edx
inc ecx
test eax, eax
mov eax, dword [ebp - 0x50]
cmovne ecx, dword [ebp - 0x54]
add eax, 2
mov dword [ebp - 0x54], ecx
cmp edx, eax
jge 0x5f932f
push 0x4e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x5f92f7
mov eax, edx
sub eax, dword [ebp - 0x50]
lea ecx, [eax - 2]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x54]
cmp esi, 0xfffffffd
jne 0x5f935d
lea esi, [eax - 2]
mov dword [ebp + 0x1c], esi
cmp byte [ecx + edx - 1], 0xbc
je 0x5f9366
push 0x58
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x86
jmp 0x5f92f7
cmp esi, dword [ebp - 0x48]
jle 0x5f9348
push 0x54
jmp 0x5f9326
lea edi, [eax - 1]
push 0x5d
lea esi, [ecx + edi]
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push edi
mov dword [ebp - 0x68], esi
call fcn.0055426d
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x5f93ca
push 0x5f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.00553208
add esp, 0x14
mov edi, dword [ebp - 0x48]
push 0x83
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push edi
call fcn.0055429f
push dword [ebp - 0x4c]
call fcn.005702d0
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.007207bc
leave
ret
push dword [ebp - 0x60]
push dword [ebp - 0x50]
push esi
push edi
push eax
call fcn.005a9334
add esp, 0x14
test eax, eax
js 0x5f939b
mov edx, dword [ebp - 0x48]
test edi, edi
jle 0x5f93fa
mov ecx, dword [ebp - 0x54]
mov esi, edx
sub ecx, edx
mov ebx, edi
mov al, byte [ecx + esi]
xor byte [esi], al
inc esi
sub ebx, 1
jne 0x5f93ef
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x5f940f
push 8
pop ecx
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [edx], al
mov al, byte [edx]
mov esi, ebx
test al, al
jne 0x5f9425
lea eax, [edi - 1]
cmp esi, eax
jge 0x5f9425
inc esi
cmp byte [esi + edx], 0
je 0x5f941a
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x5f943e
push 0x6a
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x87
jmp 0x5f938f
mov eax, dword [ebp + 0x1c]
sub edi, esi
cmp eax, 0xfffffffe
je 0x5f945d
cmp edi, eax
je 0x5f945d
push 0x6e
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x88
jmp 0x5f938f
mov eax, dword [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x4c]
call fcn.0056ffbe
add esp, 0xc
test eax, eax
je 0x5f939b
push 8
push 0x8539d0
push dword [ebp - 0x4c]
call fcn.0057013f
add esp, 0xc
test eax, eax
je 0x5f939b
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
call fcn.0057013f
add esp, 0xc
test eax, eax
je 0x5f939b
test edi, edi
je 0x5f94c9
push edi
mov edi, dword [ebp - 0x48]
lea eax, [esi + edi]
push eax
push dword [ebp - 0x4c]
call fcn.0057013f
add esp, 0xc
test eax, eax
je 0x5f939e
jmp 0x5f94cc
mov edi, dword [ebp - 0x48]
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call fcn.0056ff33
add esp, 0xc
test eax, eax
je 0x5f939e
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push dword [ebp - 0x68]
push eax
call fcn.00738138
add esp, 0xc
test eax, eax
je 0x5f9508
push 0x7c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_pss.c
push 0x68
jmp 0x5f92f7
xor ebx, ebx
inc ebx
jmp 0x5f939e