Function at 0x10018f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072053
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x10089040]
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 + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x234], eax
mov eax, dword [0x1008beb0]
mov dword [ebp - 0x21c], 0
test al, 1
jne 0x10018fff
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
add esp, 4
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x1008be5c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100192cf
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019033
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.DisplayName
push dword [ebp - 0x21c]
call edi
test eax, eax
je 0x1001907a
push dword [ebp - 0x21c]
mov esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100192d4
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019080
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x21c]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100192bf
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10045770
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x224]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100190f0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x21c]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100192bf
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10045770
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x228]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019161
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x21c]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100192bf
mov ebx, dword [ebp - 0x220]
test ebx, ebx
je 0x100191e9
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100191b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x21c]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100192bf
mov ebx, dword [ebp - 0x22c]
test ebx, ebx
je 0x10019239
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019200
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x21c]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100192bf
mov ebx, dword [ebp - 0x230]
test ebx, ebx
je 0x100192bf
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019250
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.Publisher
push dword [ebp - 0x21c]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100192bf
mov esi, dword [ebp - 0x234]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019290
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.InstallTime
push dword [ebp - 0x21c]
call edi
neg eax
sbb esi, esi
and esi, 0x80004005
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100192d4
mov eax, 0x80004005
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.10043637
mov esp, ebp
pop ebp
ret 0x20