Function at 0xf736ed8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ecx, dword [esp + 8]
mov ebp, esp
sub esp, 0x104
sub eax, eax
push ebx
mov dword [ebp - 4], 0xffffffff
push esi
push edi
mov edi, dword [ecx + 4]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0xf7b3468
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [ebp - 0x84]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub eax, eax
mov edi, dword [ecx + 8]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [ebp - 0x84]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x84]
push eax
push SysReAllocStringLen
call fcn.0f736e1c
push 0x27
lea ecx, [ebp - 0x5c]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.0f73c4d0
push 0x27
lea ecx, [ebp - 0x34]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x28
mov edi, str.Clsid_
push eax
call fcn.0f73c4d0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x5c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [ebp - 0x104]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x104]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0xf74b067
mov ebx, eax
test eax, eax
jne 0xf73737d
mov ecx, dword [ebp + 8]
sub eax, eax
mov edx, dword [ecx + 0xc]
mov ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
lea edi, [ebp - 0x84]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x84]
push ecx
push eax
push 1
push str.ProgID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
mov esi, str.LocalServer32
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0xf74b06f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
je 0xf74b079
mov edx, dword [ecx]
sub eax, eax
mov edi, edx
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
mov edi, str.OLE32.DLL
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.OLE32.DLL
push 1
push str.InprocHandler32
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf73737d
lea edi, [ebp - 0x34]
mov esi, 0xffffffff
mov ecx, esi
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, esi
lea eax, [ebp - 0x34]
push ecx
push eax
push 1
push str.TypeLib
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov dword [ebp - 4], esi
test ebx, ebx
jne 0xf74b09f
lea eax, [ebp - 4]
lea ecx, [ebp - 0x84]
push eax
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test ebx, ebx
jne 0xf74b094
mov ecx, dword [ebp + 8]
sub eax, eax
mov edx, dword [ecx + 0xc]
mov ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
lea edi, [ebp - 0x5c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x5c]
push ecx
push eax
push 1
push str.Clsid
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
mov edi, str.Interface_
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], 0
cmp dword [ecx + 0x20], 0
jle 0xf73737d
mov dword [ebp - 0xc], 0
mov esi, pe_nt_image_headers32
push str.Interface_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub esi, eax
push esi
push str.Interface_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x104]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x24]
add eax, dword [ebp - 0xc]
push eax
call fcn.0f73c4d0
mov esi, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
lea eax, [ebp - 0x104]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0xf74b0b9
mov ebx, eax
test eax, eax
jne 0xf73737d
mov ecx, dword [ebp + 8]
sub eax, eax
mov edx, dword [ecx + 8]
mov ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
mov edi, str.00020424_0000_0000_C000_000000000046
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.00020424_0000_0000_C000_000000000046
push 1
push str.ProxyStubClsid
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
mov edi, str.00020424_0000_0000_C000_000000000046
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.00020424_0000_0000_C000_000000000046
push 1
push str.ProxyStubClsid32
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
lea edi, [ebp - 0x34]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x34]
push ecx
push eax
push 1
push str.TypeLib
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test ebx, ebx
jne 0xf74b09f
mov ecx, dword [ebp + 8]
inc dword [ebp - 8]
add dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 8]
cmp dword [ecx + 0x20], eax
jg 0xf737230
test ebx, ebx
jne 0xf74b09f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], esi
jmp 0xf73702e
mov esi, str.InprocServer32
jmp 0xf7370ab
push esi
push dword [ebp - 4]
call fcn.0f736e1c
push str.InprocHandler32
push dword [ebp - 4]
call fcn.0f736e1c
jmp 0xf737111
mov dword [ebp - 4], esi
test ebx, ebx
je 0xf737178
cmp dword [ebp - 4], 0xffffffff
je 0xf74b0ae
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0f73a9de
jmp 0xf737387
mov dword [ebp - 4], esi
jmp 0xf737286