Function at 0x180277a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov bl, cl
push edi
mov byte [ebp - 1], bl
call fcn.180211f8
test al, al
je 0x180277c4
mov eax, 0x80004005
jmp 0x180279cb
xor edi, edi
mov dword [ebp - 0x20], 0x181f555c
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], edi
mov cl, bl
call fcn.180272cf
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
mov edx, dword [eax + 4]
cmp edx, 0x180139db
jne 0x180277f2
push 0xffffffffffffffff
call dword [eax + 0xc]
jmp 0x180277f4
call edx
mov dword [ebp - 0x38], 0x181f4a50
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x200
call fcn.1801c0e3
mov eax, str.HKLMSoftwareMicrosoftEdgeUpdate_
test bl, bl
jne 0x18027818
mov eax, str.HKCUSoftwareMicrosoftEdgeUpdate_
push edi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.18017891
mov ebx, eax
test ebx, ebx
js 0x1802798a
push edi
push edi
push edi
push edi
push 0x181f9cf8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18027851
mov ebx, edi
jmp 0x1802798a
lea ecx, [ebp - 8]
call fcn.18009d8f
lea ecx, [ebp - 8]
call fcn.1800d882
mov esi, dword [ebp - 8]
test eax, eax
js 0x1802797c
xor ebx, ebx
lea ecx, [ebp - 0x38]
inc ebx
push ebx
push esi
push 0x181f9cf8
call fcn.18018014
test eax, eax
js 0x1802797c
mov ecx, 0x1822c080
call fcn.18025ba7
lea ecx, [ebp - 0x38]
call fcn.1802774c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.18026ff6
mov edi, dword [ebp - 0x2c]
test eax, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
js 0x1802793c
cmp edi, eax
je 0x1802793c
sub esp, 0xc
xor eax, eax
mov ebx, esp
mov dword [ebp - 0x18], ebx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x18027926
mov edi, ecx
sub edi, eax
sar edi, 2
push edi
call fcn.1800a210
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
lea eax, [eax + edi*4]
mov edi, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.18009f92
add eax, 0x10
add edi, 4
mov dword [esi], eax
add esi, 4
cmp edi, ebx
jne 0x18027904
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 4], esi
mov esi, dword [ebp - 8]
mov cl, byte [ebp - 1]
call fcn.18027330
mov edi, dword [ebp - 0x2c]
mov ebx, eax
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0xc], eax
test edi, edi
je 0x18027980
cmp edi, eax
je 0x1802795e
mov esi, dword [ebp - 0xc]
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.1800694d
add edi, 4
cmp edi, esi
jne 0x18027947
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
sub eax, edi
and eax, 0xfffffffc
push eax
push edi
call fcn.1800a110
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
jmp 0x18027982
mov ebx, eax
jmp 0x18027982
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.1800694d
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x181f4a50
je 0x180279aa
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x200
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call dword [eax + 8]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x181f555c
je 0x180279c9
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret