Function at 0x401a80
Capabilities:
Get installed programs
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x429746
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov eax, 1
xor ebp, ebp
mov dword [esp + 0x518], eax
test byte [0x435a30], al
mov dword [esp + 0x24], ebp
jne 0x401b02
or dword [0x435a30], eax
push 0x429f30
mov dword [0x4359e4], ebp
mov dword [0x4359e8], ebp
mov dword [0x4359ec], ebp
call fcn.00415ecd
add esp, 4
mov byte [esp + 0x518], 1
mov edi, dword [0x4359e4]
cmp edi, ebp
je 0x401b2d
mov ecx, dword [0x4359e8]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x402046
push 0x33
mov edi, 7
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea esi, [esp + 0x78]
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
call fcn.00401130
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
push 0x206
lea ecx, [esp + 0x30a]
push ebp
push ecx
mov word [esp + 0x310], bp
call fcn.004186d0
add esp, 0xc
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x518], 5
mov eax, dword [esp + 0x74]
mov ebx, 8
cmp dword [esp + 0x88], ebx
jae 0x401baa
lea eax, [esp + 0x74]
lea edx, [esp + 0x28]
push edx
push 0x20019
push ebp
push eax
push 0x80000002
mov dword [esp + 0x3c], ebp
call dword [0x42b020]
cmp eax, ebp
jne 0x401bd3
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x401c48
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebp
jb 0x401bea
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00415da4
add esp, 4
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x402145
mov edx, dword [esp + 0x74]
push edx
call fcn.00415da4
add esp, 4
jmp 0x402145
call fcn.00415da4
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
je 0x401c40
push ebx
call dword [section..rdata]
lea ebx, [ebx]
mov edi, 7
lea ebx, [edi + 1]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x318]
push edx
push eax
push esi
call dword [0x42b01c]
test eax, eax
jne 0x401ff7
mov dword [esp + 0x14], ebp
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x78]
lea ecx, [esp + 0x40]
mov byte [esp + 0x520], 6
call fcn.00401070
push 1
push 0x42d210
lea ecx, [esp + 0x40]
call fcn.00403ea0
lea eax, [esp + 0x304]
lea edx, [eax + 2]
jmp 0x401cb0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401cb0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x308]
push ecx
lea ecx, [esp + 0x40]
call fcn.00403ea0
push 0x206
lea edx, [esp + 0x102]
push ebp
push edx
mov word [esp + 0x108], bp
call fcn.004186d0
add esp, 0xc
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], bp
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], bp
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], bp
mov byte [esp + 0x518], 8
cmp dword [esp + 0x50], ebx
mov eax, dword [esp + 0x3c]
jae 0x401d72
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebp
push eax
push 0x80000002
mov dword [esp + 0x28], ebp
call dword [0x42b020]
cmp eax, ebp
jne 0x401f86
mov ebx, dword [esp + 0x14]
push 0x42d214
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
lea esi, [esp + 0x104]
mov dword [esp + 0x1c], ebx
call fcn.004063a0
test eax, eax
jne 0x401fb3
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401dc4
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x100]
push ecx
lea esi, [esp + 0x94]
call fcn.00401130
push 0x104
lea edx, [esp + 0x100]
push ebp
push edx
call fcn.004186d0
add esp, 0xc
push str.DisplayIcon
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
lea esi, [esp + 0x104]
mov dword [esp + 0x20], 0x104
call fcn.004063a0
test eax, eax
jne 0x401e54
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401e30
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x100]
push ecx
lea esi, [esp + 0xe8]
call fcn.00401130
push 0x104
lea edx, [esp + 0x100]
push ebp
push edx
call fcn.004186d0
add esp, 0xc
push str.InstallLocation
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
lea esi, [esp + 0x104]
mov dword [esp + 0x20], 0x104
call fcn.004063a0
test eax, eax
jne 0x401eb9
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401e95
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x100]
push ecx
lea esi, [esp + 0xcc]
call fcn.00401130
push 0x104
lea edx, [esp + 0x100]
push ebp
push edx
call fcn.004186d0
add esp, 0xc
push str.UninstallString
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
lea esi, [esp + 0x104]
mov dword [esp + 0x20], 0x104
call fcn.004063a0
test eax, eax
jne 0x401f24
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x401f00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x100]
push ecx
lea esi, [esp + 0xb0]
call fcn.00401130
cmp ebx, ebp
je 0x401f35
push ebx
call dword [section..rdata]
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x8c]
push edx
call fcn.004037c0
push 0x104
lea eax, [esp + 0x100]
push ebp
push eax
call fcn.004186d0
add dword [esp + 0x28], 1
add esp, 0xc
lea esi, [esp + 0x8c]
mov dword [esp + 0x20], 0x104
call fcn.004021c0
cmp dword [esp + 0x6c], 8
jb 0x401c1e
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x401c16
add dword [esp + 0x1c], 1
lea esi, [esp + 0x8c]
call fcn.004021c0
cmp dword [esp + 0x6c], ebx
jb 0x401c48
mov edx, dword [esp + 0x58]
push edx
call fcn.00415da4
add esp, 4
jmp 0x401c48
push 0x104
lea edx, [esp + 0x100]
push ebp
push edx
call fcn.004186d0
add dword [esp + 0x28], 1
add esp, 0xc
lea esi, [esp + 0x8c]
mov dword [esp + 0x20], 0x104
call fcn.004021c0
cmp dword [esp + 0x6c], 8
jb 0x401c1e
mov eax, dword [esp + 0x58]
push eax
jmp 0x401c16
cmp esi, ebp
je 0x402002
push esi
call dword [section..rdata]
cmp dword [esp + 0x50], ebx
jb 0x402015
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00415da4
add esp, 4
mov byte [esp + 0x518], 1
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x402040
mov edx, dword [esp + 0x74]
push edx
call fcn.00415da4
add esp, 4
mov edi, dword [0x4359e4]
cmp edi, dword [0x4359e8]
jbe 0x402053
call fcn.00416422
mov esi, 0x4359e0
jmp 0x402060
mov ebx, dword [0x4359e8]
cmp dword [0x4359e4], ebx
jbe 0x402073
call fcn.00416422
cmp esi, ebp
je 0x40207f
cmp esi, 0x4359e0
je 0x402084
call fcn.00416422
cmp edi, ebx
je 0x40213d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
mov ebx, 7
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x560]
mov word [ecx + 4], bp
call fcn.00401070
sub esp, 0x1c
mov byte [esp + 0x550], 9
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x560]
mov word [ecx + 4], bp
call fcn.00401070
cmp esi, ebp
mov byte [esp + 0x550], 0xa
jne 0x4020ee
call fcn.00416422
cmp edi, dword [esi + 8]
jb 0x4020f8
call fcn.00416422
sub esp, 0x70
mov eax, esp
mov dword [esp + 0xd0], esp
push eax
mov ebx, edi
call fcn.00402240
mov ebx, 1
mov byte [esp + 0x5c0], bl
call fcn.00402300
add esp, 0xa8
cmp eax, ebp
jne 0x402139
cmp edi, dword [esi + 8]
jb 0x402131
call fcn.00416422
add edi, 0x70
jmp 0x402060
mov dword [esp + 0x24], ebx
mov ebx, 8
lea edi, [ebx - 1]
cmp dword [esp + 0x538], ebx
jb 0x40215e
mov ecx, dword [esp + 0x524]
push ecx
call fcn.00415da4
add esp, 4
cmp dword [esp + 0x554], ebx
mov dword [esp + 0x538], edi
mov dword [esp + 0x534], ebp
mov word [esp + 0x524], bp
jb 0x40218d
mov edx, dword [esp + 0x540]
push edx
call fcn.00415da4
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.00416130
add esp, 0x508
ret