Function at 0x414620
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x260
mov eax, 0x523eb8
call fcn.004fc737
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x268], ebx
call fcn.00404e70
xor eax, eax
inc eax
xor ecx, ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
push edi
mov dword [ebp - 4], eax
call fcn.004f192a
pop ecx
push edi
lea esi, [ebp - 0x238]
call fcn.00404d75
push str._shellopencommand
mov eax, esi
push eax
call fcn.0040160e
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x258], ebx
jae 0x4146ac
lea eax, [ebp - 0x234]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x258]
push ecx
push eax
push SysReAllocString
call ebx
mov edi, 0x208
test eax, eax
jne 0x414762
xor esi, esi
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x260], esi
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push dword [ebp - 0x258]
mov dword [ebp - 0x25c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [ebp - 0x14], cx
cmp eax, esi
jne 0x414756
cmp dword [ebp - 0x260], 1
jne 0x414756
mov eax, dword [ebp - 0x25c]
and eax, 0xfffffffe
cmp eax, edi
jae 0x414756
lea eax, [ebp - 0x21c]
push eax
call fcn.004f192a
mov esi, dword [ebp - 0x264]
pop ecx
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00404d75
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0040cc6c
test al, al
je 0x41488a
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x18], 8
jb 0x414780
mov eax, dword [eax + 4]
jmp 0x414783
add eax, 4
push str.C:Windows_system32LaunchWinApp.exe
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor esi, esi
cmp eax, esi
je 0x41488a
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x26c]
push SysReAllocString
call ebx
test eax, eax
jne 0x41488a
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x25c], esi
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
push str.FriendlyTypeName
push dword [ebp - 0x258]
mov dword [ebp - 0x260], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [ebp - 0x14], cx
cmp eax, esi
jne 0x41487e
cmp dword [ebp - 0x25c], 1
jne 0x41487e
mov eax, dword [ebp - 0x260]
and eax, 0xfffffffe
cmp eax, edi
jae 0x41487e
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x254]
call fcn.004043d1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x41484b
lea eax, [ebp - 0x250]
mov esi, str.MicrosoftEdge
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41486f
push esi
call fcn.004f192a
pop ecx
push esi
mov esi, dword [ebp - 0x264]
call fcn.00404d75
push 0
push 1
lea esi, [ebp - 0x254]
call fcn.00404e29
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea esi, [ebp - 0x238]
call fcn.00404e29
mov eax, dword [ebp - 0x264]
call fcn.004fc7ba
ret