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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a469
mov eax, dword fs:[0]
push eax
mov eax, 0x5244
call fcn.1004fd10
mov eax, dword [0x10078060]
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, 0x10062dd0
mov edx, ebx
mov dword [ebp - 0x1ec8], ebx
call fcn.1000e4a2
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.1002c705
test al, al
jne 0x1001340c
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012d02
mov eax, dword [eax + 4]
jmp 0x10012d05
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 0x100664cc
push eax
push ebx
mov dword [ebp - 0x1ec4], esi
call edi
test eax, eax
jne 0x10012d46
cmp dword [ebp - 0x1ed4], esi
jne 0x10012d46
mov eax, dword [ebp - 0x1ed0]
jmp 0x10012d48
xor eax, eax
cmp eax, 1
je 0x100133fc
lea esi, [ebp - 0x1ec0]
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012d67
mov eax, dword [eax + 4]
jmp 0x10012d6a
add eax, 4
push str.WindowsInstaller
push ebx
mov edx, eax
lea ecx, [ebp - 0x480]
call fcn.10034914
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], 0
je 0x10012db1
cmp dword [ebp - 0x468], 8
mov eax, dword [ebp - 0x47c]
jae 0x10012da1
lea eax, [ebp - 0x47c]
push eax
call fcn.10041a9e
pop ecx
cmp eax, 1
je 0x100133e8
lea esi, [ebp - 0x1ec0]
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012dc7
mov eax, dword [eax + 4]
jmp 0x10012dca
add eax, 4
push str.UninstallString
push ebx
mov edx, eax
lea ecx, [ebp - 0x448]
call fcn.10034914
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 2
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012df9
mov eax, dword [eax + 4]
jmp 0x10012dfc
add eax, 4
push str.DisplayVersion
push ebx
mov edx, eax
lea ecx, [ebp - 0x4f0]
call fcn.10034914
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 3
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012e2b
mov eax, dword [eax + 4]
jmp 0x10012e2e
add eax, 4
push 0x10066550
push ebx
mov edx, eax
lea ecx, [ebp - 0x50c]
call fcn.10034914
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 4
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012e5d
mov eax, dword [eax + 4]
jmp 0x10012e60
add eax, 4
push 0x10066568
push ebx
mov edx, eax
lea ecx, [ebp - 0x4b8]
call fcn.10034914
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 5
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10012e8f
mov eax, dword [eax + 4]
jmp 0x10012e92
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 0x10012ed3
cmp dword [ebp - 0x1ee0], esi
jne 0x10012ed3
mov eax, dword [ebp - 0x1edc]
mov dword [ebp - 0x1ec4], eax
jmp 0x10012eda
and dword [ebp - 0x1ec4], 0
lea esi, [ebp - 0x1ec0]
call fcn.10011a28
push 8
pop edi
cmp dword [eax + 0x18], edi
jb 0x10012ef2
mov eax, dword [eax + 4]
jmp 0x10012ef5
add eax, 4
push str.Publisher
push ebx
mov edx, eax
lea ecx, [ebp - 0x49c]
call fcn.10034914
pop ecx
pop ecx
lea esi, [ebp - 0x1ec0]
mov byte [ebp - 4], 6
call fcn.10011a28
cmp dword [eax + 0x18], edi
jb 0x10012f23
mov eax, dword [eax + 4]
jmp 0x10012f26
add eax, 4
push eax
mov esi, 0x100665b8
call fcn.10034707
test eax, eax
jne 0x1001339e
mov eax, dword [ebp - 0x444]
cmp dword [ebp - 0x430], edi
jae 0x10012f4d
lea eax, [ebp - 0x444]
push eax
push str.UnInstall:_ls
call fcn.10037607
push 0x198c
lea eax, [ebp - 0x1eb8]
push 0
push eax
call fcn.10043280
mov al, byte [ebp + 0x14]
add esp, 0x14
mov byte [ebp - 0x530], al
mov eax, dword [ebp - 0x508]
cmp dword [ebp - 0x4f4], edi
jae 0x10012f8b
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 0x10012fb8
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 0x10012fd7
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 0x10012ff7
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 0x10013016
lea eax, [ebp - 0x498]
push edi
push eax
lea eax, [ebp - 0x11b8]
push eax
call ebx
lea esi, [ebp - 0x1ec0]
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x10013037
mov eax, dword [eax + 4]
jmp 0x1001303a
add eax, 4
mov ecx, dword [ebp - 0x1ee4]
cmp dword [ecx + 0x18], 8
jb 0x1001304b
mov ecx, dword [ecx + 4]
jmp 0x1001304e
add ecx, 4
push eax
push ecx
push 0x10065bc4
lea ecx, [ebp - 0x4d4]
call fcn.100347ad
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x4bc], 8
mov eax, dword [ebp - 0x4d0]
jae 0x1001307c
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.10011a28
cmp dword [eax + 0x18], 8
jb 0x100130a9
mov eax, dword [eax + 4]
jmp 0x100130ac
add eax, 4
push str.InstallDate
push dword [ebp - 0x1ec8]
mov edx, eax
lea ecx, [ebp - 0x464]
call fcn.10034914
pop ecx
pop ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x450], 0
je 0x100130f4
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x100130e8
lea eax, [ebp - 0x460]
push 0x40
push eax
lea eax, [ebp - 0xdb8]
push eax
call ebx
lea esi, [ebp - 0x1ec0]
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x1001310a
mov eax, dword [eax + 4]
jmp 0x1001310d
add eax, 4
push str.DisplayIcon
push dword [ebp - 0x1ec8]
mov edx, eax
lea ecx, [ebp - 0x528]
call fcn.10034914
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.10013dec
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x418], 2
jbe 0x10013244
xor edi, edi
inc edi
lea eax, [ebp - 0x42c]
call fcn.100143e3
cmp word [eax], 0x3a
je 0x1001323f
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x10013181
lea eax, [ebp - 0x428]
push eax
mov ebx, str..exe
call fcn.10034766
test eax, eax
je 0x10013239
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10043280
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 0x100131d9
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 0x100131fc
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.short_name:_ls__real_name:_ls
call fcn.10037607
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1001321a
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x218]
lea edx, [ebp - 0x42c]
call fcn.10002620
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x200
cmp dword [ebp - 0x418], 0
je 0x100132d6
xor eax, eax
cmp dword [ebp - 0x414], 8
mov word [ebp - 0x410], ax
mov eax, dword [ebp - 0x428]
jae 0x1001326f
lea eax, [ebp - 0x428]
push edi
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push 0x10062dd0
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 0x10013295
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x410]
lea edx, [ebp - 0x42c]
call fcn.10002620
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x100132c9
lea eax, [ebp - 0x428]
push edi
push eax
lea eax, [ebp - 0x938]
push eax
call ebx
jmp 0x100132e9
lea eax, [ebp - 0x1e38]
push eax
push str.icon_empyty__software_name:_ls
call fcn.10037607
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1ed8]
lea edx, [ebp - 0x1eb8]
call fcn.10012a27
mov eax, 0x198c
lea esi, [ebp - 0x1eb8]
call fcn.1004fd10
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.10014cd3
add esp, 0x1990
lea ecx, [ebp - 0x5250]
call fcn.10014cf2
lea eax, [ebp - 0x5250]
push eax
push dword [ebp - 0x1ecc]
lea ebx, [ebp - 0x1f18]
mov byte [ebp - 4], 0xb
call fcn.10011aac
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x5250]
call fcn.10002370
push ebx
push edi
lea esi, [ebp - 0x42c]
call fcn.10002370
push ebx
push edi
lea esi, [ebp - 0x528]
call fcn.10002370
push ebx
push edi
lea esi, [ebp - 0x464]
call fcn.10002370
push ebx
push edi
lea esi, [ebp - 0x4d4]
call fcn.10002370
mov ebx, dword [ebp - 0x1ec8]
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x49c]
call fcn.10002370
push edi
push 1
lea esi, [ebp - 0x4b8]
call fcn.10002370
push edi
push 1
lea esi, [ebp - 0x50c]
call fcn.10002370
push edi
push 1
lea esi, [ebp - 0x4f0]
call fcn.10002370
push edi
push 1
lea esi, [ebp - 0x448]
call fcn.10002370
jmp 0x100133ea
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x480]
mov byte [ebp - 4], 0
call fcn.10002370
lea esi, [ebp - 0x1ec0]
call fcn.1000d749
jmp 0x10012cc1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1f0c]
push eax
call fcn.1000f82f
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.10040b84
leave
ret 0x10