Function at 0x10011cc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad0f6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.1003e080
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
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 + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, eax
push edi
mov dword [esp + 0x227c], 0
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012332
cmp word [edi], 0x7d
je 0x10012321
jmp 0x10011d60
push str.Delete
push edi
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x100cbe30
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10011d91
test ebx, ebx
je 0x10011e8a
mov ecx, dword [esp + 0x10]
push edi
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
cmp dword [ebp + 0x10], 0
je 0x10011e8a
movzx eax, word [edi]
mov ecx, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ax, ax
je 0x10011df2
cmp ax, 0x5c
je 0x10011dea
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10011dd1
jmp 0x10011df2
test ecx, ecx
jne 0x100122c4
mov esi, 0x100cbf30
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10011e49
add esi, 4
cmp esi, str.value
jl 0x10011df7
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.10010630
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x10011e82
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.10011200
mov esi, eax
test esi, esi
js 0x100122d4
push edi
mov ecx, ebx
call fcn.100117f0
mov esi, eax
test esi, esi
js 0x100122d4
mov dword [esp + 0x28], 0
jmp 0x100120b8
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 0x10011eb4
push edi
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
push 0x100cbe28
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10012002
lea eax, [esp + 0x264]
mov ecx, ebx
push eax
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
push edi
mov ecx, ebx
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
cmp word [edi], 0x3d
jne 0x100122cd
cmp dword [ebp + 0x10], 0
je 0x10011f6f
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov byte [esp + 0x2278], 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x264]
push edi
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0
push eax
mov dword [esp + 0x60], 0
call fcn.10011390
mov esi, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test esi, esi
js 0x100122df
mov byte [esp + 0x2278], 0
mov dword [esp + 0x50], 0
jmp 0x100120b8
cmp dword [ebp + 0x14], 0
jne 0x10011feb
cmp dword [esp + 0x30], 0
je 0x10011feb
push 0x20006
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.100104b0
test eax, eax
jne 0x100122ea
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x264]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10011fd0
cmp eax, 2
jne 0x100122ea
test esi, esi
je 0x10011fe3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
push edi
mov ecx, ebx
call fcn.100117f0
mov esi, eax
test esi, esi
js 0x10012321
jmp 0x100122b8
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x10012031
lea esp, [esp]
cmp ax, 0x5c
je 0x10012029
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10012010
jmp 0x10012031
test ecx, ecx
jne 0x100122cd
cmp dword [ebp + 0x10], 0
je 0x10012111
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0x2001f
push edi
push esi
call fcn.100104b0
test eax, eax
je 0x10012087
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.100104b0
test eax, eax
je 0x10012087
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [esp + 0x34]
call fcn.100103d0
test eax, eax
jne 0x10012316
push edi
mov ecx, ebx
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
cmp word [edi], 0x3d
jne 0x100120b8
push edi
push 0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.10011390
mov esi, eax
test esi, esi
js 0x10012321
cmp word [edi], 0x7b
jne 0x100122b8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100120c7
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100122b8
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.10011cc0
mov esi, eax
test esi, esi
js 0x10012321
push edi
mov ecx, ebx
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
jmp 0x100122b8
cmp dword [ebp + 0x14], 0
jne 0x10012132
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.100104b0
mov ebx, eax
test ebx, ebx
jne 0x10012137
jmp 0x1001213e
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.10034511
push eax
call fcn.100100d0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
mov ecx, dword [esp + 0x10]
push edi
call fcn.100117f0
mov esi, eax
test esi, esi
js 0x10012321
cmp word [edi], 0x7b
jne 0x100121db
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012190
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100121db
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
push edi
call fcn.10011cc0
mov esi, eax
test esi, esi
jns 0x100121c7
cmp dword [ebp + 0x14], 0
je 0x10012321
mov ecx, dword [esp + 0x10]
push edi
call fcn.10011200
mov esi, eax
test esi, esi
js 0x10012321
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x100122b8
test ebx, ebx
je 0x100121fd
test eax, eax
jne 0x100122b8
push ebx
jmp 0x10012317
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x10012243
push dword [esp + 0x18]
mov ecx, ebx
call fcn.100117a0
test eax, eax
je 0x10012243
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
call fcn.10011760
test eax, eax
je 0x100122b8
cmp dword [esp + 0x30], 0
je 0x100122b8
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.10010630
jmp 0x100122b8
push dword [esp + 0x18]
mov ecx, ebx
call fcn.100117a0
mov ecx, dword [esp + 0x18]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x10012267
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 0x10012316
cmp dword [esp + 0x30], eax
je 0x100122b8
test ebx, ebx
jne 0x100122b8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.100102f0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
test eax, eax
jne 0x10012300
lea ecx, [esp + 0x40]
call fcn.100102d0
cmp word [edi], 0x7d
jne 0x10011d60
jmp 0x10012321
lea ecx, [esp + 0x24]
call fcn.100102d0
mov esi, 0x80020009
jmp 0x10012321
lea ecx, [esp + 0x24]
call fcn.100102d0
jmp 0x10012321
lea ecx, [esp + 0x4c]
call fcn.100102d0
jmp 0x10012321
push eax
call fcn.100101b0
add esp, 4
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.100102d0
jmp 0x10012321
push eax
call fcn.100101b0
add esp, 4
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.100102d0
jmp 0x10012321
push eax
call fcn.100101b0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10012330
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.10033901
mov esp, ebp
pop ebp
ret 0x10