Function at 0x538d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x64
call fcn.006286f0
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 0x60], ecx
mov ecx, edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x64], edi
call fcn.004a0870
mov ecx, edi
call fcn.004a09e0
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004a09e0
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.004a09e0
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004a09e0
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x5391df
push 6
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.00539b30
add esp, 4
test eax, eax
je 0x5391c3
cmp eax, 6
jg 0x5391c3
lea eax, [ebp - 0x1c]
mov edx, esi
mov esi, dword [ebp - 0x48]
mov ecx, esi
push eax
call fcn.005384f0
add esp, 4
test eax, eax
je 0x5391df
cmp dword [esi + 4], 0
je 0x5391df
mov edx, ebx
mov ecx, edi
call fcn.00474b90
test eax, eax
je 0x5391df
push esi
call fcn.00474800
push edi
mov dword [ebp - 0x34], eax
call fcn.00474800
mov edi, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 8]
jg 0x538dde
mov eax, esi
jmp 0x538de7
mov edx, edi
mov ecx, esi
call fcn.004749e0
test eax, eax
je 0x5391df
mov edx, dword [ebp - 0x48]
mov esi, dword [esi]
mov dword [ebp - 0x44], esi
mov eax, dword [edx + 4]
cmp eax, edi
jge 0x538e0d
mov ecx, dword [ebp - 0x20]
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], edi
cmp edi, dword [ecx + 8]
jg 0x538e1c
mov eax, ecx
jmp 0x538e26
mov edx, edi
call fcn.004749e0
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x5391df
mov ebx, dword [ecx]
mov dword [ebp - 0x24], ebx
mov dword [ebx], 1
cmp edi, 1
jle 0x538e4e
lea ecx, [edi - 1]
xor eax, eax
lea edi, [ebx + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], edi
mov ecx, dword [ebp - 0x40]
cmp edi, dword [ecx + 8]
jg 0x538e5d
mov eax, ecx
jmp 0x538e67
mov edx, edi
call fcn.004749e0
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x5391df
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
test edi, edi
jle 0x538e86
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], edi
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x538f64
nop dword [eax]
mov ebx, dword [esi]
test bl, 1
jne 0x538f5e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax]
mov edx, eax
mov ecx, dword [ecx]
and edx, 1
neg edx
mov dword [ebp - 0x58], edx
mov ecx, dword [ecx]
and ecx, edx
lea edx, [edi - 1]
xor eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
test edx, edx
jle 0x538f40
mov ecx, dword [ebp - 0x24]
mov edx, esi
sub edx, ecx
mov dword [ebp - 0x38], edx
lea edi, [ecx + 4]
mov ecx, 0xfffffffc
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0x54], ecx
nop dword [eax]
mov edx, dword [edx + edi]
mov ecx, edx
shl ecx, 0x1f
shr ebx, 1
or ecx, ebx
shr eax, 1
mov ebx, dword [ebp - 0x2c]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x44]
add edx, edi
mov ecx, dword [ecx]
mov edx, dword [edx + ecx + 4]
and edx, dword [ebp - 0x58]
xor edx, dword [edi]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x20]
mov dword [edi - 4], ecx
dec edx
mov ecx, dword [ebp - 0x2c]
add edi, 4
inc ecx
cmp ecx, edx
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x38]
jl 0x538ef0
mov edi, dword [ebp - 0x20]
shr ebx, 1
mov dword [esi + ecx*4], ebx
mov ebx, dword [ebp - 0x24]
shr eax, 1
mov dword [ebx + ecx*4], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
jne 0x538ea0
jmp 0x538f61
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x20
jg 0x538f7c
mov eax, dword [esi]
test eax, eax
je 0x5391df
cmp eax, 1
je 0x53913c
cmp ecx, dword [ebp - 0x4c]
jge 0x538fb9
mov ebx, dword [ebp - 0x48]
mov eax, ecx
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebx]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov ebx, edx
mov edx, dword [eax]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edx
xor edx, edx
test edi, edi
jle 0x5390f6
cmp edi, 4
jb 0x5390b2
mov ecx, dword [ebp - 0x28]
lea eax, [edi - 1]
lea eax, [ebx + eax*4]
lea ecx, [ecx + edi*4]
add ecx, 0xfffffffc
cmp ebx, ecx
ja 0x538fe8
cmp eax, dword [ebp - 0x28]
jae 0x5390b2
lea ecx, [edi - 1]
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x2c], ecx
cmp ebx, ecx
ja 0x538ffd
cmp eax, esi
jae 0x5390b2
mov ecx, dword [ebp - 0x30]
sub ecx, 4
lea edi, [ecx + edi*4]
cmp ebx, edi
ja 0x539013
cmp eax, dword [ebp - 0x30]
jae 0x5390af
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
dec ebx
lea eax, [ecx + ebx*4]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp esi, eax
ja 0x539030
cmp ecx, dword [ebp - 0x28]
jae 0x5390af
cmp esi, edi
ja 0x539039
cmp ecx, dword [ebp - 0x30]
jae 0x5390af
mov ecx, dword [ebp - 0x20]
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
jns 0x53904a
dec eax
or eax, 0xfffffffc
inc eax
mov ebx, dword [ebp - 0x28]
sub ecx, eax
mov edi, dword [ebp - 0x30]
sub ebx, esi
mov dword [ebp - 0x38], ebx
sub edi, esi
mov ebx, dword [ebp - 0x24]
mov eax, esi
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ebx
sub dword [ebp - 0x2c], esi
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x2c]
nop dword [eax]
movups xmm0, xmmword [eax]
add edx, 4
lea eax, [eax + 0x10]
movups xmm1, xmmword [edi + eax - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + eax - 0x10]
movups xmmword [eax - 0x10], xmm1
movups xmm1, xmmword [ebx + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x10], xmm1
cmp edx, ecx
jl 0x539070
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
cmp edx, edi
jge 0x5390f3
jmp 0x5390b2
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
lea ecx, [esi + edx*4]
sub eax, esi
sub ebx, esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
sub eax, esi
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
sub edi, edx
mov esi, dword [ebp - 0x54]
mov edx, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edx - 4]
xor dword [ecx + esi - 4], eax
sub edi, 1
jne 0x5390d4
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x4c]
jne 0x538e94
lea eax, [ecx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov ecx, dword [esi + edi*4]
test ecx, ecx
jne 0x539123
test edi, edi
je 0x539123
mov ecx, dword [esi + edi*4 - 4]
dec edi
test ecx, ecx
je 0x539116
call fcn.00474770
mov edx, dword [ebp - 0x28]
shl edi, 5
lea ecx, [edi + eax]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
jmp 0x538e94
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebx + 4]
test esi, esi
jle 0x539163
mov eax, dword [ebx]
lea eax, [eax + esi*4]
nop dword [eax + eax]
cmp dword [eax - 4], 0
lea eax, [eax - 4]
jne 0x53915e
dec esi
test esi, esi
jg 0x539150
mov dword [ebx + 4], esi
test esi, esi
jne 0x53916c
mov dword [ebx + 0xc], 0
test byte [ebx + 0x10], 4
je 0x539175
mov esi, dword [ebx + 8]
mov edi, dword [ebp - 0x60]
cmp edi, ebx
je 0x5391b8
cmp esi, dword [edi + 8]
jg 0x539185
mov eax, edi
jmp 0x53918e
mov edx, esi
mov ecx, edi
call fcn.004749e0
test eax, eax
je 0x5391df
cmp dword [ebx + 4], 0
jle 0x5391ac
lea eax, [esi*4]
push eax
push dword [ebx]
push dword [edi]
call fcn.0062b2a0
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
test edi, edi
je 0x5391df
mov edi, 1
jmp 0x5391e1
mov edx, 0x83
push 0x18e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bn_bn_gf2m.c
push 0x6a
lea ecx, [edx - 0x80]
call fcn.004818c0
add esp, 0xc
xor edi, edi
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x539257
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x539206
mov eax, edi
dec ecx
pop edi
pop esi
mov dword [ebx + 0x24], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006285ca
mov esp, ebp
pop ebp
ret
dec dword [ebx + 0x18]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x20]
mov esi, dword [eax + ecx*4]
cmp esi, edx
jae 0x53924d
mov eax, dword [ebx + 0xc]
sub edx, esi
lea ecx, [eax - 1]
sub eax, edx
and ecx, 0xf
mov dword [ebx + 0xc], eax
test edx, edx
je 0x53924d
nop dword [eax]
dec edx
test ecx, ecx
jne 0x539248
mov eax, dword [ebx + 4]
mov ecx, 0xf
mov eax, dword [eax + 0x140]
mov dword [ebx + 4], eax
jmp 0x539249
dec ecx
test edx, edx
jne 0x539230
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x28], 0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006285ca
mov esp, ebp
pop ebp
ret