Function at 0x4060b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5097a8
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
lea ecx, [ebp + 8]
call fcn.004077e0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0043b6e0
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004077e0
add eax, 0x1c
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0043b6e0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004077e0
add eax, 0x38
push eax
lea edx, [ebp - 0x60]
push edx
call fcn.0043b6e0
add esp, 8
mov byte [ebp - 4], 2
push 0x5139d0
lea eax, [ebp - 0x2c]
push eax
call fcn.00408570
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x406189
mov dword [ebp - 0x200], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov eax, dword [ebp - 0x200]
jmp 0x406623
push 0x5139d4
lea ecx, [ebp + 8]
call fcn.004077e0
push eax
call fcn.00408550
add esp, 8
movzx edx, al
test edx, edx
je 0x4061ca
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x7c]
call fcn.00401e70
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x80], eax
jmp 0x406209
push 0x5139e8
lea ecx, [ebp + 8]
call fcn.004077e0
push eax
call fcn.00408550
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x406209
lea edx, [ebp - 0x30]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x7c]
call fcn.00401e70
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x40624b
mov dword [ebp - 0x204], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov eax, dword [ebp - 0x204]
jmp 0x406623
push 0
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x4062c7
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x208], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov eax, dword [ebp - 0x208]
jmp 0x406623
mov eax, dword [ebp - 0x3c]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045a621
add esp, 4
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], 0
jmp 0x40631c
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x8c]
jae 0x4065ca
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.00463a30
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x4063da
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.0045a61c
add esp, 4
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov eax, dword [ebp - 0x214]
jmp 0x406623
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.0043b800
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1fc]
call fcn.00407360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.00403d50
lea edx, [ebp - 0x1e0]
push edx
push str.DisplayName
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea ecx, [ebp - 0x1c4]
push ecx
push str.Publisher
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea eax, [ebp - 0x1a8]
push eax
push 0x513a14
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea edx, [ebp - 0x18c]
push edx
push str.DisplayVersion
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea ecx, [ebp - 0x170]
push ecx
push str.InstallLocation
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea eax, [ebp - 0x154]
push eax
push str.UninstallString
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea edx, [ebp - 0x138]
push edx
push 0x5138e3
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea ecx, [ebp - 0x100]
push ecx
push 0x51390e
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea eax, [ebp - 0xe4]
push eax
push str.lastdefbrowser
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea edx, [ebp - 0xc8]
push edx
push str.WorkPath
lea ecx, [ebp - 0xa8]
call fcn.00403b40
push eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00405cf0
lea ecx, [ebp - 0x1fc]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00407770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1fc]
call fcn.00407470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00401c50
jmp 0x40630d
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.0045a61c
add esp, 4
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 0xc