Function at 0x505353
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x6c
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x14]
push 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
mov dword [0x70b32c], 0
call fcn.00630d7d
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
je 0x505399
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x505402
push 0x143
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoevpevp_lib.c
push 0x9f
mov edx, 0xa2
lea ecx, [eax + 6]
call fcn.0047b5e0
add esp, 0xc
or eax, 0xffffffff
jmp 0x505405
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
test esi, esi
je 0x505889
test eax, eax
jle 0x505889
mov ecx, edi
call fcn.005050a0
mov dword [esp + 0x38], eax
test eax, eax
jne 0x505442
push 0x8a
jmp 0x50588e
mov ecx, edi
call fcn.004a7d10
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004a7d10
mov dword [esp + 0x24], eax
call fcn.004943e0
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
je 0x50587b
cmp dword [esp + 0x24], 0
je 0x50587b
test eax, eax
je 0x50587b
mov ecx, eax
call fcn.00494580
mov ecx, dword [esp + 0x10]
call fcn.004946f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
call fcn.004946f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], eax
call fcn.004946f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
call fcn.004946f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
call fcn.004946f0
mov dword [esp + 0x50], eax
test eax, eax
jne 0x5054dc
push 0x9e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 3
jmp 0x505895
mov eax, dword [esp + 0x38]
add eax, eax
push ecx
mov ecx, eax
call fcn.0046abf0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.0046abf0
add esp, 4
mov dword [esp + 0x40], eax
cmp dword [esp + 0x14], 0
je 0x50586d
test eax, eax
je 0x50586d
mov eax, dword [esp + 0x5c]
push dword [eax]
push 0
push dword [esp + 0x68]
call fcn.00629cd0
mov edx, dword [esp + 0x3c]
add esp, 0xc
push dword [esp + 0x48]
call fcn.004d0350
add esp, 4
test eax, eax
jne 0x505543
push 0xad
jmp 0x50588e
push dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0
push 0
push dword [esp + 0x3c]
call fcn.004a83a0
add esp, 0x10
test eax, eax
je 0x50585f
push dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x30]
push dword [esp + 0x60]
call fcn.004a7f20
add esp, 0xc
test eax, eax
je 0x50585f
push dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x30]
push 0
call fcn.004a83a0
add esp, 0x10
test eax, eax
je 0x50585f
push dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.004a7f20
add esp, 0xc
test eax, eax
je 0x50585f
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
push edi
call fcn.0046e6f0
add esp, 4
test eax, eax
js 0x505858
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
add edx, edi
push edi
call fcn.0046e6f0
add esp, 4
test eax, eax
js 0x505858
push ecx
mov ecx, ebx
call fcn.0046abf0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x505629
push 0xc1
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 0x41
jmp 0x505895
push dword [esp + 0x34]
lea ecx, [edi + edi]
mov edx, ebx
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00506b00
add esp, 0x14
test eax, eax
jne 0x50565b
push 0xc8
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 6
jmp 0x505895
xor edi, edi
test ebx, ebx
je 0x505732
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp ebx, 0x40
jb 0x505710
dec eax
lea ecx, [edx - 1]
add eax, ebx
add ecx, ebx
cmp edx, eax
ja 0x50568e
mov eax, dword [esp + 0x18]
cmp ecx, eax
jae 0x505710
mov esi, dword [esp + 0x18]
mov eax, ebx
and eax, 0xffffffc0
mov dword [esp + 0x48], eax
lea eax, [edx + 0x10]
lea ecx, [esi + 0x30]
sub esi, edx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
nop
movups xmm0, xmmword [eax - 0x10]
add edi, 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 [edx + 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 edi, dword [esp + 0x48]
jne 0x5056b0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
cmp edi, ebx
je 0x505732
mov eax, dword [esp + 0x18]
mov esi, eax
lea ecx, [edi + edx]
sub esi, edx
mov edx, ebx
sub edx, edi
nop dword [eax + eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x505720
mov esi, dword [esp + 0x54]
push dword [esp + 0x34]
push esi
call fcn.00471b80
add esp, 8
test eax, eax
je 0x50584a
mov edi, dword [esp + 0x38]
mov eax, dword [esi + 0x14]
push edi
push dword [esp + 0x18]
push esi
call eax
add esp, 0xc
test eax, eax
je 0x50584a
test ebx, ebx
je 0x50577b
mov eax, dword [esi + 0x14]
push ebx
push dword [esp + 0x1c]
push esi
call eax
add esp, 0xc
test eax, eax
je 0x50584a
mov eax, dword [esp + 0x14]
add eax, edi
push edi
push eax
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
test eax, eax
je 0x50584a
mov edi, dword [esp + 0x40]
mov ecx, esi
push 0
mov edx, edi
call fcn.00471e30
add esp, 4
test eax, eax
je 0x50584a
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
call fcn.0046f8e0
mov dword [esp + 0x6c], eax
call fcn.0046f8e0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x50583c
test eax, eax
je 0x50583c
push dword [esp + 0x3c]
mov edx, edi
call fcn.0046f7b0
add esp, 4
test eax, eax
je 0x505835
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
push ebx
call fcn.0046f7b0
add esp, 4
test eax, eax
je 0x505835
push 0
push 0x6b12dc
lea edx, [esp + 0x68]
lea ecx, [esp + 0x6c]
call fcn.0048c510
add esp, 8
test eax, eax
jns 0x505825
push 0xea
jmp 0x50588e
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], 1
mov dword [ecx], eax
jmp 0x5058a5
push 0xe3
jmp 0x50588e
push 0xde
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 0x41
jmp 0x505895
push 0xd4
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 6
jmp 0x505895
push 0xbb
jmp 0x50588e
push 0xb5
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 0x10
jmp 0x505895
push 0xa6
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 0x41
jmp 0x505895
push 0x92
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 0x41
jmp 0x505895
push 0x84
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_sm2_sm2_crypt.c
push 0x44
mov edx, 0x67
lea ecx, [edx - 0x32]
call fcn.0047b5e0
add esp, 0xc
mov edi, dword [esp + 0x70]
test edi, edi
je 0x5058d4
mov eax, dword [edi + 0xc]
mov ebx, eax
and ebx, 0x80
test al, 0x10
jne 0x5058c7
push dword [edi + 8]
call fcn.0062d677
add esp, 4
test ebx, ebx
jne 0x5058d4
push edi
call fcn.0062d677
add esp, 4
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x505903
mov eax, dword [edi + 0xc]
mov ebx, eax
and ebx, 0x80
test al, 0x10
jne 0x5058f6
push dword [edi + 8]
call fcn.0062d677
add esp, 4
test ebx, ebx
jne 0x505903
push edi
call fcn.0062d677
add esp, 4
push dword [esp + 0x1c]
call fcn.0062d677
add esp, 4
push dword [esp + 0x14]
call fcn.0062d677
add esp, 4
push dword [esp + 0x40]
call fcn.0062d677
add esp, 4
mov ecx, esi
call fcn.00471a70
push esi
call fcn.0062d677
mov ecx, dword [esp + 0x14]
add esp, 4
call fcn.00494480
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x505960
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x505957
push ebx
call eax
add esp, 4
push ebx
call fcn.0062d677
add esp, 4
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x505980
mov eax, dword [ebx]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x505977
push ebx
call ecx
add esp, 4
push ebx
call fcn.0062d677
add esp, 4
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret