Function at 0x100ecca0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x103432c7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.1033e170
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x2270]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x2278], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, eax
push edi
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
cmp word [edi], 0x7d
je 0x100ed381
jmp 0x100ecd40
push str.Delete
push edi
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x103682a4
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100ecd71
test ebx, ebx
je 0x100ece89
mov ecx, dword [esp + 0x10]
push edi
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
cmp dword [ebp + 0x10], 0
je 0x100ece89
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x2278], 1
mov ecx, edi
movzx eax, word [edi]
test ax, ax
je 0x100ecde1
lea esp, [esp]
cmp ax, 0x5c
je 0x100ecdd9
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x100ecdc0
jmp 0x100ecde1
test ecx, ecx
jne 0x100ed302
mov esi, 0x10368450
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100ece38
add esi, 4
cmp esi, 0x10368480
jl 0x100ecde6
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.100eb440
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x100ece79
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed31a
push edi
mov ecx, ebx
call fcn.100ec7d0
mov esi, eax
test esi, esi
js 0x100ed31a
mov byte [esp + 0x2278], 0
mov dword [esp + 0x28], 0
jmp 0x100ed0de
mov byte [esp + 0x2278], 0
mov dword [esp + 0x28], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x100eceb3
push edi
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
push 0x1036829c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100ed031
lea eax, [esp + 0x264]
mov ecx, ebx
push eax
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
push edi
mov ecx, ebx
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
cmp word [edi], 0x3d
jne 0x100ed313
cmp dword [ebp + 0x10], 0
je 0x100ecf8a
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x2278], 2
mov ecx, ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x264]
push edi
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], 0
push eax
mov dword [esp + 0x54], 0
call fcn.100ec330
mov esi, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test esi, esi
js 0x100ed32d
mov byte [esp + 0x2278], 0
mov dword [esp + 0x44], 0
jmp 0x100ed0de
cmp dword [ebp + 0x14], 0
jne 0x100ed01a
cmp dword [esp + 0x30], 0
je 0x100ed01a
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x2278], 3
lea ecx, [esp + 0x4c]
push 0x20006
push 0
push dword [esp + 0x1c]
call fcn.100eb320
test eax, eax
jne 0x100ed340
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x264]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100ecff7
cmp eax, 2
jne 0x100ed340
mov byte [esp + 0x2278], 0
test esi, esi
je 0x100ed012
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
push edi
mov ecx, ebx
call fcn.100ec7d0
mov esi, eax
test esi, esi
js 0x100ed381
jmp 0x100ed2f3
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x100ed061
jmp 0x100ed040
cmp ax, 0x5c
je 0x100ed059
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x100ed040
jmp 0x100ed061
test ecx, ecx
jne 0x100ed313
cmp dword [ebp + 0x10], 0
je 0x100ed13a
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0x2001f
push edi
push esi
call fcn.100eb320
test eax, eax
je 0x100ed0ad
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.100eb320
test eax, eax
je 0x100ed0ad
sub esp, 0x14
lea ecx, [esp + 0x2c]
push edi
push esi
call fcn.100eb2a0
test eax, eax
jne 0x100ed378
push edi
mov ecx, ebx
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
cmp word [edi], 0x3d
jne 0x100ed0de
push edi
push 0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.100ec330
mov esi, eax
test esi, esi
js 0x100ed381
cmp word [edi], 0x7b
jne 0x100ed2f3
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ed0f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100ed2f3
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.100ecca0
mov esi, eax
test esi, esi
js 0x100ed381
push edi
mov ecx, ebx
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
jmp 0x100ed2f3
cmp dword [ebp + 0x14], 0
jne 0x100ed15b
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.100eb320
mov ebx, eax
test ebx, ebx
jne 0x100ed160
jmp 0x100ed167
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
push eax
call fcn.100eabe0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
mov ecx, dword [esp + 0x10]
push edi
call fcn.100ec7d0
mov esi, eax
test esi, esi
js 0x100ed381
cmp word [edi], 0x7b
jne 0x100ed201
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ed1b6
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100ed201
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
push edi
call fcn.100ecca0
mov esi, eax
test esi, esi
jns 0x100ed1ed
cmp dword [ebp + 0x14], 0
je 0x100ed381
mov ecx, dword [esp + 0x10]
push edi
call fcn.100ec1b0
mov esi, eax
test esi, esi
js 0x100ed381
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x100ed2f3
test ebx, ebx
je 0x100ed224
test eax, eax
jne 0x100ed2f3
mov ecx, ebx
jmp 0x100ed37a
test eax, eax
je 0x100ed265
push dword [esp + 0x18]
call fcn.100ec780
test eax, eax
je 0x100ed265
lea eax, [esp + 0x5c]
push eax
call fcn.100ec740
test eax, eax
je 0x100ed2f3
cmp dword [esp + 0x30], 0
je 0x100ed2f3
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.100eb440
jmp 0x100ed2f3
push dword [esp + 0x18]
call fcn.100ec780
mov ecx, dword [esp + 0x18]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x100ed287
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x100ed378
cmp dword [esp + 0x30], eax
je 0x100ed2f3
test ebx, ebx
jne 0x100ed2f3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2278], 4
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.100eb210
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
test eax, eax
jne 0x100ed35c
mov byte [esp + 0x2278], al
lea ecx, [esp + 0x34]
call fcn.100eb1f0
cmp word [edi], 0x7d
jne 0x100ecd40
jmp 0x100ed381
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x24]
call fcn.100eb1f0
mov esi, 0x80020009
jmp 0x100ed381
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x24]
call fcn.100eb1f0
jmp 0x100ed381
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x40]
call fcn.100eb1f0
jmp 0x100ed381
mov ecx, eax
call fcn.100eace0
mov esi, eax
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x4c]
call fcn.100eb1f0
jmp 0x100ed381
mov ecx, eax
call fcn.100eace0
mov esi, eax
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x34]
call fcn.100eb1f0
jmp 0x100ed381
mov ecx, eax
call fcn.100eace0
mov esi, eax
mov dword [esp + 0x2278], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100ed3a3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov eax, esi
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x2270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2258]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret 0x10