Function at 0x50e840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28
call fcn.005dfa60
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], edx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov edx, ecx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
test eax, eax
mov edi, ecx
cmovne edi, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x50e88f
push 0x143
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoevpevp_lib.c
push 0x9f
mov edx, 0xa2
lea ecx, [esi + 6]
jmp 0x50e923
mov eax, dword [ecx + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
js 0x50ebef
cmp edi, 0xffffffff
jne 0x50e8f9
mov edi, eax
mov esi, dword [edx + 0x10]
push esi
call fcn.0047d7a0
dec eax
and eax, 7
push esi
mov dword [ebp - 0x1c], eax
call fcn.0047d7a0
mov esi, dword [ebp - 8]
add eax, 7
cdq
add esp, 8
and edx, 7
add edx, eax
sar edx, 3
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x1c], ebx
jne 0x50e8e1
mov byte [esi], bl
inc esi
dec edx
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + 2]
cmp edx, eax
jge 0x50e943
push 0xba
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x6e
jmp 0x50e919
cmp edi, 0xfffffffe
jne 0x50e905
mov edi, 0xfffffffd
jmp 0x50e8a7
cmp edi, 0xfffffffd
jge 0x50e8a7
push 0xae
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x88
mov edx, 0x98
mov ecx, 4
call fcn.00489de0
xor ecx, ecx
call fcn.00480d80
push 0
call fcn.005e4cbe
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x18], eax
lea ecx, [eax - 2]
cmp edi, 0xfffffffd
jne 0x50e97b
mov edi, ecx
test edi, edi
jle 0x50e9b7
push edi
mov dword [0x6a7ea4], ebx
call fcn.005ee808
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x50e98d
push 0xc8
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x41
jmp 0x50e919
cmp edi, ecx
jle 0x50e954
push 0xc1
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x6e
jmp 0x50e919
call fcn.00487f00
test eax, eax
je 0x50ebc3
mov eax, dword [eax + 4]
test eax, eax
je 0x50ebc3
push edi
push ebx
call eax
add esp, 8
test eax, eax
jle 0x50ebf8
mov eax, dword [ebp - 0x18]
dec eax
mov dword [0x6a7ea4], 0
mov dword [ebp - 0x28], eax
add eax, esi
push 0x18
mov dword [ebp - 0x14], eax
call fcn.005ee808
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 4], ecx
test esi, esi
je 0x50ebfa
push 0
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp + 0x10], eax
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
mov dword [ebp - 4], eax
call fcn.00480eb0
add esp, 0xc
test eax, eax
je 0x50ebf3
push 8
mov eax, esi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
push 0x65da38
push esi
call eax
add esp, 0xc
test eax, eax
je 0x50ebf3
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x50ea48
push eax
push dword [ebp + 8]
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
mov ecx, esi
mov dword [ebp - 4], ecx
test eax, eax
je 0x50ebfa
test edi, edi
je 0x50ea65
mov eax, dword [esi + 0x14]
push edi
push ebx
push esi
call eax
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 4], ecx
test eax, eax
je 0x50ebfa
mov eax, dword [esi]
cmp dword [eax + 8], 0x40
jg 0x50ec34
push dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
push esi
call eax
mov ecx, dword [esi]
add esp, 8
mov dword [ebp + 0xc], eax
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x50ea95
push esi
call edx
mov ecx, dword [esi]
add esp, 4
or dword [esi + 8], 2
push dword [ecx + 0x28]
push dword [esi + 0xc]
call fcn.00401320
mov esi, dword [ebp + 0x10]
add esp, 8
cmp dword [ebp + 0xc], 0
mov ecx, esi
mov dword [ebp - 4], ecx
je 0x50ebfa
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], esi
call fcn.004e0d20
add esp, 0xc
test eax, eax
jne 0x50ebf3
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
sub eax, edi
mov dword [ebp - 4], esi
lea ecx, [edx - 2]
add ecx, eax
mov dword [ebp + 0xc], ecx
xor byte [ecx], 1
inc ecx
test edi, edi
jle 0x50eb97
xor edx, edx
mov dword [ebp - 4], esi
cmp edi, 0x40
jb 0x50eb86
lea eax, [edi - 1]
add eax, ebx
cmp ecx, eax
ja 0x50eb1a
mov eax, dword [ebp + 0xc]
add eax, edi
mov dword [ebp - 4], esi
cmp eax, ebx
jae 0x50eb86
mov eax, edi
and eax, 0x8000003f
jns 0x50eb28
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp + 0xc], edi
sub dword [ebp + 0xc], eax
lea eax, [ebx + 0x20]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [ecx]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [eax - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [ecx + 0x10], xmm1
movups xmm1, xmmword [ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm0, xmmword [ecx + 0x30]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
add ecx, 0x40
cmp edx, esi
jl 0x50eb37
cmp edx, edi
jge 0x50eb94
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x50eb86
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x50ebae
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [edx], al
mov eax, dword [ebp - 0x20]
mov esi, 1
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], esi
mov byte [eax + edx - 1], 0xbc
jmp 0x50ebfc
mov edx, 0x64
push 0x3ae
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x65
lea ecx, [edx - 0x40]
call fcn.00489de0
xor ecx, ecx
call fcn.00480d80
push 0
call fcn.005e4cbe
add esp, 0x10
jmp 0x50ec17
xor ecx, ecx
jmp 0x50ebfc
mov ecx, dword [ebp - 4]
jmp 0x50ebfa
xor ecx, ecx
xor esi, esi
call fcn.00480d80
push dword [ebp - 4]
call fcn.005e4cbe
add esp, 4
test ebx, ebx
je 0x50ec2a
mov dword [ebp - 0x10], esi
test edi, edi
je 0x50ec21
push edi
push ebx
call fcn.00401320
add esp, 8
push ebx
call fcn.005e4cbe
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xb7
mov edx, str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoevpdigest.c
mov ecx, str.assertion_failed:_ctx__digest__md_size___EVP_MAX_MD_SIZE
call fcn.0049c210
int3