Function at 0x101a5ab
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x108e558]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], edi
call fcn.01031bb9
xor ebx, ebx
cmp esi, ebx
je 0x101a7b7
push 0x10040c4
push edi
call fcn.0101869d
test eax, eax
jne 0x101a7b7
lea eax, [ebp - 0x1a0]
push eax
push 0x1001b74
push 1
push ebx
push 0x10040a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x101a7b7
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp - 0x19c], eax
jne 0x101a7d9
cmp dword [ebp + 0x10], ebx
jne 0x101a7b7
push 0x40
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0x198]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x108e300]
push 0x1001b64
lea eax, [ebp - 0x104]
push eax
mov dword [ebp - 0x1a8], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 0x1001b38
lea eax, [ebp - 0x104]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x104]
mov edi, SysReAllocStringLen
push eax
push edi
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x19c], ebx
call fcn.01018f2c
test eax, eax
jne 0x101a706
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x19c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x198]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1ac], eax
call fcn.01018eb9
cmp dword [ebp - 0x1ac], ebx
jne 0x101a706
cmp dword [ebp - 0x19c], ebx
jne 0x101a706
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x1001b64
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 0x1001b08
lea eax, [ebp - 0x104]
push eax
call esi
push 0x20019
lea eax, [ebp - 0x104]
push eax
push edi
lea ecx, [ebp - 0x198]
call fcn.01018f2c
test eax, eax
jne 0x101a796
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x19c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x198]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x198]
mov esi, eax
call fcn.01018eb9
cmp esi, ebx
jne 0x101a796
cmp dword [ebp - 0x19c], ebx
jne 0x101a796
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x198]
call fcn.01018eb9
lea ecx, [ebp - 0x1a4]
call fcn.01018eb9
lea ecx, [ebp - 0x1a8]
call fcn.01019600
lea ecx, [ebp - 0x1a0]
call fcn.01019d5c
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.0101d2f1
leave
ret 0xc
mov eax, dword [ebp - 0x19c]
cmp dword [ebp + 0x10], ebx
mov esi, dword [eax + 4]
lea edi, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x198]
movsd dword es:[edi], dword [esi]
je 0x101a818
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
push eax
jne 0x101a80d
call dword [ecx + 0x14]
jmp 0x101a810
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x101a82e
mov ebx, eax
jmp 0x101a7b7
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
push eax
jne 0x101a82b
call dword [ecx + 0x18]
jmp 0x101a82e
call dword [ecx + 0x20]
add dword [ebp - 0x19c], 8
mov eax, dword [ebp - 0x19c]
cmp dword [eax], ebx
jne 0x101a7d3
jmp 0x101a627