Function at 0x595b80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb4
call fcn.0062ad90
mov eax, dword [0x7b2214]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc0]
push ebx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xcc]
push ebp
mov dword [esp + 0x10], eax
xor ebp, ebp
mov eax, dword [esp + 0xd4]
push esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ecx
push edi
test eax, eax
jne 0x595bfe
call fcn.00575df0
mov dword [esp + 0x14], eax
test ebx, ebx
push eax
cmove ebx, eax
mov dword [esp + 0x38], ebx
call fcn.00581860
add esp, 4
mov edi, eax
mov dword [esp + 0x28], edi
cmp dword [esp + 0xcc], ebp
jle 0x595fc9
test esi, esi
jle 0x595fc9
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jl 0x595fa5
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x595fa5
mov ebx, ecx
push 0x9b
sub ebx, edi
dec ebx
push str..crypto_rsa_rsa_oaep.c
push ebx
mov dword [esp + 0x1c], ebx
call fcn.0054dda0
push 0x9c
push str..crypto_rsa_rsa_oaep.c
push dword [esp + 0x2c]
mov ebp, eax
call fcn.0054dda0
add esp, 0x18
mov dword [esp + 0x1c], eax
test ebp, ebp
je 0x595f54
test eax, eax
je 0x595f54
push dword [esp + 0x18]
push 0
push eax
call fcn.00668940
mov eax, dword [esp + 0x24]
push esi
push dword [esp + 0x34]
sub eax, esi
add eax, dword [esp + 0x30]
push eax
call fcn.00667e40
mov edx, dword [esp + 0x34]
push dword [esp + 0x4c]
push ebx
movzx eax, byte [edx]
lea esi, [edx + 1]
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx + 1]
add eax, edi
neg ecx
push eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x64]
push edi
push eax
mov dword [esp + 0x4c], ecx
call fcn.00595600
add esp, 0x2c
test eax, eax
jne 0x595f6f
xor edx, edx
test edi, edi
jle 0x595d90
cmp edi, 0x20
jb 0x595d75
lea eax, [esi - 1]
lea ebx, [esp + 0x40]
add eax, edi
cmp ebx, eax
lea ecx, [esp + edi + 0x3f]
mov ebx, dword [esp + 0x10]
ja 0x595d16
cmp ecx, esi
jae 0x595d75
mov eax, edi
and eax, 0x8000001f
jns 0x595d24
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, edi
mov edi, esi
sub ecx, eax
lea eax, [esp + 0x40]
mov ebx, eax
sub edi, ebx
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edi, edi
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [esi + edx + 0x10]
add edx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x595d40
mov ebx, dword [esp + 0x10]
cmp edx, edi
jge 0x595d90
lea eax, [esp + 0x40]
sub esi, eax
nop
lea ecx, [esp + 0x40]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, edi
jl 0x595d80
push dword [esp + 0x34]
lea eax, [esp + 0x44]
push edi
push eax
push ebx
push ebp
call fcn.00595600
add esp, 0x14
test eax, eax
jne 0x595f6f
xor esi, esi
test ebx, ebx
jle 0x595e55
cmp ebx, 0x20
jb 0x595e34
mov ecx, dword [esp + 0x24]
lea edx, [ebp - 1]
add edx, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp ebp, eax
ja 0x595dd5
cmp edx, ecx
jae 0x595e34
mov eax, ebx
and eax, 0x8000001f
jns 0x595de3
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x10], ecx
mov edx, ebx
sub dword [esp + 0x10], ebp
sub edx, eax
add ecx, 0x10
mov eax, ebp
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [ecx + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [edi + esi]
add esi, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp esi, edx
jl 0x595e00
mov edi, dword [esp + 0x28]
cmp esi, ebx
jge 0x595e55
mov edi, dword [esp + 0x24]
lea ecx, [esi + ebp]
mov edx, ebx
sub edi, ebp
sub edx, esi
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x595e45
mov edi, dword [esp + 0x28]
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x88]
push 0
push eax
push dword [esp + 0xf0]
push dword [esp + 0x50]
call fcn.00575730
add esp, 0x18
test eax, eax
je 0x595f6f
push edi
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.00567c80
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp edi, ebx
jge 0x595f0b
movzx esi, byte [edi + ebp]
not ecx
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [esp + 0x2c]
or eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
or ecx, edx
mov edx, dword [esp + 0x20]
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov dword [esp + 0x14], ecx
neg eax
or eax, ecx
and edx, eax
mov dword [esp + 0x20], edx
cmp edi, ebx
jl 0x595eb5
test edx, ecx
je 0x595fa9
mov eax, dword [esp + 0x2c]
mov esi, ebx
inc eax
sub esi, eax
cmp dword [esp + 0xcc], esi
jge 0x595f42
push 0xe1
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.0055dde0
add esp, 0x14
jmp 0x595fa9
push esi
add eax, ebp
push eax
push dword [esp + 0x40]
call fcn.00667e40
add esp, 0xc
jmp 0x595f72
push 0x9e
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.0055dde0
add esp, 0x14
or esi, 0xffffffff
test ebp, ebp
je 0x595f86
push ebx
push ebp
call fcn.004068a0
push ebp
call fcn.0054dbc0
add esp, 0xc
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x595fa1
push dword [esp + 0x18]
push ebx
call fcn.004068a0
push ebx
call fcn.0054dbc0
add esp, 0xc
mov eax, esi
jmp 0x595fcc
mov ebx, dword [esp + 0x38]
push 0xee
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
or esi, 0xffffffff
call fcn.0055dde0
add esp, 0x14
jmp 0x595f72
or eax, 0xffffffff
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00629f1d
add esp, 0xb4
ret