Function at 0x10012c31
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059a9f
mov eax, dword fs:[0]
push eax
mov eax, 0x5244
call fcn.1004f2f0
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ed8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ee4], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
mov dword [ebp - 0x1ecc], eax
lea eax, [ebp - 0x1f0c]
push eax
mov ecx, 0x10061dc0
mov edx, ebx
mov dword [ebp - 0x1ec8], ebx
call fcn.1000e459
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1ef4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1f0c]
mov dword [ebp - 0x1ec0], ecx
mov dword [ebp - 0x1ebc], eax
mov eax, dword [ebp - 0x1ef4]
mov dword [ebp - 0x1ee8], eax
mov eax, dword [ebp - 0x1f0c]
lea edi, [ebp - 0x1eec]
lea esi, [ebp - 0x1ec0]
mov dword [ebp - 0x1eec], eax
call fcn.1000d610
test al, al
jne 0x10013403
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012cf9
mov eax, dword [eax + 4]
jmp 0x10012cfc
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop esi
lea ecx, [ebp - 0x1ec4]
push ecx
lea ecx, [ebp - 0x1ed0]
push ecx
lea ecx, [ebp - 0x1ed4]
push ecx
push 0x10065464
push eax
push ebx
mov dword [ebp - 0x1ec4], esi
call edi
test eax, eax
jne 0x10012d3d
cmp dword [ebp - 0x1ed4], esi
jne 0x10012d3d
mov eax, dword [ebp - 0x1ed0]
jmp 0x10012d3f
xor eax, eax
cmp eax, 1
je 0x100133f3
lea esi, [ebp - 0x1ec0]
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012d5e
mov eax, dword [eax + 4]
jmp 0x10012d61
add eax, 4
push str.WindowsInstaller
push ebx
mov edx, eax
lea ecx, [ebp - 0x480]
call fcn.100342d2
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], 0
je 0x10012da8
cmp dword [ebp - 0x468], 8
mov eax, dword [ebp - 0x47c]
jae 0x10012d98
lea eax, [ebp - 0x47c]
push eax
call fcn.1004108e
pop ecx
cmp eax, 1
je 0x100133df
lea esi, [ebp - 0x1ec0]
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012dbe
mov eax, dword [eax + 4]
jmp 0x10012dc1
add eax, 4
push str.UninstallString
push ebx
mov edx, eax
lea ecx, [ebp - 0x448]
call fcn.100342d2
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 2
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012df0
mov eax, dword [eax + 4]
jmp 0x10012df3
add eax, 4
push str.DisplayVersion
push ebx
mov edx, eax
lea ecx, [ebp - 0x4f0]
call fcn.100342d2
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 3
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012e22
mov eax, dword [eax + 4]
jmp 0x10012e25
add eax, 4
push 0x100654e8
push ebx
mov edx, eax
lea ecx, [ebp - 0x50c]
call fcn.100342d2
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 4
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012e54
mov eax, dword [eax + 4]
jmp 0x10012e57
add eax, 4
push 0x10065500
push ebx
mov edx, eax
lea ecx, [ebp - 0x4b8]
call fcn.100342d2
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 5
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10012e86
mov eax, dword [eax + 4]
jmp 0x10012e89
add eax, 4
push 4
pop esi
lea ecx, [ebp - 0x1ec4]
push ecx
lea ecx, [ebp - 0x1edc]
push ecx
lea ecx, [ebp - 0x1ee0]
push ecx
push str.EstimatedSize
push eax
push ebx
mov dword [ebp - 0x1ec4], esi
call edi
test eax, eax
jne 0x10012eca
cmp dword [ebp - 0x1ee0], esi
jne 0x10012eca
mov eax, dword [ebp - 0x1edc]
mov dword [ebp - 0x1ec4], eax
jmp 0x10012ed1
and dword [ebp - 0x1ec4], 0
lea esi, [ebp - 0x1ec0]
call fcn.1000f80e
push 8
pop edi
cmp dword [eax + 0x18], edi
jb 0x10012ee9
mov eax, dword [eax + 4]
jmp 0x10012eec
add eax, 4
push str.Publisher
push ebx
mov edx, eax
lea ecx, [ebp - 0x49c]
call fcn.100342d2
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 6
call fcn.1000f80e
cmp dword [eax + 0x18], edi
jb 0x10012f1a
mov eax, dword [eax + 4]
jmp 0x10012f1d
add eax, 4
push eax
mov esi, 0x10065550
call fcn.100340c5
test eax, eax
jne 0x10013395
mov eax, dword [ebp - 0x444]
cmp dword [ebp - 0x430], edi
jae 0x10012f44
lea eax, [ebp - 0x444]
push eax
push str.UnInstall:_ls
call fcn.10036ea1
push 0x198c
lea eax, [ebp - 0x1eb8]
push 0
push eax
call fcn.10042870
mov al, byte [ebp + 0x14]
add esp, 0x14
mov byte [ebp - 0x530], al
mov eax, dword [ebp - 0x508]
cmp dword [ebp - 0x4f4], edi
jae 0x10012f82
lea eax, [ebp - 0x508]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x200
push edi
push eax
lea eax, [ebp - 0x1e38]
push eax
call ebx
mov eax, dword [ebp - 0x4b4]
push 8
pop esi
cmp dword [ebp - 0x4a0], esi
jae 0x10012faf
lea eax, [ebp - 0x4b4]
push edi
push eax
lea eax, [ebp - 0x1a38]
push eax
call ebx
mov eax, dword [ebp - 0x4ec]
cmp dword [ebp - 0x4d8], esi
jae 0x10012fce
lea eax, [ebp - 0x4ec]
push 0x40
push eax
lea eax, [ebp - 0x1238]
push eax
call ebx
mov eax, dword [ebp - 0x444]
cmp dword [ebp - 0x430], esi
jae 0x10012fee
lea eax, [ebp - 0x444]
push edi
push eax
lea eax, [ebp - 0x1638]
push eax
call ebx
mov eax, dword [ebp - 0x498]
cmp dword [ebp - 0x484], esi
jae 0x1001300d
lea eax, [ebp - 0x498]
push edi
push eax
lea eax, [ebp - 0x11b8]
push eax
call ebx
lea esi, [ebp - 0x1ec0]
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x1001302e
mov eax, dword [eax + 4]
jmp 0x10013031
add eax, 4
mov ecx, dword [ebp - 0x1ee4]
cmp dword [ecx + 0x18], 8
jb 0x10013042
mov ecx, dword [ecx + 4]
jmp 0x10013045
add ecx, 4
push eax
push ecx
push 0x10064b5c
lea ecx, [ebp - 0x4d4]
call fcn.1003416b
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x4bc], 8
mov eax, dword [ebp - 0x4d0]
jae 0x10013073
lea eax, [ebp - 0x4d0]
push edi
push eax
lea eax, [ebp - 0xd38]
push eax
call ebx
mov eax, dword [ebp - 0x1ec4]
lea esi, [ebp - 0x1ec0]
mov dword [ebp - 0x534], eax
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x100130a0
mov eax, dword [eax + 4]
jmp 0x100130a3
add eax, 4
push str.InstallDate
push dword [ebp - 0x1ec8]
mov edx, eax
lea ecx, [ebp - 0x464]
call fcn.100342d2
pop ecx
pop ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x450], 0
je 0x100130eb
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x100130df
lea eax, [ebp - 0x460]
push 0x40
push eax
lea eax, [ebp - 0xdb8]
push eax
call ebx
lea esi, [ebp - 0x1ec0]
call fcn.1000f80e
cmp dword [eax + 0x18], 8
jb 0x10013101
mov eax, dword [eax + 4]
jmp 0x10013104
add eax, 4
push str.DisplayIcon
push dword [ebp - 0x1ec8]
mov edx, eax
lea ecx, [ebp - 0x528]
call fcn.100342d2
pop ecx
pop ecx
lea eax, [ebp - 0x528]
push eax
lea edx, [ebp - 0x538]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 9
call fcn.10013de3
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x418], 2
jbe 0x1001323b
xor edi, edi
inc edi
lea eax, [ebp - 0x42c]
call fcn.1001440c
cmp word [eax], 0x3a
je 0x10013236
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x10013178
lea eax, [ebp - 0x428]
push eax
mov ebx, str..exe
call fcn.10034124
test eax, eax
je 0x10013230
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10042870
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x100131d0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x100131f3
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.short_name:_ls__real_name:_ls
call fcn.10036ea1
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10013211
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x218]
lea edx, [ebp - 0x42c]
call fcn.100025f8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x200
cmp dword [ebp - 0x418], 0
je 0x100132cd
xor eax, eax
cmp dword [ebp - 0x414], 8
mov word [ebp - 0x410], ax
mov eax, dword [ebp - 0x428]
jae 0x10013266
lea eax, [ebp - 0x428]
push edi
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push 0x10061dc0
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x410]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1001328c
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x410]
lea edx, [ebp - 0x42c]
call fcn.100025f8
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x100132c0
lea eax, [ebp - 0x428]
push edi
push eax
lea eax, [ebp - 0x938]
push eax
call ebx
jmp 0x100132e0
lea eax, [ebp - 0x1e38]
push eax
push str.icon_empyty__software_name:_ls
call fcn.10036ea1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1ed8]
lea edx, [ebp - 0x1eb8]
call fcn.10012a1e
mov eax, 0x198c
lea esi, [ebp - 0x1eb8]
call fcn.1004f2f0
mov edi, esp
mov ecx, 0x663
lea eax, [ebp - 0x1e38]
rep movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebp - 0x38a8]
call fcn.10014d28
add esp, 0x1990
lea ecx, [ebp - 0x5250]
call fcn.10014d47
lea eax, [ebp - 0x5250]
push eax
push dword [ebp - 0x1ecc]
lea ebx, [ebp - 0x1f18]
mov byte [ebp - 4], 0xb
call fcn.10011aa3
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x5250]
call fcn.1000233f
push ebx
push edi
lea esi, [ebp - 0x42c]
call fcn.1000233f
push ebx
push edi
lea esi, [ebp - 0x528]
call fcn.1000233f
push ebx
push edi
lea esi, [ebp - 0x464]
call fcn.1000233f
push ebx
push edi
lea esi, [ebp - 0x4d4]
call fcn.1000233f
mov ebx, dword [ebp - 0x1ec8]
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x49c]
call fcn.1000233f
push edi
push 1
lea esi, [ebp - 0x4b8]
call fcn.1000233f
push edi
push 1
lea esi, [ebp - 0x50c]
call fcn.1000233f
push edi
push 1
lea esi, [ebp - 0x4f0]
call fcn.1000233f
push edi
push 1
lea esi, [ebp - 0x448]
call fcn.1000233f
jmp 0x100133e1
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x480]
mov byte [ebp - 4], 0
call fcn.1000233f
lea esi, [ebp - 0x1ec0]
call fcn.1000d700
jmp 0x10012cb8
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1f0c]
push eax
call fcn.1000f7e6
mov eax, dword [ebp - 0x1ecc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004017c
leave
ret 0x10