Function at 0x1400313b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa150]
mov eax, 0xa250
call fcn.1400755f0
sub rsp, rax
mov qword [rbp + 0x98], 0xfffffffffffffffe
mov qword [rsp + 0xa288], rbx
mov qword [rsp + 0xa290], rsi
mov qword [rsp + 0xa298], rdi
mov rax, qword [0x1400c0140]
xor rax, rsp
mov qword [rbp + 0xa140], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp + 0x90], rcx
xor r13d, r13d
mov dword [rbp - 0x7c], r13d
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], r13
mov word [rbp + 0xf0], r13w
lea r8d, [r13 + 0x47]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowRun
lea rcx, [rbp + 0xf0]
call fcn.140001780
nop
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
mov dword [rbp - 0x7c], 1
mov r12d, r13d
mov qword [rbp - 0x78], r13
mov ebx, r13d
mov qword [rbp - 0x70], rbx
mov r14d, r13d
mov qword [rbp - 0x68], r13
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rdx, qword [rbp + 0xf0]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140031a5b
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x140031a4d
lea rax, str.msseces.exe
mov qword [rbp - 0x40], rax
lea rax, str.MSASCui.exe
mov qword [rbp - 0x38], rax
lea rax, str.avgscanx.exe
mov qword [rbp - 0x30], rax
lea rax, str.avgcfgex.exe
mov qword [rbp - 0x28], rax
lea rax, str.avgemc.exe
mov qword [rbp - 0x20], rax
lea rax, str.avgchsvx.exe
mov qword [rbp - 0x18], rax
lea rax, str.avgcmgr.exe
mov qword [rbp - 0x10], rax
lea rax, str.avgwdsvc.exe
mov qword [rbp - 8], rax
lea rax, str.ekrn.exe
mov qword [rbp], rax
lea rax, str.egui.exe
mov qword [rbp + 8], rax
lea rax, str.avgnt.exe
mov qword [rbp + 0x10], rax
lea rax, str.avcenter.exe
mov qword [rbp + 0x18], rax
lea rax, str.avscan.exe
mov qword [rbp + 0x20], rax
lea rax, str.avgfrw.exe
mov qword [rbp + 0x28], rax
lea rax, str.avgui.exe
mov qword [rbp + 0x30], rax
lea rax, str.avgtray.exe
mov qword [rbp + 0x38], rax
lea rax, str.unhide.exe
mov qword [rbp + 0x40], rax
lea rax, str.combofix.exe
mov qword [rbp + 0x48], rax
lea rax, [0x1400a73b0]
mov qword [rbp + 0x50], rax
lea rax, str.firefox.exe
mov qword [rbp + 0x58], rax
lea rax, str.chrome.exe
mov qword [rbp + 0x60], rax
lea rax, str.opera.exe
mov qword [rbp + 0x68], rax
lea rax, str.safari.exe
mov qword [rbp + 0x70], rax
lea rax, str.mbam.exe
mov qword [rbp + 0x78], rax
lea rax, str.fixexec.exe
mov qword [rbp + 0x80], rax
lea rax, str.iexplore.exe
mov qword [rbp + 0x88], rax
mov r15d, r13d
mov dword [rsp + 0x64], r13d
movabs rdi, 0x6666666666666667
nop dword [rax]
mov dword [rsp + 0x70], 0x3fff
mov dword [rbp - 0x80], 0x1000
mov word [rbp + 0x2140], r13w
mov word [rbp + 0x140], r13w
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x2140]
mov edx, r15d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140031982
xor r15d, r15d
mov r13d, r15d
nop word [rax + rax]
lea rdx, [rbp + 0x140]
mov rcx, qword [rbp + r13*8 - 0x40]
call fcn.140063914
test eax, eax
jne 0x14003196d
lea rdx, [0x1400a8bec]
lea rcx, [0x1400bf260]
call fcn.140018f30
mov rcx, rax
lea rdx, [rbp + 0x140]
call fcn.140018560
mov rcx, rax
lea rdx, str.__DisallowRun_Deleted__r_n
call fcn.140018560
mov rsi, rax
mov edi, r15d
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rsi + 0x10], 6
jne 0x140031724
mov rcx, qword [rcx + rsi + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xffffffff
mov eax, 4
cmove edi, eax
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, rsi
test edi, edi
je 0x140031749
mov edx, dword [rcx + 0x10]
or edx, edi
cmp qword [rcx + 0x48], 0
jne 0x140031741
or edx, 4
xor r8d, r8d
call fcn.140003090
mov qword [rbp + 0xe0], 7
mov qword [rbp + 0xd8], r15
mov word [rbp + 0xc8], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x2140]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x2140]
lea rcx, [rbp + 0xc8]
call fcn.140001780
nop
lea rax, [rbp + 0xc8]
cmp rax, rbx
jae 0x140031823
lea rax, [rbp + 0xc8]
cmp r12, rax
ja 0x140031823
lea rcx, [rbp + 0xc8]
sub rcx, r12
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp rbx, r14
jne 0x1400317ec
lea rcx, [rbp - 0x78]
call fcn.140013ad0
mov r14, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov r12, qword [rbp - 0x78]
lea rax, [rdi + rdi*4]
lea rdx, [r12 + rax*8]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x58], rbx
test rbx, rbx
je 0x140031821
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.1400015e0
nop
jmp 0x140031871
cmp rbx, r14
jne 0x14003183d
lea rcx, [rbp - 0x78]
call fcn.140013ad0
mov r14, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
mov r12, qword [rbp - 0x78]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
test rbx, rbx
je 0x140031871
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call fcn.1400015e0
nop
add rbx, 0x28
mov qword [rbp - 0x70], rbx
cmp qword [rbp + 0xe0], 8
jb 0x14003188f
mov rcx, qword [rbp + 0xc8]
call fcn.140063290
lea rax, [rbp + 0xc8]
mov qword [rbp - 0x58], rax
mov qword [rbp + 0xe0], 7
mov qword [rbp + 0xd8], r15
mov word [rbp + 0xc8], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x140]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0xc8]
call fcn.140001780
nop
mov qword [rbp + 0xb8], 7
mov qword [rbp + 0xb0], r15
mov word [rbp + 0xa0], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x2140]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x2140]
lea rcx, [rbp + 0xa0]
call fcn.140001780
nop
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x118]
call fcn.140031ea0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rsi, qword [rsp + 0x78]
mov rcx, rsi
call fcn.1400158d0
nop
cmp qword [rbp + 0x130], 8
jb 0x14003196d
mov rcx, qword [rbp + 0x118]
call fcn.140063290
inc r13
cmp r13, 0x1a
jb 0x1400316b0
mov r15d, dword [rsp + 0x64]
xor r13d, r13d
inc r15d
mov dword [rsp + 0x64], r15d
cmp r15d, dword [rsp + 0x60]
jb 0x140031640
movabs rdi, 0x6666666666666667
cmp qword [rsi + 0x10], 0
je 0x140031a4d
mov r8, rsi
lea rdx, str._n_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowRun__n
lea rcx, [rbp + 0x118]
call fcn.140018b90
nop
mov rdx, rax
mov rcx, rsi
call fcn.140001540
nop
cmp qword [rbp + 0x130], 8
jb 0x1400319e3
mov rcx, qword [rbp + 0x118]
call fcn.140063290
mov r14d, r13d
mov rcx, rbx
sub rcx, r12
mov rax, rdi
imul rcx
mov rsi, rdx
sar rsi, 4
mov rax, rsi
shr rax, 0x3f
add rsi, rax
je 0x140031a48
mov rdi, r12
cmp rsi, r13
jbe 0x140031a3b
cmp qword [rdi + 0x18], 8
jb 0x140031a19
mov rdx, qword [rdi]
jmp 0x140031a1c
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc r14d
inc r13
add rdi, 0x28
mov eax, r14d
cmp rax, rsi
jb 0x140031a08
jmp 0x140031a48
lea rcx, str.invalid_vector_T__subscript
call fcn.140041cd0
int3
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r13d, r13d
test r12, r12
je 0x140031a99
mov rdi, r12
cmp r12, rbx
je 0x140031a90
cmp qword [rdi + 0x18], 8
jb 0x140031a77
mov rcx, qword [rdi]
call fcn.140063290
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
mov word [rdi], r13w
add rdi, 0x28
cmp rdi, rbx
jne 0x140031a68
mov rcx, r12
call fcn.140063290
nop
cmp qword [rbp + 0x108], 8
jb 0x140031aaf
mov rcx, qword [rbp + 0xf0]
call fcn.140063290
mov rax, rsi
mov rcx, qword [rbp + 0xa140]
xor rcx, rsp
call fcn.140063080
lea r11, [rsp + 0xa250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret