Function at 0x4aebc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc6ba
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], edi
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [edi], vtable.asw::settings::AvastStorePaths.0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], cx
mov dword [ebp - 4], ecx
mov byte [edi + 0x5c], cl
lea esi, [edi + 0x60]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
movups xmmword [esi + 0xc], xmm0
push 2
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], ecx
push esi
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
call fcn.0059979e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
movups xmmword [esi + 0x48], xmm0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
movups xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 7
mov word [esi + 0x60], ax
lea esi, [edi + 0xd8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
movups xmmword [esi + 0xc], xmm0
push 2
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], eax
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call fcn.0059979e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
movups xmmword [esi + 0x48], xmm0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
add edi, 0x138
mov dword [ebp - 0x34], edi
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x38]
add esi, 0x148
mov dword [ebp - 0x3c], esi
push 0x44
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0059a103
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [esi + 8], 0
mov esi, dword [ebp - 0x38]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x154], xmm0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 7
mov word [esi + 0x154], ax
movups xmmword [esi + 0x16c], xmm0
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], 7
mov word [esi + 0x16c], ax
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], 0
mov dword [esi + 0x194], 0
mov byte [ebp - 4], 8
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6efae8]
cmp eax, dword [ecx + 4]
jle 0x4aee5b
push 0x6efae8
call fcn.0059a388
add esp, 4
cmp dword [0x6efae8], 0xffffffff
jne 0x4aee5b
mov byte [ebp - 4], 9
call fcn.004421f0
mov ecx, str.settings.ini
mov edx, 0x62b090
xorps xmm0, xmm0
cmp dword [eax + 0x18], 1
movups xmmword [0x6efaec], xmm0
cmovne edx, ecx
mov dword [0x6efafc], 0
mov eax, edx
mov dword [0x6efb00], 0
lea ecx, [eax + 2]
mov dword [ebp - 0x3c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aee21
sub eax, dword [ebp - 0x3c]
mov ecx, 0x6efaec
sar eax, 1
push eax
push edx
call fcn.00428be0
push 0x5f2430
call fcn.0059a0a5
add esp, 4
mov byte [ebp - 4], 8
push 0x6efae8
call fcn.0059a337
add esp, 4
lea ecx, [esi + 4]
cmp ecx, 0x6efaec
je 0x4aee85
cmp dword [0x6efb00], 7
mov eax, 0x6efaec
push dword [0x6efafc]
cmova eax, dword [0x6efaec]
push eax
call fcn.00428770
mov eax, dword [esi + 0x18c]
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x4aeef7
mov esi, dword [esi + 8]
add eax, 0x20
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x5f3508]
call esi
add esp, 8
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x188]
mov dword [ebp - 0x3c], edx
mov dword [eax + 0x188], ecx
test edx, edx
je 0x4aeedb
mov eax, dword [edx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f3508]
mov ecx, dword [ebp - 0x3c]
call esi
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x4aeef7
mov eax, dword [esi]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x5f3508]
mov ecx, esi
call edi
mov edi, dword [ebp - 0x34]
lea esi, [edi + 0xc]
push esi
call fcn.005cb8a1
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 0xa
sub esp, 8
mov ecx, dword [edi + 4]
mov dword [ebp - 0x40], str.config
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x34], 2
cmp ecx, dword [edi + 8]
je 0x4aef66
mov eax, esp
sub esp, 8
mov dword [eax], 0x62a350
mov dword [eax + 4], 0
mov eax, esp
push 6
push str.config
push 2
mov dword [eax], 0x62a350
mov dword [eax + 4], 0
call fcn.0049ef00
add dword [edi + 4], 0x40
jmp 0x4aef76
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, edi
call fcn.004b2cb0
push esi
call fcn.005cb8bd
add esp, 4
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.004b4a00
mov esi, dword [0x6ef7ec]
push esi
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
call fcn.004b4be0
push esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0xd0]
push eax
mov ecx, esi
call fcn.004b11f0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call fcn.00445700
lea ecx, [ebp - 0x9c]
call fcn.00445700
lea ecx, [ebp - 0xb8]
call fcn.00428f30
lea ecx, [ebp - 0xd0]
call fcn.00428f30
push dword [0x634aec]
mov ecx, dword [esi + 0x18c]
push dword [0x634ae8]
add ecx, 0x20
push dword [0x62e378]
push dword [0x62e374]
call fcn.004bb880
push dword [0x634ae4]
mov ecx, dword [esi + 0x18c]
push dword [0x634ae0]
add ecx, 0x20
push dword [0x62e380]
push dword [0x62e37c]
call fcn.004bb880
cmp dword [0x68acc4], 7
mov eax, str.avast5
mov edx, dword [esi + 0x18c]
xorps xmm0, xmm0
cmova eax, dword [str.avast5]
mov ecx, dword [0x635f98]
mov edi, dword [str.avcfg]
mov esi, dword [0x62e378]
mov dword [ebp - 0x34], eax
mov eax, dword [0x68acc0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x635f94]
mov dword [ebp - 0x28], eax
lea eax, [edx + 0x144]
mov dword [ebp - 0x44], eax
add eax, 0x20
push eax
mov dword [ebp - 0x24], ecx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], eax
call fcn.005cb8a1
mov eax, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push esi
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x2c], esi
call fcn.00428be0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004bcb80
lea ecx, [ebp - 0x68]
mov esi, dword [eax]
mov byte [ebp - 4], 0xd
call fcn.00428f30
push dword [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.00428be0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x20]
call fcn.004bcfe0
lea ecx, [ebp - 0x80]
call fcn.00428f30
push dword [ebp - 0x3c]
call fcn.005cb8bd
mov eax, dword [ebp - 0x38]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4