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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f9a2
mov eax, dword fs:[0]
push eax
mov eax, 0x5260
call fcn.10045780
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x1edc], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x1ed0], eax
lea eax, [ebp - 0x1f0c]
push eax
mov ecx, 0x10056d70
mov edx, ebx
mov dword [ebp - 0x1ecc], ebx
call fcn.1000bf8f
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1ef4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1f0c]
mov dword [ebp - 0x1ec4], ecx
mov dword [ebp - 0x1ec0], eax
mov eax, dword [ebp - 0x1ef4]
mov dword [ebp - 0x1ee8], eax
mov eax, dword [ebp - 0x1f0c]
lea edi, [ebp - 0x1eec]
lea esi, [ebp - 0x1ec4]
mov dword [ebp - 0x1eec], eax
call fcn.1000f27c
test al, al
jne 0x10010d1c
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x1001060c
mov eax, dword [eax + 4]
jmp 0x1001060f
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop esi
lea ecx, [ebp - 0x1ec8]
push ecx
lea ecx, [ebp - 0x1ed4]
push ecx
lea ecx, [ebp - 0x1ee4]
push ecx
push 0x10059e20
push eax
push ebx
mov dword [ebp - 0x1ec8], esi
call edi
test eax, eax
jne 0x10010650
cmp dword [ebp - 0x1ee4], esi
jne 0x10010650
mov eax, dword [ebp - 0x1ed4]
jmp 0x10010652
xor eax, eax
cmp eax, 1
je 0x10010d0c
lea esi, [ebp - 0x1ec4]
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10010671
mov eax, dword [eax + 4]
jmp 0x10010674
add eax, 4
push str.WindowsInstaller
push ebx
mov edx, eax
lea ecx, [ebp - 0x468]
call fcn.1002d927
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x454], 0
je 0x100106bb
cmp dword [ebp - 0x450], 8
mov eax, dword [ebp - 0x464]
jae 0x100106ab
lea eax, [ebp - 0x464]
push eax
call fcn.100375cb
pop ecx
cmp eax, 1
je 0x10010cf8
lea esi, [ebp - 0x1ec4]
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x100106d1
mov eax, dword [eax + 4]
jmp 0x100106d4
add eax, 4
push str.UninstallString
push ebx
mov edx, eax
lea ecx, [ebp - 0x44c]
call fcn.1002d927
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 2
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10010703
mov eax, dword [eax + 4]
jmp 0x10010706
add eax, 4
push str.DisplayVersion
push ebx
mov edx, eax
lea ecx, [ebp - 0x4d8]
call fcn.1002d927
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 3
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10010735
mov eax, dword [eax + 4]
jmp 0x10010738
add eax, 4
push 0x10059ea4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4bc]
call fcn.1002d927
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 4
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10010767
mov eax, dword [eax + 4]
jmp 0x1001076a
add eax, 4
push 0x10059ebc
push ebx
mov edx, eax
lea ecx, [ebp - 0x4f4]
call fcn.1002d927
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 5
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10010799
mov eax, dword [eax + 4]
jmp 0x1001079c
add eax, 4
push 4
pop esi
lea ecx, [ebp - 0x1ec8]
push ecx
lea ecx, [ebp - 0x1ee0]
push ecx
lea ecx, [ebp - 0x1ed8]
push ecx
push str.EstimatedSize
push eax
push ebx
mov dword [ebp - 0x1ec8], esi
call edi
test eax, eax
jne 0x100107dd
cmp dword [ebp - 0x1ed8], esi
jne 0x100107dd
mov eax, dword [ebp - 0x1ee0]
mov dword [ebp - 0x1ec8], eax
jmp 0x100107e4
and dword [ebp - 0x1ec8], 0
lea esi, [ebp - 0x1ec4]
call fcn.1000b132
push 8
pop edi
cmp dword [eax + 0x18], edi
jb 0x100107fc
mov eax, dword [eax + 4]
jmp 0x100107ff
add eax, 4
push str.Publisher
push ebx
mov edx, eax
lea ecx, [ebp - 0x484]
call fcn.1002d927
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 6
call fcn.1000b132
cmp dword [eax + 0x18], edi
jb 0x1001082d
mov eax, dword [eax + 4]
jmp 0x10010830
add eax, 4
push eax
mov esi, 0x10059f0c
call fcn.1002d71a
test eax, eax
jne 0x10010cae
mov eax, dword [ebp - 0x448]
cmp dword [ebp - 0x434], edi
jae 0x10010857
lea eax, [ebp - 0x448]
push eax
push str.UnInstall:_ls
call fcn.1003048c
push 0x198c
lea eax, [ebp - 0x1ebc]
push 0
push eax
call fcn.10038cf0
mov al, byte [ebp + 0x10]
add esp, 0x14
mov byte [ebp - 0x534], al
mov eax, dword [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], edi
jae 0x10010895
lea eax, [ebp - 0x4b8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x200
push edi
push eax
lea eax, [ebp - 0x1e3c]
push eax
call ebx
mov eax, dword [ebp - 0x4f0]
push 8
pop esi
cmp dword [ebp - 0x4dc], esi
jae 0x100108c2
lea eax, [ebp - 0x4f0]
push edi
push eax
lea eax, [ebp - 0x1a3c]
push eax
call ebx
mov eax, dword [ebp - 0x4d4]
cmp dword [ebp - 0x4c0], esi
jae 0x100108e1
lea eax, [ebp - 0x4d4]
push 0x40
push eax
lea eax, [ebp - 0x123c]
push eax
call ebx
mov eax, dword [ebp - 0x448]
cmp dword [ebp - 0x434], esi
jae 0x10010901
lea eax, [ebp - 0x448]
push edi
push eax
lea eax, [ebp - 0x163c]
push eax
call ebx
mov eax, dword [ebp - 0x480]
cmp dword [ebp - 0x46c], esi
jae 0x10010920
lea eax, [ebp - 0x480]
push edi
push eax
lea eax, [ebp - 0x11bc]
push eax
call ebx
lea esi, [ebp - 0x1ec4]
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10010941
mov eax, dword [eax + 4]
jmp 0x10010944
add eax, 4
mov ecx, dword [ebp - 0x1edc]
cmp dword [ecx + 0x18], 8
jb 0x10010955
mov ecx, dword [ecx + 4]
jmp 0x10010958
add ecx, 4
push eax
push ecx
push 0x1005977c
lea ecx, [ebp - 0x4a0]
call fcn.1002d7c0
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x488], 8
mov eax, dword [ebp - 0x49c]
jae 0x10010986
lea eax, [ebp - 0x49c]
push edi
push eax
lea eax, [ebp - 0xd3c]
push eax
call ebx
mov eax, dword [ebp - 0x1ec8]
lea esi, [ebp - 0x1ec4]
mov dword [ebp - 0x538], eax
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x100109b3
mov eax, dword [eax + 4]
jmp 0x100109b6
add eax, 4
push str.InstallDate
push dword [ebp - 0x1ecc]
mov edx, eax
lea ecx, [ebp - 0x510]
call fcn.1002d927
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 8
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x100109ea
mov eax, dword [eax + 4]
jmp 0x100109ed
add eax, 4
push str.DisplayIcon
push dword [ebp - 0x1ecc]
mov edx, eax
lea ecx, [ebp - 0x52c]
call fcn.1002d927
pop ecx
pop ecx
lea eax, [ebp - 0x52c]
push eax
lea edx, [ebp - 0x53c]
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 9
call fcn.1001167c
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x41c], 2
jbe 0x10010b24
xor edi, edi
inc edi
lea eax, [ebp - 0x430]
call fcn.1001188f
cmp word [eax], 0x3a
je 0x10010b1f
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x10010a61
lea eax, [ebp - 0x42c]
push eax
mov ebx, str..exe
call fcn.1002d779
test eax, eax
je 0x10010b19
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.10038cf0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x10010ab9
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x10010adc
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.short_name:_ls__real_name:_ls
call fcn.1003048c
lea eax, [ebp - 0x21c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10010afa
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x430]
call fcn.100024b2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x200
cmp dword [ebp - 0x41c], 0
je 0x10010bb6
xor eax, eax
cmp dword [ebp - 0x418], 8
mov word [ebp - 0x414], ax
mov eax, dword [ebp - 0x42c]
jae 0x10010b4f
lea eax, [ebp - 0x42c]
push edi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
push 0x10056d70
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10010b75
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x414]
lea edx, [ebp - 0x430]
call fcn.100024b2
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x10010ba9
lea eax, [ebp - 0x42c]
push edi
push eax
lea eax, [ebp - 0x93c]
push eax
call ebx
jmp 0x10010bc9
lea eax, [ebp - 0x1e3c]
push eax
push str.icon_empyty__software_name:_ls
call fcn.1003048c
pop ecx
pop ecx
lea eax, [ebp - 0x430]
push eax
lea edx, [ebp - 0x510]
lea ecx, [ebp - 0x1f34]
call fcn.1001040c
cmp dword [eax + 0x18], 8
jb 0x10010bec
mov eax, dword [eax + 4]
jmp 0x10010bef
add eax, 4
push 0x40
push eax
lea eax, [ebp - 0xdbc]
push eax
call ebx
push 0
push 1
lea esi, [ebp - 0x1f34]
call fcn.100021ef
mov eax, 0x198c
lea esi, [ebp - 0x1ebc]
call fcn.10045780
mov edi, esp
mov ecx, 0x663
lea eax, [ebp - 0x1e3c]
rep movsd dword es:[edi], dword [esi]
push eax
lea esi, [ebp - 0x38c4]
call fcn.10011b63
add esp, 0x1990
lea ecx, [ebp - 0x526c]
call fcn.10011b82
lea eax, [ebp - 0x526c]
push eax
push dword [ebp - 0x1ed0]
lea ebx, [ebp - 0x1f18]
mov byte [ebp - 4], 0xb
call fcn.1000f532
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x526c]
call fcn.100021ef
push ebx
push edi
lea esi, [ebp - 0x430]
call fcn.100021ef
push ebx
push edi
lea esi, [ebp - 0x52c]
call fcn.100021ef
push ebx
push edi
lea esi, [ebp - 0x510]
call fcn.100021ef
push ebx
push edi
lea esi, [ebp - 0x4a0]
call fcn.100021ef
mov ebx, dword [ebp - 0x1ecc]
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x484]
call fcn.100021ef
push edi
push 1
lea esi, [ebp - 0x4f4]
call fcn.100021ef
push edi
push 1
lea esi, [ebp - 0x4bc]
call fcn.100021ef
push edi
push 1
lea esi, [ebp - 0x4d8]
call fcn.100021ef
push edi
push 1
lea esi, [ebp - 0x44c]
call fcn.100021ef
jmp 0x10010cfa
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x468]
mov byte [ebp - 4], 0
call fcn.100021ef
lea esi, [ebp - 0x1ec4]
call fcn.1000b697
jmp 0x100105cb
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1f0c]
push eax
call fcn.1000d31e
mov eax, dword [ebp - 0x1ed0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100366e3
leave
ret 0xc