Function at 0x14a09bbc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push edi
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], edi
cmp ebx, edi
je 0x14a09c51
push ebx
call esi
test eax, eax
jbe 0x14a09c51
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a09c01
xor eax, eax
jmp 0x14a09c19
lea edi, [eax + eax]
mov eax, edi
call fcn.14a22e40
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.14a0106e
xor edi, edi
push eax
call fcn.14a202f0
test eax, eax
jne 0x14a09c51
push dword [ebp - 0x34]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x20]
call esi
mov eax, 0x80004005
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
leave
ret 0x14
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
call fcn.14a17690
push dword [ebp - 0x20]
call esi
test eax, eax
ja 0x14a09c90
mov esi, 0x80004005
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x34]
call edi
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x20]
call edi
mov eax, esi
jmp 0x14a09c3d
push dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x2c]
test eax, eax
jl 0x14a09ca8
xor esi, esi
inc esi
jmp 0x14a09c77
push dword [ebp - 0x1c]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jbe 0x14a09d52
push dword [ebp - 0x34]
call esi
test eax, eax
lea eax, [ebp - 0x30]
push eax
push 0
jbe 0x14a09cd8
push dword [ebp - 0x1c]
jmp 0x14a09cda
push 0
push dword [ebp - 0x20]
call fcn.14a17b30
mov esi, eax
test esi, esi
jl 0x14a0a1d4
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x30]
push ebx
call dword [eax + 0x2c]
mov esi, eax
test esi, esi
jge 0x14a09d1c
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
push ebx
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
jl 0x14a0a1d4
push dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
call fcn.14a09b7e
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x14a09d4a
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x88]
mov esi, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x14a09d4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jl 0x14a0a1d4
mov eax, dword [ebx]
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp + 0xc]
push ebx
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x14a0a1c7
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
call fcn.14a09b7e
cmp dword [ebp - 0x40], 2
jne 0x14a0a11e
xor eax, eax
cmp dword [ebx + 0x50], eax
je 0x14a0a11e
mov ebx, 0x14a26b04
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
call fcn.14a01d1f
push str.CtxMgr
lea ecx, [ebp - 8]
call fcn.14a01cef
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.14a01401
push dword [ebp - 8]
call edi
push ebx
lea ecx, [ebp - 8]
call fcn.14a01cef
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.14a01401
push dword [ebp - 8]
call edi
push str.ProductClasses
lea ecx, [ebp - 8]
call fcn.14a01cef
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.14a01401
push dword [ebp - 8]
call edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x10]
add eax, 0x60
mov ecx, dword [eax]
push 1
push 1
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
jl 0x14a09ee6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x14a09e37
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a09e3b
xor eax, eax
jmp 0x14a09e55
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.14a22e40
mov eax, esp
push 3
push dword [ebp - 0x14]
push dword [ebp - 8]
push eax
call fcn.14a0106e
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xc]
push ecx
xor ecx, ecx
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14a09ee6
mov esi, str.Installed
push esi
call sub.MSVCR90.dll_strlen
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x14a09ea1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a09ea5
xor eax, eax
jmp 0x14a09ebf
add eax, eax
mov dword [ebp - 0x14], eax
call fcn.14a22e40
mov eax, esp
push 3
push dword [ebp - 0x14]
push dword [ebp - 8]
push eax
call fcn.14a0106e
push dword [ebp - 0x2c]
push esi
push 1
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x10]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0x2c], eax
test eax, eax
jbe 0x14a0a070
push ebx
lea ecx, [ebp - 0x10]
call fcn.14a01d1f
push str.CtxInfo
lea ecx, [ebp - 0xc]
call fcn.14a01cef
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.14a01401
push dword [ebp - 0xc]
call edi
push ebx
lea ecx, [ebp - 0xc]
call fcn.14a01cef
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.14a01401
push dword [ebp - 0xc]
call edi
push str.PlugIns
lea ecx, [ebp - 0xc]
call fcn.14a01cef
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.14a01401
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x10]
add eax, 0x60
mov ecx, dword [eax]
push 1
push 1
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
jl 0x14a0a070
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x14a09f99
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a09f9d
xor eax, eax
jmp 0x14a09fb5
lea ebx, [eax + eax]
mov eax, ebx
call fcn.14a22e40
mov eax, esp
push 3
push ebx
push dword [ebp - 8]
push eax
call fcn.14a0106e
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xc]
push ecx
xor ecx, ecx
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14a0a070
inc dword [ebp - 0x2c]
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x14a09ff7
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a09ffc
mov dword [ebp - 8], esi
jmp 0x14a0a017
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push dword [ebp + 0x10]
push eax
call fcn.14a0106e
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x14a0a02d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a0a031
xor eax, eax
jmp 0x14a0a047
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.14a0106e
push dword [ebp - 0x2c]
push dword [ebp - 8]
push 1
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x14a0a111
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x14a0a111
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x14a0a0f6
and dword [ebp - 0x14], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x88]
mov esi, eax
test esi, esi
jl 0x14a0a0e9
push dword [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.14a09b9d
cmp dword [ebp - 8], 0
je 0x14a0a0e9
push str..ProductClass
lea ecx, [ebp - 0xc]
call fcn.14a01cef
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0xffffffffffffffff
push dword [ebp - 0xc]
push ebx
push eax
call dword [ecx + 0x10]
push dword [ebp - 0xc]
mov esi, eax
call edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x14a0a0e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x14a0a0f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str..ProductClass.RegistryDefaults
lea ecx, [ebp - 0xc]
call fcn.14a01cef
push dword [ebp - 0xc]
push ebx
call fcn.14a182e0
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x28]
call edi
push dword [ebp - 0x10]
call edi
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x18], 0
je 0x14a0a1c7
mov eax, dword [ebx]
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
push ebx
call dword [eax + 0x38]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x18]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x88]
mov esi, eax
test esi, esi
jl 0x14a0a195
push dword [ebp - 8]
lea ecx, [ebp - 0x14]
call fcn.14a09b40
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x14a0a195
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov esi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x14a0a195
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x18], 0
je 0x14a0a1ad
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0x14a29510
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x14a0a1ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x14a0a1c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x14a0a1d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x14a0a1e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x14a0a1ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x30]
call edi
jmp 0x14a09c7d