Function at 0x23c55d80
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
test eax, eax
mov esi, 0x104
jne 0x23c55dcb
cmp dword [ebp + 8], ebx
je 0x23c55dcb
push ebx
push ebx
lea eax, [ebp - 0x35c]
push esi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call edi
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x23c55dfd
cmp dword [ebp + 8], ebx
je 0x23c55dfd
push ebx
push ebx
lea eax, [ebp - 0x460]
push esi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call edi
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x23c55e2f
cmp dword [ebp + 8], ebx
je 0x23c55e2f
push ebx
push ebx
lea eax, [ebp - 0x564]
push esi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call edi
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x668]
push esi
push eax
push dword [0x23c64de8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x974]
push eax
call fcn.23c57710
lea eax, [ebp - 0x974]
push 0x5c
push eax
call fcn.23c588df
add esp, 0x10
cmp eax, ebx
je 0x23c55e6e
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x18]
push esi
call fcn.23c57800
add eax, 3
push eax
call fcn.23c57a9f
mov edi, eax
push esi
push edi
mov dword [ebp + 0x18], edi
call fcn.23c57710
push 0x23c61578
push edi
call fcn.23c57720
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x35c]
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x1d0], ecx
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x1c0], ecx
mov ecx, dword [ebp + 0x18]
add esp, 0x18
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x1b8], ecx
lea edx, [ebp - 0x35c]
lea ecx, [ebp - 0x35c]
push 1
mov dword [ebp - 0x200], edx
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x1a8], ecx
mov eax, 0x80000000
lea edx, [ebp - 0x35c]
pop edi
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], str._s.1
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], str._s.1CLSID
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], str._sCLSID
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x204], ebx
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], str._sCurVer
mov dword [ebp - 0x1f0], esi
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], str.CLSID_s
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], str.CLSID_sProgID
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], str.CLSID_sVersionIndependentProgID
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], str.CLSID_sProgrammable
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x180], eax
mov ecx, str.CLSID_sInprocServer32
lea edx, [ebp - 0x35c]
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x148], ecx
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x128], ecx
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x100], ecx
lea ecx, [ebp - 0x460]
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x460]
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x460]
mov dword [ebp - 0xb8], ecx
lea ecx, [ebp - 0x668]
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x460]
lea edx, [ebp - 0x668]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x170], edx
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x15c], str.ThreadingModel
mov dword [ebp - 0x158], str.Apartment
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], str.CLSID_sControl
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], str.CLSID_sTypeLib
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], str.CLSID_sVersion
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], str.TypeLib_s
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], str.TypeLib_s1.0
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], str.TypeLib_s1.00
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], str.TypeLib_s1.00win32
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], str.TypeLib_s1.0FLAGS
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], 0x23c61420
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], str.TypeLib_s1.0HELPDIR
mov dword [ebp - 0x84], ebx
lea ecx, [ebp - 0x974]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x564]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x68], ecx
lea esi, [ebp - 0x564]
lea ecx, [ebp - 0x564]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x58], ecx
lea esi, [ebp - 0x564]
mov ecx, str.00020424_0000_0000_C000_000000000046
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
lea esi, [ebp - 0x460]
mov dword [ebp - 0x18], eax
mov ecx, str.Interface_sTypeLib
lea eax, [ebp - 0x564]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], str.Interface_s
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], str.Interface_sProxyStubClsid
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], str.Interface_sProxyStubClsid32
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], str.Version
mov dword [ebp - 8], edx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], ebx
lea esi, [ebp - 0x254]
cmp dword [ebp + 0xc], 0x19
jae 0x23c563b8
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x23c56317
push eax
lea eax, [ebp - 0x76c]
push dword [esi]
push eax
call fcn.23c5888d
add esp, 0xc
jmp 0x23c56327
push dword [esi]
lea eax, [ebp - 0x76c]
push eax
call fcn.23c57710
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
je 0x23c5633c
lea eax, [ebp - 0x76c]
push eax
push dword [esi - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x10]
push eax
push ebx
push 0x20006
push ebx
push ebx
lea eax, [ebp - 0x76c]
push ebx
push eax
push dword [esi - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x23c563b5
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x23c5639b
push eax
lea eax, [ebp - 0x870]
push eax
call fcn.23c5888d
pop ecx
lea eax, [ebp - 0x870]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x870]
push eax
push edi
push ebx
push dword [esi + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0xc]
add esi, 0x18
cmp dword [esi - 4], ebx
jne 0x23c562f2
jmp 0x23c563b8
mov dword [ebp + 0x14], ebx
push dword [ebp + 0x18]
call fcn.23c579a0
mov eax, dword [ebp + 0x14]
pop ecx
pop edi
pop esi
pop ebx
leave
ret