Function at 0x10023e95
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x1001e268]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ebx
cmp esi, ebx
jne 0x10023ec9
xor eax, eax
jmp 0x100240f8
push 0x1001e198
push eax
call fcn.1002124b
test eax, eax
jne 0x10023ec2
lea eax, [ebp - 0x19c]
push eax
push 0x10002ca8
push 1
push ebx
push 0x1001e1b8
call fcn.1004e0e3
test eax, eax
jge 0x10023f07
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
je 0x10023ec2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10023ec2
mov eax, esi
push edi
mov dword [ebp - 0x198], eax
cmp dword [esi], ebx
jne 0x1002410e
cmp dword [ebp + 0x10], ebx
jne 0x100240e5
push 0x40
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0x1a0]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0x10002c98
mov esi, 0x80
lea eax, [ebp - 0x104]
push esi
push eax
mov dword [ebp - 0x1ac], ebx
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
push eax
call fcn.1001f576
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.10023b1e
push 0x10002c6c
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcscat_s]
add esp, 0x18
push eax
call fcn.1001f576
push 0x20019
lea eax, [ebp - 0x104]
mov edi, Ordinal_4
push eax
push edi
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x198], ebx
call fcn.1001f785
test eax, eax
jne 0x10024018
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1a0], eax
call fcn.1001f71c
cmp dword [ebp - 0x1a0], ebx
jne 0x10024018
cmp dword [ebp - 0x198], ebx
jne 0x10024018
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x10002c98
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
push eax
call fcn.1001f576
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.10023b1e
push 0x10002c3c
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcscat_s]
add esp, 0x18
push eax
call fcn.1001f576
push 0x20019
lea eax, [ebp - 0x104]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.1001f785
test eax, eax
jne 0x100240c4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x1a8]
mov esi, eax
call fcn.1001f71c
cmp esi, ebx
jne 0x100240c4
cmp dword [ebp - 0x198], ebx
jne 0x100240c4
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x1a8]
call fcn.1001f71c
lea ecx, [ebp - 0x1b4]
call fcn.1001f71c
lea ecx, [ebp - 0x1ac]
call fcn.10020094
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
je 0x100240f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1004da72
leave
ret 0xc
mov eax, dword [ebp - 0x198]
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 - 0x1a0]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x10], ebx
je 0x1002415f
cmp dword [eax], 1
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
jne 0x10024142
call dword [ecx + 0x14]
jmp 0x10024145
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x10024175
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
je 0x1002415b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x100240f7
cmp dword [eax], 1
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
jne 0x10024172
call dword [ecx + 0x18]
jmp 0x10024175
call dword [ecx + 0x20]
add dword [ebp - 0x198], 8
mov eax, dword [ebp - 0x198]
cmp dword [eax], ebx
jne 0x10024108
jmp 0x10023f18