Function at 0x437b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a01f8
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x264], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x268], esi
mov word [esi + 4], cx
mov ecx, 1
xor edx, edx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
mov eax, edi
mov dword [ebp - 4], ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437be3
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x238]
call fcn.004252e0
push 0x13
push str._shellopencommand
lea ecx, [ebp - 0x238]
call fcn.00431b10
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x258], ebx
jae 0x437c2c
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x258]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x437cd7
push 0x208
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x21c], dx
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x25c]
push ecx
mov ecx, dword [ebp - 0x258]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x260]
push eax
push ebx
push ebx
push ecx
mov dword [ebp - 0x25c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
mov word [ebp - 0x14], dx
cmp eax, ebx
jne 0x437cca
cmp dword [ebp - 0x260], 1
jne 0x437cca
mov eax, dword [ebp - 0x25c]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x437cca
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
call fcn.004464f0
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042a440
test al, al
je 0x437dfa
cmp dword [esi + 0x18], 8
jb 0x437cef
mov eax, dword [esi + 4]
jmp 0x437cf2
lea eax, [esi + 4]
push str.C:Windows_system32LaunchWinApp.exe
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebx
je 0x437dfa
lea eax, [ebp - 0x258]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x437dfa
push 0x208
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x21c], cx
call fcn.0055e2a0
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x25c]
push edx
push ebx
push str.FriendlyTypeName
push eax
mov dword [ebp - 0x260], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [ebp - 0x14], cx
cmp eax, ebx
jne 0x437ded
cmp dword [ebp - 0x25c], 1
jne 0x437ded
mov edx, dword [ebp - 0x260]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x437ded
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.00424f10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x437dc6
lea eax, [ebp - 0x250]
push str.MicrosoftEdge
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437de2
push str.MicrosoftEdge
mov ecx, esi
call fcn.004464f0
lea ecx, [ebp - 0x254]
call fcn.00424f60
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 8
jb 0x437e12
mov edx, dword [ebp - 0x234]
push edx
call fcn.0055dfce
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret