Function at 0x5381d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x64
call fcn.00663af0
mov eax, dword [0x74e694]
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.00494730
mov ecx, edi
call fcn.004948a0
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004948a0
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.004948a0
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004948a0
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x5386af
push 6
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.00539000
add esp, 4
test eax, eax
je 0x538693
cmp eax, 6
jg 0x538693
lea eax, [ebp - 0x1c]
mov edx, esi
mov esi, dword [ebp - 0x48]
mov ecx, esi
push eax
call fcn.005379c0
add esp, 4
test eax, eax
je 0x5386af
cmp dword [esi + 4], 0
je 0x5386af
mov edx, ebx
mov ecx, edi
call fcn.0046e5a0
test eax, eax
je 0x5386af
push esi
call fcn.0046e210
push edi
mov dword [ebp - 0x34], eax
call fcn.0046e210
mov edi, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 8]
jg 0x5382ae
mov eax, esi
jmp 0x5382b7
mov edx, edi
mov ecx, esi
call fcn.0046e3f0
test eax, eax
je 0x5386af
mov edx, dword [ebp - 0x48]
mov esi, dword [esi]
mov dword [ebp - 0x44], esi
mov eax, dword [edx + 4]
cmp eax, edi
jge 0x5382dd
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 0x5382ec
mov eax, ecx
jmp 0x5382f6
mov edx, edi
call fcn.0046e3f0
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x5386af
mov ebx, dword [ecx]
mov dword [ebp - 0x24], ebx
mov dword [ebx], 1
cmp edi, 1
jle 0x53831e
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 0x53832d
mov eax, ecx
jmp 0x538337
mov edx, edi
call fcn.0046e3f0
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x5386af
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
test edi, edi
jle 0x538356
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 0x538434
nop dword [eax]
mov ebx, dword [esi]
test bl, 1
jne 0x53842e
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 0x538410
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 0x5383c0
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 0x538370
jmp 0x538431
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x20
jg 0x53844c
mov eax, dword [esi]
test eax, eax
je 0x5386af
cmp eax, 1
je 0x53860c
cmp ecx, dword [ebp - 0x4c]
jge 0x538489
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 0x5385c6
cmp edi, 4
jb 0x538582
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 0x5384b8
cmp eax, dword [ebp - 0x28]
jae 0x538582
lea ecx, [edi - 1]
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x2c], ecx
cmp ebx, ecx
ja 0x5384cd
cmp eax, esi
jae 0x538582
mov ecx, dword [ebp - 0x30]
sub ecx, 4
lea edi, [ecx + edi*4]
cmp ebx, edi
ja 0x5384e3
cmp eax, dword [ebp - 0x30]
jae 0x53857f
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 0x538500
cmp ecx, dword [ebp - 0x28]
jae 0x53857f
cmp esi, edi
ja 0x538509
cmp ecx, dword [ebp - 0x30]
jae 0x53857f
mov ecx, dword [ebp - 0x20]
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
jns 0x53851a
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 0x538540
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
cmp edx, edi
jge 0x5385c3
jmp 0x538582
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 0x5385a4
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 0x538364
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 0x5385f3
test edi, edi
je 0x5385f3
mov ecx, dword [esi + edi*4 - 4]
dec edi
test ecx, ecx
je 0x5385e6
call fcn.0046e180
mov edx, dword [ebp - 0x28]
shl edi, 5
lea ecx, [edi + eax]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
jmp 0x538364
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebx + 4]
test esi, esi
jle 0x538633
mov eax, dword [ebx]
lea eax, [eax + esi*4]
nop dword [eax + eax]
cmp dword [eax - 4], 0
lea eax, [eax - 4]
jne 0x53862e
dec esi
test esi, esi
jg 0x538620
mov dword [ebx + 4], esi
test esi, esi
jne 0x53863c
mov dword [ebx + 0xc], 0
test byte [ebx + 0x10], 4
je 0x538645
mov esi, dword [ebx + 8]
mov edi, dword [ebp - 0x60]
cmp edi, ebx
je 0x538688
cmp esi, dword [edi + 8]
jg 0x538655
mov eax, edi
jmp 0x53865e
mov edx, esi
mov ecx, edi
call fcn.0046e3f0
test eax, eax
je 0x5386af
cmp dword [ebx + 4], 0
jle 0x53867c
lea eax, [esi*4]
push eax
push dword [ebx]
push dword [edi]
call fcn.00666bd0
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 0x5386af
mov edi, 1
jmp 0x5386b1
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.0047b7e0
add esp, 0xc
xor edi, edi
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x538727
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x5386d6
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.00663ada
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 0x53871d
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 0x53871d
nop dword [eax]
dec edx
test ecx, ecx
jne 0x538718
mov eax, dword [ebx + 4]
mov ecx, 0xf
mov eax, dword [eax + 0x140]
mov dword [ebx + 4], eax
jmp 0x538719
dec ecx
test edx, edx
jne 0x538700
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.00663ada
mov esp, ebp
pop ebp
ret