Function at 0x40d6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432cde
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x443080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.00411300
add esp, 8
test eax, eax
jne 0x40d73d
xor esi, esi
jmp 0x40da8e
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
push 0xf
push str.InstallLocation
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
call fcn.00409f10
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 1
mov word [eax], cx
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 7
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
cmova eax, dword [ebp - 0x4c]
push ecx
push 0
push 0
push 2
push eax
push 0
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x40d882
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
shr ecx, 1
cmp ecx, eax
ja 0x40d7e7
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x40d7f4
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00413570
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 7
push ecx
cmova eax, dword [ebp - 0x4c]
push 0
push 2
push eax
push 0
push dword [ebp - 0x2c]
call edi
test eax, eax
je 0x40d838
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
jmp 0x40d882
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x40d85b
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x40d868
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00413570
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov byte [ebp - 0x31], 1
test eax, eax
jne 0x40d886
mov byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 1
cmp ecx, 7
jbe 0x40d8c7
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d8bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40db01
push ecx
push edx
call fcn.00414794
add esp, 8
cmp byte [ebp - 0x31], 0
je 0x40d8fc
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x40d983
cmp dword [ebp - 0x14], 7
mov ecx, esi
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00413750
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040acd0
jmp 0x40da44
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x4c]
push 0xb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
push str.DisplayIcon
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
call fcn.00409f10
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.0040afc0
mov ecx, dword [ebp - 0x38]
mov edi, eax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x40d97f
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d975
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40db06
push ecx
push edx
call fcn.00414794
add esp, 8
test edi, edi
je 0x40d994
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040acd0
jmp 0x40da44
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.uninstallString
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
call fcn.00409f10
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x58]
call fcn.0040afc0
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x40da06
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d9fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40db0b
push ecx
push edx
call fcn.00414794
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x40da44
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40da3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40db10
push ecx
push edx
call fcn.00414794
add esp, 8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40da85
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x40da55
mov ecx, dword [esi]
mov dword [ebp - 0x54], 0x434304
cmp eax, 1
jb 0x40da79
dec eax
push 1
push 0x434304
lea eax, [ecx + eax*2]
push eax
call fcn.00413860
add esp, 0xc
test eax, eax
je 0x40da85
push 0x434304
mov ecx, esi
call fcn.004136d0
xor eax, eax
cmp eax, dword [esi + 0x10]
sbb esi, esi
neg esi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40dae4
cmp ecx, 0x80000001
je 0x40dae4
cmp ecx, 0x80000002
je 0x40dae4
cmp ecx, 0x80000000
je 0x40dae4
cmp ecx, 0x80000005
je 0x40dae4
cmp ecx, 0x80000007
je 0x40dae4
cmp ecx, 0x80000004
je 0x40dae4
cmp ecx, 0x80000060
je 0x40dae4
cmp ecx, 0x80000050
je 0x40dae4
cmp ecx, 0x80000003
je 0x40dae4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414ae1
mov esp, ebp
pop ebp
ret
call fcn.0041829f
call fcn.0041829f
call fcn.0041829f
call fcn.0041829f
int3