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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f0ca
mov eax, dword fs:[0]
push eax
mov eax, 0x5260
call fcn.10044f70
mov eax, dword [0x10068060]
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, 0x10055d50
mov edx, ebx
mov dword [ebp - 0x1ecc], ebx
call fcn.1000bca9
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.1000af45
test al, al
jne 0x10010b55
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x10010445
mov eax, dword [eax + 4]
jmp 0x10010448
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 0x10058c28
push eax
push ebx
mov dword [ebp - 0x1ec8], esi
call edi
test eax, eax
jne 0x10010489
cmp dword [ebp - 0x1ee4], esi
jne 0x10010489
mov eax, dword [ebp - 0x1ed4]
jmp 0x1001048b
xor eax, eax
cmp eax, 1
je 0x10010b45
lea esi, [ebp - 0x1ec4]
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x100104aa
mov eax, dword [eax + 4]
jmp 0x100104ad
add eax, 4
push str.WindowsInstaller
push ebx
mov edx, eax
lea ecx, [ebp - 0x468]
call fcn.1002d280
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x454], 0
je 0x100104f4
cmp dword [ebp - 0x450], 8
mov eax, dword [ebp - 0x464]
jae 0x100104e4
lea eax, [ebp - 0x464]
push eax
call fcn.10036dcb
pop ecx
cmp eax, 1
je 0x10010b31
lea esi, [ebp - 0x1ec4]
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x1001050a
mov eax, dword [eax + 4]
jmp 0x1001050d
add eax, 4
push str.UninstallString
push ebx
mov edx, eax
lea ecx, [ebp - 0x44c]
call fcn.1002d280
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 2
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x1001053c
mov eax, dword [eax + 4]
jmp 0x1001053f
add eax, 4
push str.DisplayVersion
push ebx
mov edx, eax
lea ecx, [ebp - 0x4d8]
call fcn.1002d280
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 3
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x1001056e
mov eax, dword [eax + 4]
jmp 0x10010571
add eax, 4
push 0x10058cac
push ebx
mov edx, eax
lea ecx, [ebp - 0x4bc]
call fcn.1002d280
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 4
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x100105a0
mov eax, dword [eax + 4]
jmp 0x100105a3
add eax, 4
push 0x10058cc4
push ebx
mov edx, eax
lea ecx, [ebp - 0x4f4]
call fcn.1002d280
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 5
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x100105d2
mov eax, dword [eax + 4]
jmp 0x100105d5
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 0x10010616
cmp dword [ebp - 0x1ed8], esi
jne 0x10010616
mov eax, dword [ebp - 0x1ee0]
mov dword [ebp - 0x1ec8], eax
jmp 0x1001061d
and dword [ebp - 0x1ec8], 0
lea esi, [ebp - 0x1ec4]
call fcn.1001dcad
push 8
pop edi
cmp dword [eax + 0x18], edi
jb 0x10010635
mov eax, dword [eax + 4]
jmp 0x10010638
add eax, 4
push str.Publisher
push ebx
mov edx, eax
lea ecx, [ebp - 0x484]
call fcn.1002d280
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 6
call fcn.1001dcad
cmp dword [eax + 0x18], edi
jb 0x10010666
mov eax, dword [eax + 4]
jmp 0x10010669
add eax, 4
push eax
mov esi, 0x10058d14
call fcn.1002d073
test eax, eax
jne 0x10010ae7
mov eax, dword [ebp - 0x448]
cmp dword [ebp - 0x434], edi
jae 0x10010690
lea eax, [ebp - 0x448]
push eax
push str.UnInstall:_ls
call fcn.1002fd9f
push 0x198c
lea eax, [ebp - 0x1ebc]
push 0
push eax
call fcn.100384f0
mov al, byte [ebp + 0x10]
add esp, 0x14
mov byte [ebp - 0x534], al
mov eax, dword [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], edi
jae 0x100106ce
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 0x100106fb
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 0x1001071a
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 0x1001073a
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 0x10010759
lea eax, [ebp - 0x480]
push edi
push eax
lea eax, [ebp - 0x11bc]
push eax
call ebx
lea esi, [ebp - 0x1ec4]
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x1001077a
mov eax, dword [eax + 4]
jmp 0x1001077d
add eax, 4
mov ecx, dword [ebp - 0x1edc]
cmp dword [ecx + 0x18], 8
jb 0x1001078e
mov ecx, dword [ecx + 4]
jmp 0x10010791
add ecx, 4
push eax
push ecx
push 0x10058584
lea ecx, [ebp - 0x4a0]
call fcn.1002d119
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [ebp - 0x488], 8
mov eax, dword [ebp - 0x49c]
jae 0x100107bf
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.1001dcad
cmp dword [eax + 0x18], 8
jb 0x100107ec
mov eax, dword [eax + 4]
jmp 0x100107ef
add eax, 4
push str.InstallDate
push dword [ebp - 0x1ecc]
mov edx, eax
lea ecx, [ebp - 0x510]
call fcn.1002d280
pop ecx
pop ecx
lea esi, [ebp - 0x1ec4]
mov byte [ebp - 4], 8
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x10010823
mov eax, dword [eax + 4]
jmp 0x10010826
add eax, 4
push str.DisplayIcon
push dword [ebp - 0x1ecc]
mov edx, eax
lea ecx, [ebp - 0x52c]
call fcn.1002d280
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.100114b5
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x41c], 2
jbe 0x1001095d
xor edi, edi
inc edi
lea eax, [ebp - 0x430]
call fcn.100116c8
cmp word [eax], 0x3a
je 0x10010958
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x1001089a
lea eax, [ebp - 0x42c]
push eax
mov ebx, str..exe
call fcn.1002d0d2
test eax, eax
je 0x10010952
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.100384f0
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 0x100108f2
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 0x10010915
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.short_name:_ls__real_name:_ls
call fcn.1002fd9f
lea eax, [ebp - 0x21c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10010933
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x430]
call fcn.100024c5
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x200
cmp dword [ebp - 0x41c], 0
je 0x100109ef
xor eax, eax
cmp dword [ebp - 0x418], 8
mov word [ebp - 0x414], ax
mov eax, dword [ebp - 0x42c]
jae 0x10010988
lea eax, [ebp - 0x42c]
push edi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
push 0x10055d50
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 0x100109ae
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x414]
lea edx, [ebp - 0x430]
call fcn.100024c5
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x100109e2
lea eax, [ebp - 0x42c]
push edi
push eax
lea eax, [ebp - 0x93c]
push eax
call ebx
jmp 0x10010a02
lea eax, [ebp - 0x1e3c]
push eax
push str.icon_empyty__software_name:_ls
call fcn.1002fd9f
pop ecx
pop ecx
lea eax, [ebp - 0x430]
push eax
lea edx, [ebp - 0x510]
lea ecx, [ebp - 0x1f34]
call fcn.10010245
cmp dword [eax + 0x18], 8
jb 0x10010a25
mov eax, dword [eax + 4]
jmp 0x10010a28
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.100021e2
mov eax, 0x198c
lea esi, [ebp - 0x1ebc]
call fcn.10044f70
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.1001199c
add esp, 0x1990
lea ecx, [ebp - 0x526c]
call fcn.100119bb
lea eax, [ebp - 0x526c]
push eax
push dword [ebp - 0x1ed0]
lea ebx, [ebp - 0x1f18]
mov byte [ebp - 4], 0xb
call fcn.1000f369
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x526c]
call fcn.100021e2
push ebx
push edi
lea esi, [ebp - 0x430]
call fcn.100021e2
push ebx
push edi
lea esi, [ebp - 0x52c]
call fcn.100021e2
push ebx
push edi
lea esi, [ebp - 0x510]
call fcn.100021e2
push ebx
push edi
lea esi, [ebp - 0x4a0]
call fcn.100021e2
mov ebx, dword [ebp - 0x1ecc]
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x484]
call fcn.100021e2
push edi
push 1
lea esi, [ebp - 0x4f4]
call fcn.100021e2
push edi
push 1
lea esi, [ebp - 0x4bc]
call fcn.100021e2
push edi
push 1
lea esi, [ebp - 0x4d8]
call fcn.100021e2
push edi
push 1
lea esi, [ebp - 0x44c]
call fcn.100021e2
jmp 0x10010b33
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x468]
mov byte [ebp - 4], 0
call fcn.100021e2
lea esi, [ebp - 0x1ec4]
call fcn.1000d09b
jmp 0x10010404
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1f0c]
push eax
call fcn.1000d036
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.10035ee9
leave
ret 0xc