Function at 0x564050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov ecx, dword [ebp + 0x24]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], 0xffffffff
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
push edi
test ecx, ecx
jne 0x56407e
call fcn.004fb890
mov ecx, eax
mov dword [ebp + 0x24], ecx
mov eax, dword [ebp + 0x28]
test eax, eax
push ecx
cmove eax, ecx
mov dword [ebp + 0x28], eax
call fcn.005189f0
add esp, 4
mov edi, eax
mov dword [ebp - 0xc], edi
cmp dword [ebp + 0xc], ebx
jle 0x564473
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x564473
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
jl 0x5643f2
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x5643f2
mov ebx, ecx
push 0x9d
sub ebx, edi
dec ebx
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push ebx
mov dword [ebp - 0x28], ebx
call fcn.004f4e00
mov ecx, dword [ebp + 0x18]
mov esi, eax
push 0x9e
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push ecx
mov dword [ebp - 8], esi
call fcn.004f4e00
add esp, 0x18
mov dword [ebp - 4], eax
test esi, esi
je 0x564459
test eax, eax
je 0x564459
push dword [ebp + 0x18]
push 0
push eax
call fcn.005d6d60
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
push ecx
push dword [ebp + 0x10]
sub eax, ecx
add eax, dword [ebp + 0x18]
push eax
call fcn.005d67e0
mov ecx, dword [ebp - 4]
push dword [ebp + 0x28]
push ebx
movzx eax, byte [ecx]
dec eax
shr eax, 0x1f
neg eax
mov dword [ebp - 0x10], eax
lea eax, [ecx + 1]
add eax, edi
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00563bb0
add esp, 0x2c
test eax, eax
jne 0x564414
xor edx, edx
test edi, edi
jle 0x564242
cmp edi, 0x40
jb 0x564220
mov ecx, dword [ebp - 4]
inc ecx
lea eax, [ecx - 1]
add eax, edi
lea edi, [ebp - 0x6c]
cmp edi, eax
mov edi, dword [ebp - 0xc]
ja 0x56418e
lea eax, [ebp + edi - 0x6d]
cmp eax, ecx
jae 0x564220
mov eax, edi
and eax, 0x8000003f
jns 0x56419c
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp - 0x14], edi
lea esi, [ebp - 0x5c]
sub dword [ebp - 0x14], eax
lea edi, [ebp - 0x6c]
sub edi, ecx
lea eax, [ecx + 0x20]
sub esi, ecx
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
movups xmm0, xmmword [ebp + edx - 0x6c]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x6c], xmm1
movups xmm0, xmmword [ebp + edx - 0x5c]
movups xmm1, xmmword [eax - 0x50]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x5c], xmm1
add edx, 0x40
movups xmm0, xmmword [eax + esi - 0x40]
movups xmm1, xmmword [eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax + esi - 0x40], xmm1
movups xmm0, xmmword [eax + ebx - 0x40]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [eax + ebx - 0x40], xmm1
cmp edx, ecx
jl 0x5641c1
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x24], edx
cmp edx, edi
jge 0x564242
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x6c]
inc esi
sub esi, ecx
nop dword [eax]
lea ecx, [ebp - 0x6c]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, edi
jl 0x564230
mov esi, dword [ebp - 8]
push dword [ebp + 0x28]
lea eax, [ebp - 0x6c]
push edi
push eax
push ebx
push esi
call fcn.00563bb0
add esp, 0x14
test eax, eax
jne 0x564414
xor ecx, ecx
mov dword [ebp + 0x28], ecx
test ebx, ebx
jle 0x564328
cmp ebx, 0x40
jb 0x564307
mov edx, dword [ebp - 0x18]
mov dword [ebp + 0x28], ecx
lea eax, [edx - 1]
add eax, ebx
cmp esi, eax
ja 0x56428a
lea eax, [esi - 1]
add eax, ebx
cmp eax, edx
jae 0x564307
mov eax, ebx
and eax, 0x8000003f
jns 0x564298
dec eax
or eax, 0xffffffc0
inc eax
mov edi, dword [ebp - 0x18]
add edx, 0x30
mov dword [ebp + 0x28], ebx
sub dword [ebp + 0x28], eax
sub edi, esi
mov dword [ebp - 0x28], edi
lea eax, [esi + 0x10]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x28]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp + 0x28]
jl 0x5642b2
mov esi, dword [ebp - 8]
mov dword [ebp + 0x28], ecx
cmp ecx, ebx
jge 0x564328
mov edi, dword [ebp - 0x18]
mov edx, ebx
add ecx, esi
sub edi, esi
sub edx, dword [ebp + 0x28]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x564317
mov edi, dword [ebp - 0xc]
push 0
push dword [ebp + 0x24]
lea eax, [ebp - 0xac]
push 0
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.004fae60
add esp, 0x18
test eax, eax
je 0x564414
push edi
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.00432e10
mov edx, dword [ebp - 0x10]
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 [ebp - 0x10], edx
mov dword [ebp + 0x28], ecx
cmp edi, ebx
jge 0x5643c3
nop dword [eax]
movzx esi, byte [edi + esi]
not ecx
mov edx, esi
xor edx, 1
dec edx
shr edx, 0x1f
neg edx
and ecx, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [ebp - 0x1c]
or eax, ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
or ecx, edx
mov edx, dword [ebp - 0x10]
lea eax, [esi - 1]
mov esi, dword [ebp - 8]
shr eax, 0x1f
neg eax
mov dword [ebp + 0x28], ecx
or eax, ecx
and edx, eax
mov dword [ebp - 0x10], edx
cmp edi, ebx
jl 0x564380
test edx, ecx
je 0x5643f2
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
inc ecx
sub eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], eax
jge 0x564447
push 0xe3
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push 0x6d
push 0x99
push 4
call fcn.0050bc80
add esp, 0x14
push 0xf0
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0050bc80
mov dword [ebp - 0x20], 0xffffffff
add esp, 0x14
push 0xf2
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push ebx
push esi
call fcn.004f4c40
push 0xf3
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.004f4c40
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ecx + esi]
push eax
push dword [ebp + 8]
call fcn.005d67e0
add esp, 0xc
jmp 0x564414
push 0xa0
push str.........prog3rdPartyLibsopenssl_1.1crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.0050bc80
jmp 0x564411
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret