Function at 0x1400b0cb0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov r15, qword [rbp + 0xb0]
mov qword [rbp - 0x48], r15
xor r13d, r13d
mov dword [rsp + 0x50], r13d
lea rax, vtable.asw::settings::AvastStorePaths.0
mov qword [r15], rax
lea r14, [r15 + 8]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov byte [r15 + 0x98], r13b
lea rbx, [r15 + 0xa0]
mov dword [rbx], r13d
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
mov qword [rbx + 0x48], r13
lea edx, [r13 + 2]
mov rcx, rbx
call fcn.14019a5f4
xorps xmm0, xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], 7
mov word [rbx + 0x50], r13w
movups xmmword [rbx + 0x70], xmm0
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x88], 7
mov word [rbx + 0x70], r13w
movups xmmword [rbx + 0x90], xmm0
mov qword [rbx + 0xa0], r13
mov qword [rbx + 0xa8], 7
mov word [rbx + 0x90], r13w
lea rbx, [r15 + 0x150]
mov dword [rbx], r13d
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
mov qword [rbx + 0x48], r13
lea edx, [r13 + 2]
mov rcx, rbx
call fcn.14019a5f4
xorps xmm0, xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], 7
mov word [rbx + 0x50], r13w
movups xmmword [rbx + 0x70], xmm0
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x88], 7
mov word [rbx + 0x70], r13w
lea rsi, [r15 + 0x1e0]
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
lea r12, [rsi + 0x18]
mov qword [r12], r13
lea rbx, [r15 + 0x200]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
lea ecx, [r13 + 0x68]
call fcn.14019af70
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
xorps xmm0, xmm0
movups xmmword [r15 + 0x218], xmm0
mov qword [r15 + 0x228], r13
mov qword [r15 + 0x230], 7
mov word [r15 + 0x218], r13w
movups xmmword [r15 + 0x238], xmm0
mov qword [r15 + 0x248], r13
mov qword [r15 + 0x250], 7
mov word [r15 + 0x238], r13w
mov dword [r15 + 0x258], r13d
mov qword [r15 + 0x260], r13
mov rax, qword [rbp + 0xb8]
mov qword [r15 + 0x268], rax
mov qword [r15 + 0x270], r13
mov qword [r15 + 0x278], r13
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rdi, [r13 - 1]
lea rbx, [0x14032a4a0]
mov eax, dword [rcx + rax]
cmp dword [0x14032a498], eax
jle 0x1400b0f6c
lea rcx, [0x14032a498]
call fcn.14019b210
cmp dword [0x14032a498], edi
jne 0x1400b0f6c
call fcn.1400455d0
lea rcx, [0x14023ef48]
lea rdx, str.settings.ini
cmp dword [rax + 0x20], 1
cmove rdx, rcx
xorps xmm0, xmm0
movups xmmword [0x14032a4a0], xmm0
mov qword [0x14032a4b0], r13
mov qword [0x14032a4b8], r13
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400b0f40
mov rcx, rbx
call fcn.14002a920
lea rcx, [0x140202e20]
call fcn.14019af00
nop
lea rcx, [0x14032a498]
call fcn.14019b1a0
cmp r14, rbx
je 0x1400b0f93
cmp qword [0x14032a4b8], 7
cmova rbx, qword [0x14032a4a0]
mov r8, qword [0x14032a4b0]
mov rdx, rbx
mov rcx, r14
call fcn.14002a5c0
mov rdx, qword [r15 + 0x268]
mov rax, qword [rdx + 0x30]
test rax, rax
je 0x1400b0ffb
add rdx, 0x38
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 0x10]
call qword [case.0x1400617cf.0]
mov rdx, qword [rax]
mov qword [rax], r13
mov rcx, qword [r15 + 0x260]
mov qword [r15 + 0x260], rdx
test rcx, rcx
je 0x1400b0fe0
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400b0ffb
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov rcx, r12
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], r12
mov byte [rbp + 0x50], 1
lea rax, str.config
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 6
mov dword [rsp + 0x30], 2
mov rdx, qword [rsi + 8]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
cmp rdx, qword [rsi + 0x10]
je 0x1400b104c
call fcn.1400b6b60
add qword [rsi + 8], 0x70
jmp 0x1400b1055
mov rcx, rsi
call fcn.1400b5f30
nop
mov rcx, r12
call fcn.1401d3e04
nop
lea rcx, [rbp - 0x40]
call fcn.1400b7590
mov dword [rsp + 0x50], 1
mov rbx, qword [0x14032a060]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, str.asw::settings::SettingsConfig::StorePathIni
call fcn.1400b7f20
test rax, rax
je 0x1400b10b7
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400b10a0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14002a5c0
lea rcx, str.asw::settings::SettingsConfig::StorePathDef
call fcn.1400b7f20
test rax, rax
je 0x1400b10ea
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400b10d0
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002a5c0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.1400b40f0
nop
lea rcx, [rbp + 0x28]
call fcn.140080cd0
lea rcx, [rbp + 8]
call fcn.140080cd0
lea rcx, [rbp - 0x20]
call fcn.14002adf0
lea rcx, [rbp - 0x40]
call fcn.14002adf0
movups xmm6, xmmword [str._bf__]
movups xmm0, xmmword [str.avcfg]
movaps xmmword [rsp + 0x40], xmm0
mov rbx, qword [r15 + 0x268]
add rbx, 0x218
lea rdi, [rbx + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rdi
mov byte [rbp + 0x50], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm6
lea rcx, [rsp + 0x58]
call fcn.14002a920
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400c0c20
nop
lea rcx, [rsp + 0x58]
call fcn.14002adf0
nop
mov rcx, rdi
call fcn.1401d3e04
movups xmm6, xmmword [str.avastdef]
movups xmm0, xmmword [str.avdef]
movaps xmmword [rsp + 0x40], xmm0
mov rbx, qword [r15 + 0x268]
add rbx, 0x218
lea rdi, [rbx + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rdi
mov byte [rbp + 0x50], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm6
lea rcx, [rsp + 0x58]
call fcn.14002a920
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400c0c20
nop
lea rcx, [rsp + 0x58]
call fcn.14002adf0
nop
mov rcx, rdi
call fcn.1401d3e04
mov rbx, qword [r15 + 0x268]
lea r14, str.avast5
cmp qword [0x1402bff68], 7
cmova r14, qword [str.avast5]
mov rdi, qword [0x1402bff60]
movups xmm0, xmmword [0x14024bfa0]
movaps xmmword [rsp + 0x40], xmm0
movups xmm6, xmmword [str.avcfg]
add rbx, 0x260
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rsi, [rbx + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov byte [rbp + 0x50], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r8, xmm0
movq rdx, xmm6
lea rcx, [rsp + 0x78]
call fcn.14002a920
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400c06d0
mov rbx, qword [rax]
lea rcx, [rsp + 0x78]
call fcn.14002adf0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.14002a920
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x58]
lea rcx, [rbx + 0x30]
call fcn.1400c0c20
nop
lea rcx, [rbp - 0x68]
call fcn.14002adf0
nop
mov rcx, rsi
call fcn.1401d3e04
nop
mov rax, r15
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret