Function at 0x18020d8a
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.1801ef85
test al, al
je 0x18020dab
mov eax, 0x80004005
jmp 0x18020fb2
xor edi, edi
mov dword [ebp - 0x20], 0x181dd038
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], edi
mov cl, bl
call fcn.180208b6
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
mov edx, dword [eax + 4]
cmp edx, 0x18012e89
jne 0x18020dd9
push 0xffffffffffffffff
call dword [eax + 0xc]
jmp 0x18020ddb
call edx
mov dword [ebp - 0x38], 0x181dc620
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x200
call fcn.1801a8a4
mov eax, str.HKLMSoftwareMicrosoftEdgeUpdate_
test bl, bl
jne 0x18020dff
mov eax, str.HKCUSoftwareMicrosoftEdgeUpdate_
push edi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.18016313
mov ebx, eax
test ebx, ebx
js 0x18020f71
push edi
push edi
push edi
push edi
push 0x181e0298
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18020e38
mov ebx, edi
jmp 0x18020f71
lea ecx, [ebp - 8]
call fcn.18009c8e
lea ecx, [ebp - 8]
call fcn.1800d18a
mov esi, dword [ebp - 8]
test eax, eax
js 0x18020f63
xor ebx, ebx
lea ecx, [ebp - 0x38]
inc ebx
push ebx
push esi
push 0x181e0298
call fcn.18016a96
test eax, eax
js 0x18020f63
mov ecx, 0x18210088
call fcn.1801f0d2
lea ecx, [ebp - 0x38]
call fcn.18020d33
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.180205dd
mov edi, dword [ebp - 0x2c]
test eax, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
js 0x18020f23
cmp edi, eax
je 0x18020f23
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 0x18020f0d
mov edi, ecx
sub edi, eax
sar edi, 2
push edi
call fcn.1800a10f
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.18009e91
add eax, 0x10
add edi, 4
mov dword [esi], eax
add esi, 4
cmp edi, ebx
jne 0x18020eeb
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 4], esi
mov esi, dword [ebp - 8]
mov cl, byte [ebp - 1]
call fcn.18020917
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 0x18020f67
cmp edi, eax
je 0x18020f45
mov esi, dword [ebp - 0xc]
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.1800687d
add edi, 4
cmp edi, esi
jne 0x18020f2e
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.1800a00f
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
jmp 0x18020f69
mov ebx, eax
jmp 0x18020f69
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.1800687d
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x181dc620
je 0x18020f91
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], 0x181dd038
je 0x18020fb0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret