Function at 0x50e390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x74
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 0x18
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x48], 0
mov dword [0x6a7ea4], 0
call fcn.005ee808
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
je 0x50e6bf
xorps xmm0, xmm0
test esi, esi
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov eax, ebx
cmovne eax, esi
mov dword [ebp - 0x4c], eax
test ebx, ebx
jne 0x50e428
push 0x143
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoevpevp_lib.c
push 0x9f
mov edx, 0xa2
lea ecx, [ebx + 6]
call fcn.00489de0
add esp, 0xc
jmp 0x50e6bf
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x68], edi
test edi, edi
js 0x50e6be
mov ebx, dword [ebp + 0x14]
cmp ebx, 0xffffffff
jne 0x50e48f
mov ebx, edi
mov dword [ebp + 0x14], ebx
mov esi, dword [ebp - 0x60]
mov esi, dword [esi + 0x10]
push esi
call fcn.0047d7a0
dec eax
and eax, 7
push esi
mov dword [ebp - 0x60], eax
call fcn.0047d7a0
mov ecx, dword [ebp - 0x60]
add eax, 7
cdq
add esp, 8
and edx, 7
lea esi, [edx + eax]
mov edx, dword [ebp - 0x54]
mov eax, 0xff
sar esi, 3
shl eax, cl
test byte [edx], al
je 0x50e49b
push 0x46
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x85
jmp 0x50e6ae
cmp ebx, 0xfffffffd
jge 0x50e444
push 0x3f
jmp 0x50e6a4
mov eax, dword [ebp - 0x60]
lea ecx, [edx + 1]
test eax, eax
lea eax, [edi + 2]
cmovne ecx, edx
lea edx, [esi - 1]
cmovne edx, esi
mov dword [ebp - 0x54], ecx
cmp edx, eax
jge 0x50e4c4
push 0x4e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x6d
jmp 0x50e6ae
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, 0xfffffffd
jne 0x50e4eb
mov dword [ebp + 0x14], eax
cmp byte [ecx + edx - 1], 0xbc
je 0x50e4fd
push 0x58
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x86
jmp 0x50e6ae
cmp ebx, eax
jle 0x50e4d3
push 0x54
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x6d
jmp 0x50e6ae
add esi, 0xffffffff
mov dword [ebp - 0x5c], esi
lea ebx, [ecx + esi]
jne 0x50e51d
push 0x5f
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
mov dword [ebp - 0x48], 0
push 0x41
jmp 0x50e6ae
push esi
mov dword [0x6a7ea4], 0
call fcn.005ee808
add esp, 4
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x50e545
push 0x5f
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x41
jmp 0x50e6ae
push dword [ebp - 0x4c]
mov edx, esi
mov ecx, eax
push edi
push ebx
call fcn.004e0d20
add esp, 0xc
test eax, eax
js 0x50e6be
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x4c], eax
test ecx, ecx
jle 0x50e641
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x54]
cmp ecx, 0x40
jb 0x50e61c
mov dword [ebp - 0x4c], eax
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x50e595
lea eax, [edx - 1]
add eax, ecx
cmp eax, esi
jae 0x50e619
mov eax, ecx
and eax, 0x8000003f
jns 0x50e5a3
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp - 0x54], ecx
mov ecx, esi
sub dword [ebp - 0x54], eax
sub ecx, edx
mov dword [ebp - 0x6c], ecx
lea eax, [edx + 0x10]
mov edx, dword [ebp - 0x54]
lea ecx, [esi + 0x30]
mov edi, dword [ebp - 0x6c]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add dword [ebp - 0x4c], 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp dword [ebp - 0x4c], edx
jl 0x50e5c0
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
cmp eax, ecx
jge 0x50e641
sub esi, dword [ebp - 0x48]
add edx, eax
mov dword [ebp - 0x68], ecx
sub ecx, dword [ebp - 0x4c]
nop dword [eax + eax]
mov al, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], al
sub ecx, 1
jne 0x50e630
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x60]
mov dl, byte [eax]
mov byte [ebp - 0x55], dl
test esi, esi
je 0x50e666
mov ecx, 8
mov edx, 0xff
sub ecx, esi
sar edx, cl
and dl, byte [ebp - 0x55]
mov ecx, dword [ebp - 0x5c]
mov byte [eax], dl
xor esi, esi
test dl, dl
jne 0x50e67b
lea edx, [ecx - 1]
nop
cmp esi, edx
jge 0x50e67b
inc esi
cmp byte [esi + eax], 0
je 0x50e670
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x50e691
push 0x6a
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x87
jmp 0x50e6ae
mov eax, dword [ebp + 0x14]
sub ecx, esi
mov dword [ebp - 0x5c], ecx
cmp eax, 0xfffffffe
je 0x50e6ed
cmp ecx, eax
je 0x50e6ed
push 0x6e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x88
mov edx, 0x7e
lea ecx, [edx - 0x7a]
call fcn.00489de0
add esp, 0xc
pop edi
push dword [ebp - 0x48]
call fcn.005e4cbe
mov ebx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.00480d80
push ebx
call fcn.005e4cbe
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop esi
pop ebx
call fcn.005df097
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x50]
call fcn.00480eb0
add esp, 0xc
test eax, eax
je 0x50e6be
mov eax, dword [ebp - 0x50]
push 8
push 0x65da38
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x50e6be
test edi, edi
je 0x50e730
mov eax, dword [ebp - 0x50]
push edi
push dword [ebp - 0x74]
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x50e6be
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x50e752
push eax
mov eax, dword [ebp - 0x48]
add eax, esi
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
test eax, eax
je 0x50e6be
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
cmp dword [ecx + 8], 0x40
jg 0x50e824
lea edx, [ebp - 0x44]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x50e78b
push eax
call edx
mov eax, dword [ebp - 0x50]
add esp, 4
or dword [eax + 8], 2
mov ecx, dword [eax]
push dword [ecx + 0x28]
push dword [eax + 0xc]
call fcn.00401320
add esp, 8
test esi, esi
je 0x50e6be
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x50e7c1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x50e7c6
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x50e7b0
cmp edi, 0xfffffffc
je 0x50e818
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x50e7f3
cmp edi, 0xfffffffd
je 0x50e818
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x50e7f3
cmp edi, 0xfffffffe
je 0x50e818
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x50e7f3
cmp edi, 0xffffffff
je 0x50e818
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x50e818
mov edx, 0x7e
push 0x7c
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rsa_rsa_pss.c
push 0x68
lea ecx, [edx - 0x7a]
call fcn.00489de0
add esp, 0xc
mov dword [ebp - 0x64], 0
jmp 0x50e6be
mov dword [ebp - 0x64], 1
jmp 0x50e6be
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