Function at 0x40e580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x712468
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x813e5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d4], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40e5c9
mov dword [ebp - 0x4f0], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x40e5d3
mov dword [ebp - 0x4f0], SysReAllocStringLen
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4f4], ecx
mov dword [ebp - 0x4e8], str.SoftwareGooBrowser
lea edx, [ebp - 0x4d8]
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x4f4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40e80a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x488]
push edx
call fcn.004028c0
add esp, 8
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4fc]
call fcn.0040f530
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x550], ecx
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x40e673
mov dword [ebp - 0x4ec], str.HKEY_LOCAL_MACHINE
jmp 0x40e67d
mov dword [ebp - 0x4ec], str.HKEY_CURRENT_USER
mov eax, dword [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x428]
call fcn.00402cb0
mov dword [ebp - 0x500], eax
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0x504], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x504]
push edx
push str.Failed_to_open_key:
lea eax, [ebp - 0x4a0]
push eax
call fcn.00414ab0
add esp, 0xc
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x558], ecx
mov byte [ebp - 4], 2
push 0x7d02b4
mov edx, dword [ebp - 0x558]
push edx
lea eax, [ebp - 0x4b8]
push eax
call fcn.00403a30
add esp, 0xc
mov dword [ebp - 0x554], eax
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 0x54c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x550]
push edx
mov eax, dword [ebp - 0x54c]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
call fcn.00403a30
add esp, 0xc
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x540], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x540]
call fcn.0040f530
mov dword [ebp - 0x534], eax
mov ecx, 0x826e24
call fcn.0040f530
mov dword [ebp - 0x548], eax
push 0x7d02ac
mov eax, dword [ebp - 0x53c]
push eax
push 0x7d02b0
mov ecx, dword [ebp - 0x534]
push ecx
push 0x7d02f4
push 0x3c4
push 0x7d02fc
push 0x7d0350
mov edx, dword [ebp - 0x548]
push edx
push 0x7d0324
push 2
call fcn.00449e30
add esp, 0x2c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d0]
call fcn.00402bd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4b8]
call fcn.00402bd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.00402bd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00402bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.00402bd0
mov ecx, dword [ebp + 8]
call fcn.0040faa0
mov eax, dword [ebp - 0x4d4]
or eax, 1
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp + 8]
jmp 0x40eb8c
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4e4], 4
mov dword [ebp - 0x4e0], 4
lea ecx, [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x4dc]
push edx
lea eax, [ebp - 0x4e4]
push eax
push 0
push str.InstallerResult
mov ecx, dword [ebp - 0x4d8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40e927
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x470]
push edx
call fcn.004028c0
add esp, 8
mov dword [ebp - 0x50c], eax
mov eax, dword [ebp - 0x50c]
mov dword [ebp - 0x510], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x510]
call fcn.0040f530
mov dword [ebp - 0x514], eax
mov ecx, 0x826e24
call fcn.0040f530
mov dword [ebp - 0x518], eax
push 0x7d034c
mov ecx, dword [ebp - 0x514]
push ecx
push 0x7d03a4
push str.Failed_to_query_value:InstallerResult
push 0x7d03d0
push 0x3ce
push 0x7d03d8
push 0x7d0400
mov edx, dword [ebp - 0x518]
push edx
push 0x7d0454
push 2
call fcn.00449e30
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00402bd0
mov eax, dword [ebp - 0x4d8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
call fcn.0040faa0
mov ecx, dword [ebp - 0x4d4]
or ecx, 1
mov dword [ebp - 0x4d4], ecx
mov eax, dword [ebp + 8]
jmp 0x40eb8c
cmp dword [ebp - 0x4dc], 0
jne 0x40e95c
mov edx, dword [ebp - 0x4d8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
call fcn.0040faa0
mov eax, dword [ebp - 0x4d4]
or eax, 1
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp + 8]
jmp 0x40eb8c
mov ecx, dword [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.00402890
add esp, 8
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp - 0x51c]
mov dword [ebp - 0x520], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x520]
call fcn.0040f530
mov dword [ebp - 0x524], eax
mov ecx, 0x826e24
call fcn.0040f530
mov dword [ebp - 0x528], eax
push 0x7d046c
mov ecx, dword [ebp - 0x524]
push ecx
push str.InstallerResult:
push 0x7d0484
push 0x3d9
push 0x7d048c
push 0x7d04e8
mov edx, dword [ebp - 0x528]
push edx
push 0x7d04b4
push 1
call fcn.00449e30
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.00402bd0
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.006cfab0
add esp, 0xc
mov dword [ebp - 0x4e4], 1
mov dword [ebp - 0x4e0], 0x400
lea ecx, [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x4e4]
push eax
push 0
push str.InstallerResultUIString
mov ecx, dword [ebp - 0x4d8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40eb1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.004028c0
add esp, 8
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
mov dword [ebp - 0x530], eax
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x530]
call fcn.0040f530
mov dword [ebp - 0x55c], eax
mov ecx, 0x826e24
call fcn.0040f530
mov dword [ebp - 0x538], eax
push 0x7d04e4
mov ecx, dword [ebp - 0x55c]
push ecx
push 0x7d053c
push str.Failed_to_query_value:InstallerResultUIString
push 0x7d0570
push 0x3e1
push 0x7d0578
push 0x7d05a0
mov edx, dword [ebp - 0x538]
push edx
push 0x7d05f4
push 2
call fcn.00449e30
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00402bd0
mov eax, dword [ebp - 0x4d8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
call fcn.0040faa0
mov ecx, dword [ebp - 0x4d4]
or ecx, 1
mov dword [ebp - 0x4d4], ecx
mov eax, dword [ebp + 8]
jmp 0x40eb8c
push 0x7d060c
lea edx, [ebp - 0x410]
push edx
push str.InstallerResultUIString:
push 0x7d062c
push 0x3e5
push str.Services::GetInstallerResultUIString
push str.e:hongzhenqian02_goobrowser_yindao_codeqinghouinstaller_services_services.cpp
mov ecx, 0x826e24
call fcn.0040f530
push eax
push 0x7d065c
push 1
call fcn.00449e30
add esp, 0x28
mov eax, dword [ebp - 0x4d8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402cb0
mov edx, dword [ebp - 0x4d4]
or edx, 1
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a92ff
mov esp, ebp
pop ebp
ret