Function at 0x10001600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x10016210]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp + 8]
push ecx
call dword [sym.imp.ole32.dll_StringFromIID]
cmp dword [ebp - 0x120], 0
je 0x1000168e
push 0
push 0
push 0x104
lea edx, [ebp - 0x330]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x120]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x37c]
push ecx
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x37c]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 0x37c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x37c]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x10011370
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x10017030], eax
push 0x104
lea edx, [ebp - 0x228]
push edx
mov eax, dword [0x10017030]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x378], VariantCopy
mov dword [ebp - 0x374], str.CLSID_38s
mov dword [ebp - 0x370], 0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x36c], ecx
mov dword [ebp - 0x368], VariantCopy
mov dword [ebp - 0x364], 0x1001138c
mov dword [ebp - 0x360], 0
lea edx, [ebp - 0x228]
mov dword [ebp - 0x35c], edx
mov dword [ebp - 0x358], VariantCopy
mov dword [ebp - 0x354], str.CLSID_38sInprocServer32
mov dword [ebp - 0x350], str.ThreadingModel
mov dword [ebp - 0x34c], str.Apartment
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0xc], 0
jmp 0x1000176c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shl ecx, 4
cmp dword [ebp + ecx - 0x378], 0
je 0x100018b7
lea edx, [ebp - 0x330]
push edx
mov eax, dword [ebp - 0xc]
shl eax, 4
mov ecx, dword [ebp + eax - 0x374]
push ecx
push 0x200
push 0
push 0
push 0x104
lea edx, [ebp - 0x118]
push edx
call fcn.10002210
add esp, 0x1c
mov dword [0x10017028], eax
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0xc]
shl eax, 4
mov ecx, dword [ebp + eax - 0x378]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x100018ae
mov byte [ebp - 0x488], 0
push 0x103
push 0
lea edx, [ebp - 0x487]
push edx
call fcn.10008320
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov edx, dword [ebp + ecx - 0x36c]
push edx
push 0x104
lea eax, [ebp - 0x488]
push eax
call fcn.100021c0
add esp, 0x10
mov dword [0x10017028], eax
mov dword [ebp - 0x48c], 0
lea ecx, [ebp - 0x48c]
push ecx
push 0x104
lea edx, [ebp - 0x488]
push edx
call fcn.100023a0
mov dword [0x10017028], eax
mov eax, dword [ebp - 0x48c]
add eax, 1
push eax
lea ecx, [ebp - 0x488]
push ecx
push 1
push 0
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp + edx - 0x370]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100018b2
xor eax, eax
jmp 0x100018bc
jmp 0x10001763
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008311
mov esp, ebp
pop ebp
ret