Function at 0x100e12e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push ebx
mov ebx, dword [ebp + 0xb4]
push esi
mov esi, dword [ebp + 0xb0]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x70], edi
je 0x100e15d0
mov eax, dword [esi]
cmp eax, dword [0x10187f64]
jne 0x100e1346
mov ecx, dword [esi + 4]
cmp ecx, dword [0x10187f68]
jne 0x100e1346
mov edx, dword [esi + 8]
cmp edx, dword [0x10187f6c]
jne 0x100e1346
mov eax, dword [esi + 0xc]
cmp eax, dword [0x10187f70]
je 0x100e15d0
lea ecx, [ebp - 0x70]
push ecx
push 0x10187ec0
push 1
push edi
push 0x10187f44
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x100e1379
mov eax, dword [ebp - 0x70]
cmp eax, edi
je 0x100e15d0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x100e15d0
cmp dword [ebx], edi
je 0x100e13ef
cmp dword [ebp + 0xb8], edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x68], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push 1
push esi
push eax
je 0x100e13d7
cmp dword [ebx], 1
jne 0x100e13b6
mov eax, dword [ecx + 0x14]
jmp 0x100e13b9
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
jge 0x100e13e6
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x100e13d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x100e15d2
cmp dword [ebx], 1
jne 0x100e13e1
mov eax, dword [ecx + 0x18]
jmp 0x100e13e4
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
xor edi, edi
cmp dword [ebx], edi
jne 0x100e137d
cmp dword [ebp + 0xb8], edi
jne 0x100e15c1
push 0x40
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x101b159c]
lea ecx, [ebp - 0x5c]
push ecx
mov ebx, eax
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 1
push 2
push eax
lea edx, [ebp - 0x74]
push edx
mov dword [ebp - 0x74], eax
call fcn.100daff0
add esp, 0xc
test eax, eax
jl 0x100e15b9
mov esi, dword [ebp - 0x74]
cmp esi, 0x400
jg 0x100e145d
push esi
call fcn.100dcb90
add esp, 4
test al, al
je 0x100e145d
mov eax, esi
call fcn.1014a740
mov eax, esp
jmp 0x100e1466
push esi
lea ecx, [ebp - 0x7c]
call fcn.100dcee0
push ebx
push esi
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.100db020
mov esi, eax
cmp esi, edi
je 0x100e15b9
push str.CLSID_
lea edx, [ebp + 0x24]
push 0x80
push edx
call fcn.100e0c40
push esi
lea eax, [ebp + 0x24]
push 0x80
push eax
call fcn.100e0c60
push str.Required_Categories
lea ecx, [ebp + 0x24]
push 0x80
push ecx
call fcn.100e0c60
add esp, 0x24
push 0x20019
lea edx, [ebp + 0x24]
push edx
push SysReAllocString
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], SysStringLen
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
call fcn.100db2e0
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
jne 0x100e1521
mov ecx, dword [ebp - 0x78]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push ecx
call edi
lea ecx, [ebp - 0x78]
mov ebx, eax
call fcn.100db2c0
test ebx, ebx
jne 0x100e1521
cmp dword [ebp - 0x74], ebx
jne 0x100e1521
lea edx, [ebp + 0x24]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp + 0x24]
push 0x80
push eax
call fcn.100e0c40
push esi
lea ecx, [ebp + 0x24]
push 0x80
push ecx
call fcn.100e0c60
push str.Implemented_Categories
lea edx, [ebp + 0x24]
push 0x80
push edx
call fcn.100e0c60
add esp, 0x24
push 0x20019
lea eax, [ebp + 0x24]
push eax
push SysReAllocString
lea ecx, [ebp - 0x78]
call fcn.100db2e0
test eax, eax
jne 0x100e15a9
mov edx, dword [ebp - 0x78]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x74]
push ecx
push eax
push eax
push eax
push edx
call edi
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.100db2c0
test esi, esi
jne 0x100e15a9
cmp dword [ebp - 0x74], esi
jne 0x100e15a9
lea eax, [ebp + 0x24]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x78]
call fcn.100dcc50
lea ecx, [ebp - 0x80]
call fcn.100dcc50
lea ecx, [ebp - 0x7c]
call fcn.100dcab0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x100e15d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.10149c5e
add ebp, 0xa8
mov esp, ebp
pop ebp
ret 0xc