Function at 0x4081b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1228
call fcn.00430ae0
mov eax, dword [0x448034]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa14], ax
lea eax, [ebp - 0xa12]
push eax
mov ebx, ecx
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
mov dword [ebp - 0x121c], 0x400
push 0
push 0
push 0
push 0
push 0x4372cc
push dword [ebx]
mov dword [ebp - 0x1218], 4
call esi
test eax, eax
jne 0x408231
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042ef5e
mov esp, ebp
pop ebp
ret 4
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.DisplayName
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x4082bd
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
jmp 0x408290
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408290
sub ecx, edx
sar ecx, 1
je 0x4082bd
xor eax, eax
cmp word [ebp - 0xa14], ax
cmove ecx, eax
push ecx
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0x18]
call fcn.00402fc0
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.InstallDate
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x40833d
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408314
sub ecx, edx
sar ecx, 1
je 0x40833d
cmp dword [ebp - 0x1218], 1
jne 0x40833d
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0x30]
call fcn.00406450
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.DisplayVersion
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x4083c1
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408394
sub ecx, edx
sar ecx, 1
je 0x4083c1
xor eax, eax
cmp word [ebp - 0xa14], ax
cmove ecx, eax
push ecx
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0x60]
call fcn.00402fc0
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.Publisher
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x40844d
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
jmp 0x408420
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408420
sub ecx, edx
sar ecx, 1
je 0x40844d
xor eax, eax
cmp word [ebp - 0xa14], ax
cmove ecx, eax
push ecx
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0x48]
call fcn.00402fc0
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.InstallLocation
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x40852f
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
jmp 0x4084b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4084b0
sub ecx, edx
sar ecx, 1
je 0x40852f
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1214], ax
lea eax, [ebp - 0x1212]
push eax
call sub.MSVCR110.dll_memset
add esp, 8
lea edx, [ebp - 0x1214]
lea ecx, [ebp - 0xa14]
call fcn.004074b0
add esp, 4
cmp word [ebp - 0x1214], 0
jne 0x408501
xor ecx, ecx
jmp 0x40851f
lea ecx, [ebp - 0x1214]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408510
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1214]
push eax
lea ecx, [edi + 0x78]
call fcn.00402fc0
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.InstallSource
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x4085b2
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408586
sub ecx, edx
sar ecx, 1
je 0x4085b2
cmp dword [ebp - 0x1218], 1
jne 0x4085b2
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0x90]
call fcn.00406450
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.UninstallString
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x40863c
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408610
sub ecx, edx
sar ecx, 1
je 0x40863c
cmp dword [ebp - 0x1218], 1
jne 0x40863c
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0xa8]
call fcn.00406450
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.DisplayIcon
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x4086bf
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408693
sub ecx, edx
sar ecx, 1
je 0x4086bf
cmp dword [ebp - 0x1218], 1
jne 0x4086bf
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0x138]
call fcn.00406450
push 0x800
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.UninstallString
push dword [ebx]
mov dword [ebp - 0x121c], 0x400
mov dword [ebp - 0x1218], 1
call esi
test eax, eax
jne 0x408742
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408716
sub ecx, edx
sar ecx, 1
je 0x408742
cmp dword [ebp - 0x1218], 1
jne 0x408742
lea eax, [ebp - 0xa14]
push eax
lea ecx, [edi + 0xc0]
call fcn.00406450
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.Language
push dword [ebx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1224], xmm0
mov dword [ebp - 0x121c], 8
mov dword [ebp - 0x1218], 4
call esi
mov esi, dword [sym.imp.MSVCR110.dll_swprintf_s]
test eax, eax
jne 0x408804
push dword [ebp - 0x1220]
lea eax, [ebp - 0x214]
push dword [ebp - 0x1224]
push 0x437190
push 0x104
push eax
call esi
add esp, 0x14
cmp word [ebp - 0x214], 0
jne 0x4087d9
xor ecx, ecx
jmp 0x4087f1
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4087e2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0xd8]
call fcn.00402fc0
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.VersionMajor
push dword [ebx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1224], xmm0
mov dword [ebp - 0x121c], 8
mov dword [ebp - 0x1218], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4088a6
push dword [ebp - 0x1220]
lea eax, [ebp - 0x214]
push dword [ebp - 0x1224]
push 0x437190
push 0x104
push eax
call esi
add esp, 0x14
cmp word [ebp - 0x214], 0
jne 0x40887b
xor ecx, ecx
jmp 0x408893
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408884
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0xf0]
call fcn.00402fc0
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.VersionMinor
push dword [ebx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1224], xmm0
mov dword [ebp - 0x121c], 8
mov dword [ebp - 0x1218], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408948
push dword [ebp - 0x1220]
lea eax, [ebp - 0x214]
push dword [ebp - 0x1224]
push 0x437190
push 0x104
push eax
call esi
add esp, 0x14
cmp word [ebp - 0x214], 0
jne 0x40891d
xor ecx, ecx
jmp 0x408935
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408926
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0x108]
call fcn.00402fc0
lea eax, [ebp - 0x121c]
push eax
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x1218]
push eax
push 0
push str.WindowsInstaller
push dword [ebx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1224], xmm0
mov dword [ebp - 0x121c], 8
mov dword [ebp - 0x1218], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4089f2
push dword [ebp - 0x1220]
lea eax, [ebp - 0x214]
push dword [ebp - 0x1224]
push 0x437190
push 0x104
push eax
call esi
add esp, 0x14
cmp word [ebp - 0x214], 0
jne 0x4089bf
xor ecx, ecx
jmp 0x4089df
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
jmp 0x4089d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4089d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0x120]
call fcn.00402fc0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0042ef5e
mov esp, ebp
pop ebp
ret 4