Function at 0x595ada
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
push esi
xor esi, esi
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov ebx, esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
push edi
mov edi, dword [ebp + 0x28]
test eax, eax
jne 0x595b3d
call fcn.0053391f
mov dword [ebp - 0xa0], eax
test edi, edi
push eax
cmove edi, eax
mov dword [ebp - 0x94], edi
call fcn.0053b734
mov edi, eax
pop ecx
mov dword [ebp - 0xb4], edi
cmp dword [ebp + 0xc], ebx
jle 0x59609b
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x59609b
mov ecx, dword [ebp - 0xb8]
cmp ecx, eax
jl 0x596080
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x596080
sub ecx, edi
push 0x9d
dec ecx
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push ecx
mov dword [ebp - 0x8c], ecx
call fcn.005406a5
add esp, 0xc
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x595bce
push 0x9f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.0053f640
add esp, 0x14
jmp 0x596018
push 0xa3
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0xb8]
call fcn.005406a5
add esp, 0xc
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x595bf7
push 0xa6
jmp 0x595bb3
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xb8]
add eax, ecx
mov edx, dword [ebp + 0x14]
add ebx, edx
mov dword [ebp - 0xa4], eax
test ecx, ecx
jle 0x595c4c
mov edi, ecx
mov esi, eax
mov eax, edx
lea ecx, [edx - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
sub edx, eax
dec esi
and cl, byte [ebx]
mov byte [esi], cl
sub edi, 1
jne 0x595c15
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xa4], esi
xor esi, esi
mov eax, dword [ebp - 0xa4]
movzx ebx, byte [eax]
lea ecx, [eax + 1]
push dword [ebp - 0x94]
inc eax
mov dword [ebp - 0xac], ecx
push dword [ebp - 0x8c]
add eax, edi
dec ebx
push eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x44]
push edi
shr ebx, 0x1f
push eax
neg ebx
call fcn.0059576d
add esp, 0x14
test eax, eax
jne 0x596018
mov edx, esi
test edi, edi
jle 0x595cab
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0x44]
sub esi, eax
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [ecx + esi]
xor byte [ecx], al
inc edx
cmp edx, edi
jl 0x595c9a
xor esi, esi
push dword [ebp - 0x94]
lea eax, [ebp - 0x44]
push edi
push eax
push dword [ebp - 0x8c]
push dword [ebp - 0x9c]
call fcn.0059576d
add esp, 0x14
test eax, eax
jne 0x596018
mov eax, dword [ebp - 0x8c]
test eax, eax
jle 0x595cfd
mov edi, dword [ebp - 0x98]
mov edx, eax
mov ecx, dword [ebp - 0x9c]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x595cec
mov edi, dword [ebp - 0xb4]
push esi
push dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
push esi
push eax
push dword [ebp + 0x20]
push dword [ebp - 0x88]
call fcn.0055c260
add esp, 0x18
test eax, eax
je 0x596018
push edi
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x9c]
call fcn.005408a2
mov edx, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x94], esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov ecx, edi
mov dword [ebp - 0x90], ecx
cmp edi, edx
jge 0x595dfd
mov edi, edx
mov eax, dword [ebp - 0x9c]
movzx esi, byte [ecx + eax]
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp - 0x94]
not eax
neg edx
and eax, edx
mov dword [ebp - 0x88], eax
not eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x88]
and ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x98]
and eax, dword [ebp - 0xa8]
or eax, ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xa8], eax
or ecx, edx
lea eax, [esi - 1]
mov dword [ebp - 0x94], ecx
shr eax, 0x1f
neg eax
or eax, ecx
mov ecx, dword [ebp - 0x90]
and ebx, eax
inc ecx
mov dword [ebp - 0x90], ecx
cmp ecx, edi
jl 0x595d6a
mov edi, dword [ebp - 0xb4]
xor esi, esi
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp + 0xc]
mov eax, edx
sub eax, dword [ebp - 0xa8]
sub edx, edi
dec eax
mov dword [ebp - 0x88], edx
sub ecx, eax
mov dword [ebp - 0x90], eax
xor ecx, eax
xor eax, dword [ebp + 0xc]
or ecx, eax
xor ecx, dword [ebp + 0xc]
shr ecx, 0x1f
dec ecx
and ecx, dword [ebp - 0x94]
and ebx, ecx
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0xb0], ebx
sub edx, dword [ebp + 0xc]
mov eax, ecx
xor edx, dword [ebp + 0xc]
xor eax, dword [ebp + 0xc]
or edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x88]
shr edx, 0x1f
neg edx
mov dword [ebp - 0x98], edx
not edx
mov dword [ebp - 0xac], edx
lea edx, [ecx - 1]
mov eax, dword [ebp - 0x98]
and eax, edx
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0xac]
and edx, dword [ebp + 0xc]
or edx, eax
xor eax, eax
inc eax
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xa0], eax
jle 0x595f5e
sub ecx, dword [ebp - 0x90]
lea edx, [edi + 1]
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x9c]
lea eax, [ecx - 1]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0xbc], eax
and eax, esi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edi
sub eax, esi
dec ecx
cmp edx, eax
jge 0x595f3c
movzx ecx, cl
lea edi, [edx + ebx]
mov dword [ebp - 0xac], ecx
sub eax, edx
not ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], ecx
mov edx, eax
mov ebx, ecx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp - 0x88]
mov cl, byte [edi + esi]
and cl, al
mov eax, dword [ebp - 0x98]
and al, byte [edi]
or al, cl
mov byte [edi], al
inc edi
sub edx, 1
jne 0x595efb
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xbc]
add esi, esi
cmp esi, dword [ebp - 0xa0]
jl 0x595ec3
mov ebx, dword [ebp - 0xb0]
xor esi, esi
mov edi, dword [ebp - 0xb4]
cmp dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0x90]
jle 0x595ff2
mov eax, edx
shr eax, 0x1f
mov dword [ebp - 0xb0], eax
mov eax, edx
neg eax
add edi, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov edx, eax
mov ecx, esi
mov eax, dword [ebp - 0xb0]
shr ecx, 0x1f
shr edx, 0x1f
xor dl, al
xor al, cl
or dl, al
movzx eax, bl
xor dl, cl
neg dl
movzx ecx, dl
mov edx, dword [ebp - 0xc0]
and ecx, eax
mov dword [ebp - 0xbc], ecx
not ecx
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0xbc]
mov cl, byte [edi + esi + 1]
and cl, al
mov eax, dword [ebp - 0x88]
and al, byte [edx + esi]
or al, cl
mov byte [edx + esi], al
inc esi
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp esi, dword [ebp - 0xa8]
jl 0x595f8c
push 0x107
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0053f640
mov eax, ebx
and eax, 1
push eax
call fcn.0053f999
add esp, 0x18
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0054ec79
push 0x10b
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0x8c]
push dword [ebp - 0x9c]
call fcn.0054074e
push 0x10c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0xb8]
push dword [ebp - 0xa4]
call fcn.0054074e
mov dword [ebp - 0xc0], ebx
add esp, 0x28
not ebx
mov dword [ebp - 0xb0], ebx
mov ecx, dword [ebp - 0xc0]
and ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xb0]
or eax, ecx
jmp 0x59609e
push 0x98
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0053f640
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret