Function at 0x7c11ba
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x13c]
mov esi, 0x80040201
push 0x64
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
call sub.ole32.dll_StringFromGUID2
test eax, eax
je 0x7c13f4
push 0
push 0
push 0x64
lea edx, [ebp - 0xd8]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
call sub.kernel32.dll_WideCharToMultiByte
cmp dword [ebp + 8], 0
je 0x7c133d
xor esi, esi
mov dword [ebp - 0x10], esi
push dword [ebp - 8]
push edi
call sub.kernel32.dll_lstrcpyA
mov eax, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.007c13ff
push edi
call sub.kernel32.dll_lstrlenA
mov ebx, eax
add ebx, edi
push 0x8ce816
push edi
call sub.kernel32.dll_lstrcatA
lea ecx, [ebp - 0xd8]
mov eax, edi
xor edx, edx
call fcn.007c13ff
cmp dword [ebp + 0x14], 0
je 0x7c127b
mov byte [ebx], 0
push 0x8ce81d
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
mov ecx, dword [ebp + 0x14]
xor edx, edx
call fcn.007c13ff
xor esi, esi
jmp 0x7c13f4
push 0x8ce825
push edi
call sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0xd8]
push eax
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.007c13ff
push edi
call sub.kernel32.dll_lstrlenA
mov ebx, eax
add ebx, edi
push 0x8ce82c
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.007c13ff
mov byte [ebx], 0
push 0x8ce834
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.007c13ff
lea ecx, [ebp - 0x10]
push ecx
push 2
push 0
push edi
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA
mov esi, eax
test esi, esi
jne 0x7c1313
push 0xa
push str.Apartment
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x10]
call sub.advapi32.dll_RegSetValueExA
push dword [ebp - 0x10]
call sub.advapi32.dll_RegCloseKey
xor esi, esi
cmp dword [ebp + 0x10], 0
je 0x7c1335
mov byte [ebx], 0
push 0x8ce85d
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
mov ecx, dword [ebp + 0x10]
xor edx, edx
call fcn.007c13ff
mov byte [ebx], 0
jmp 0x7c13f4
cmp dword [ebp + 0x14], 0
jne 0x7c13ae
push str.CLSID_
push edi
call sub.kernel32.dll_lstrcpyA
lea esi, [ebp - 0xd8]
push esi
push edi
call sub.kernel32.dll_lstrcatA
push edi
call sub.kernel32.dll_lstrlenA
mov ebx, eax
add ebx, edi
mov byte [ebx], 0
push str.InProcServer32
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
call fcn.007c145c
mov byte [ebx], 0
push str.ProgID
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
call fcn.007c145c
mov byte [ebx], 0
push str.VersionIndependentProgID
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
call fcn.007c145c
mov byte [ebx], 0
mov eax, edi
call fcn.007c145c
push dword [ebp - 8]
push edi
call sub.kernel32.dll_lstrcpyA
push edi
call sub.kernel32.dll_lstrlenA
mov ebx, eax
add ebx, edi
push str.Clsid
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
call fcn.007c145c
mov byte [ebx], 0
push str.CurVer
push edi
call sub.kernel32.dll_lstrcatA
mov eax, edi
call fcn.007c145c
mov byte [ebx], 0
mov eax, edi
call fcn.007c145c
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10