Function at 0x100ec150
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x130], ebx
lea eax, [ebx + 0x74]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x110]
push ecx
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x148], 0
call dword [eax + 0x1c]
lea ecx, [ebp - 0x14c]
push dword [eax]
push dword [ebx + 0x40]
call fcn.1002a680
mov edx, dword [ebp - 0x110]
mov dword [edi + 0xbc], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ec1cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100ec1da
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x100ec1df
mov eax, 0x10202940
push eax
lea ecx, [ebp - 0x100]
call fcn.101221f0
mov eax, dword [edi]
lea ecx, [ebp - 0x110]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
push dword [eax]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push dword [ebx]
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.10126970
mov edx, dword [ebp - 0x110]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ec232
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x38]
xor edx, edx
mov ecx, dword [ebx + 0x34]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x110], edx
test eax, eax
je 0x100ec840
lea ecx, [ecx]
mov eax, dword [ecx + edx*4]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.10002a60
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, edi
lea eax, [ebp - 0x13c]
push eax
call fcn.10129830
mov eax, dword [ebp - 0x134]
mov ecx, 0x10202940
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ec2ae
test dx, dx
je 0x100ec2a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ec2ae
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ec280
mov dword [ebp - 0x108], 0
jmp 0x100ec2b9
sbb ebx, ebx
or ebx, 1
mov dword [ebp - 0x108], ebx
mov edi, dword [ebp - 0x138]
lea ecx, [ebp - 0x12c]
mov esi, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xffffffff
call fcn.10008220
cmp esi, 0x80000000
jne 0x100ec486
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x10c]
push str.SOFTWAREClasses
mov dword [ebp - 0x10c], eax
call fcn.10023e80
test al, al
jne 0x100ec335
push 0x10
push str.SOFTWAREClasses
lea ecx, [ebp - 0x10c]
call fcn.10003740
test edi, edi
je 0x100ec40c
cmp word [edi], 0x5c
je 0x100ec3e8
mov esi, dword [ebp - 0x10c]
mov ebx, 0x10202944
push 1
sub ebx, esi
mov dword [ebp - 0x118], 0x10202944
push 0x10202944
mov eax, dword [esi - 0xc]
sar ebx, 1
mov dword [ebp - 0x114], eax
call fcn.101e6fd0
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
add esp, 8
mov dword [ebp - 0x11c], eax
add eax, dword [ebp - 0x114]
sub ecx, eax
or edx, ecx
jge 0x100ec3a7
push eax
lea ecx, [ebp - 0x10c]
call fcn.10003310
mov esi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x114]
cmp ebx, ecx
ja 0x100ec3ba
lea eax, [esi + ebx*2]
mov dword [ebp - 0x118], eax
mov ebx, dword [ebp - 0x11c]
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x118]
push eax
lea eax, [esi + ecx*2]
push eax
call fcn.10004510
mov eax, dword [ebp - 0x114]
add esp, 0x10
add eax, ebx
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ec3f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10c]
call fcn.10002970
mov esi, dword [ebp - 0x10c]
lea eax, [ebp - 0x12c]
push 0xf013f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
push 0xf013f
push esi
mov edi, eax
lea ecx, [ebp - 0x12c]
push SysReAllocString
lea eax, [ebp - 0x128]
push eax
call fcn.1000a260
test edi, edi
je 0x100ec46c
test eax, eax
je 0x100ec46c
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100ec49d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100ec49d
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100ec4a5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100ec4a5
push 0xf013f
push edi
lea eax, [ebp - 0x12c]
push esi
push eax
mov ecx, eax
call fcn.1000a260
mov edi, eax
test edi, edi
jne 0x100ec7cd
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x100ec5ff
cmp dword [eax], 2
je 0x100ec5ff
cmp dword [ebp - 0x108], 0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 8]
push 0
mov ecx, dword [eax]
je 0x100ec5bf
push dword [ebp - 0x134]
push edx
push eax
call dword [ecx + 0x2c]
mov ebx, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x134]
test ebx, ebx
je 0x100ec550
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100ec507
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x39
call fcn.10003680
add esp, 4
push edi
push ebx
test eax, eax
je 0x100ec51b
call eax
jmp 0x100ec521
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test esi, esi
je 0x100ec52e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x100ec550
push dword [ebp - 0x120]
push edi
push 0x10202940
push dword [ebp - 0x12c]
call fcn.1010aeb0
mov ecx, eax
call fcn.1010b450
mov ebx, dword [ebp - 0x128]
test ebx, ebx
je 0x100ec5ff
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100ec574
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x39
call fcn.10003680
add esp, 4
push edi
push ebx
test eax, eax
je 0x100ec588
call eax
jmp 0x100ec58e
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test esi, esi
je 0x100ec59b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x100ec5ff
push dword [ebp - 0x120]
push edi
push 0x10202940
push dword [ebp - 0x128]
call fcn.1010aeb0
mov ecx, eax
call fcn.1010b450
jmp 0x100ec5ff
push 0x10202940
push edx
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x100ec5e4
push 0x10202940
push eax
lea ecx, [ebp - 0x12c]
call fcn.10058ab0
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x100ec5ff
push 0x10202940
push eax
lea ecx, [ebp - 0x12c]
call fcn.10058ab0
push dword [ebp - 0x13c]
lea eax, [ebp - 0x144]
push eax
call fcn.100dbb30
mov edi, eax
add esp, 8
mov ecx, dword [edi]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x100ec628
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x100ec634
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, 1
sub ecx, dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], esi
mov edi, dword [eax - 0xc]
mov eax, dword [esi - 8]
lea ebx, [edi + 1]
sub eax, ebx
or ecx, eax
jge 0x100ec675
push ebx
lea ecx, [ebp - 0x108]
call fcn.10003310
mov esi, dword [ebp - 0x108]
add edi, edi
push edi
push dword [ebp - 0x11c]
push edi
push esi
call fcn.10004510
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x100ec6a1
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.101e6c20
jmp 0x100ec6aa
mov ax, word [0x10202944]
mov word [ecx], ax
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x100ec6c3
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100ec6cf
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ebx, dword [esi - 0xc]
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x114], ebx
lea edi, [eax + 0x10]
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x108], edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x118], eax
lea edx, [ebx + eax]
mov eax, dword [edi - 8]
sub eax, edx
or ecx, eax
jge 0x100ec723
push edx
lea ecx, [ebp - 0x108]
call fcn.10003310
mov edi, dword [ebp - 0x108]
add ebx, ebx
push ebx
push esi
push ebx
push edi
call fcn.10004510
mov eax, dword [ebp - 0x118]
add eax, eax
push eax
push dword [ebp - 0x11c]
push eax
lea eax, [ebx + edi]
push eax
call fcn.10004510
mov eax, dword [ebp - 0x114]
add esp, 0x20
add eax, dword [ebp - 0x118]
xor ecx, ecx
mov dword [edi - 0xc], eax
push 0x10204674
push ecx
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0x140]
push ecx
push edi
push dword [eax + 0xbc]
call fcn.10026170
mov ecx, eax
call fcn.1002b410
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100ec797
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
lea edx, [esi - 0x10]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ec7af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x144]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ec7cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x12c]
call fcn.10008220
mov edx, dword [ebp - 0x134]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ec7f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x138]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ec814
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x110]
mov edi, dword [ebp - 0x140]
inc edx
mov dword [ebp - 0x110], edx
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x100ec250
lea ecx, [ebp - 0x100]
call fcn.10122860
mov esi, dword [ebp - 0x148]
test esi, esi
je 0x100ec944
call fcn.10026170
lea ecx, [ebp - 0x101]
mov ebx, eax
call fcn.10129b80
cmp byte [ebx + 0x210], 0
je 0x100ec939
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
push eax
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.1002aeb0
mov esi, dword [eax]
cmp esi, dword [ebx]
je 0x100ec939
lea edi, [esi + 0x14]
mov ecx, ebx
push edi
push dword [esi + 0x10]
call fcn.1002b7c0
mov ecx, edi
call fcn.1002a820
mov edi, dword [esi + 0x10]
test edi, edi
je 0x100ec912
mov ecx, dword [edi + 0x28]
cmp ecx, 8
jb 0x100ec8f3
mov eax, dword [edi + 0x14]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100ec8e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ec968
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
mov dword [edi + 0x24], 0
push 0x34
mov dword [edi + 0x28], 7
push edi
mov word [edi + 0x14], ax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
push esi
mov ecx, ebx
call fcn.100151b0
mov edi, eax
lea ecx, [edi + 0x14]
call fcn.1002a820
push 0x20
push dword [edi + 0x14]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push 0x1c
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x10
lea ecx, [ebp - 0x101]
call fcn.10129ba0
mov ecx, dword [ebp - 0x14c]
mov eax, 1
pop edi
pop esi
pop ebx
mov dword [ecx], 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 4
call fcn.101e6c40
int3