Function at 0x10014050
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d9c7
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.10028a90
mov eax, dword [0x101165dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2250], edx
call fcn.10012730
mov esi, eax
cmp esi, ebx
jge 0x100140cc
mov dword [ebp - 4], 0xffffffff
jmp 0x1001474e
cmp word [edi], 0x7d
je 0x1001472e
jmp 0x100140e0
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x222c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10014119
cmp esi, ebx
je 0x10014272
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
cmp dword [ebp + 0x10], ebx
je 0x10014272
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
mov byte [ebp - 4], 1
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x1001417b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp cx, 0x5c
je 0x10014173
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x10014160
jmp 0x1001417b
cmp eax, ebx
jne 0x100146f9
mov esi, 0x1003f730
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100141cf
add esi, 4
cmp esi, 0x1003f760
jl 0x10014180
mov ecx, dword [ebp - 0x2230]
mov dword [ebp - 0x223c], ecx
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.10012b80
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x222c], ebx
je 0x10014269
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x10014720
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012930
mov esi, eax
cmp esi, ebx
jl 0x10014720
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
cmp word [edi], 0x7b
jne 0x1001425a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1001425a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2228]
push ebx
push ecx
mov ecx, dword [ebp - 0x221c]
push edx
push edi
call fcn.10014050
mov esi, eax
cmp esi, ebx
jl 0x1001472e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
cmp word [edi], 0x7d
jne 0x100140e0
jmp 0x1001472e
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001429e
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
push 0x1003f6f8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100143f4
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
cmp word [edi], 0x3d
jne 0x10014707
cmp dword [ebp + 0x10], ebx
je 0x10014365
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2218]
push ecx
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x224c]
push edx
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.10013ca0
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp esi, ebx
jl 0x10014772
mov byte [ebp - 4], bl
mov dword [ebp - 0x2248], ebx
jmp 0x10014210
cmp dword [ebp + 0x14], ebx
jne 0x100143e3
cmp dword [ebp - 0x2240], ebx
je 0x100143e3
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2230]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x2268]
call fcn.100122a0
cmp eax, ebx
jne 0x10014796
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100143c9
cmp eax, 2
jne 0x10014796
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x100143dd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012930
jmp 0x10014250
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x1001441f
mov edi, edi
cmp cx, 0x5c
je 0x10014417
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x10014400
jmp 0x1001441f
cmp eax, ebx
jne 0x10014707
cmp dword [ebp + 0x10], ebx
je 0x100144bb
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.100122a0
cmp eax, ebx
je 0x10014478
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.100122a0
cmp eax, ebx
je 0x10014478
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.10012200
cmp eax, ebx
jne 0x100147af
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
cmp word [edi], 0x3d
jne 0x10014210
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea edx, [ebp - 0x2228]
push edx
call fcn.10013ca0
mov esi, eax
cmp esi, ebx
jl 0x1001472e
jmp 0x10014210
cmp dword [ebp + 0x14], ebx
jne 0x10014517
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.100122a0
mov dword [ebp - 0x222c], eax
cmp eax, ebx
je 0x100144e9
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.10029371
add esp, 0x10
cmp eax, 0x50
ja case.0x10014510.1
movzx edx, byte [eax + 0x10014804]
jmp dword [edx*4 + 0x100147f4]
mov dword [ebp - 0x222c], 2
jmp 0x100144e2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012930
mov esi, eax
cmp esi, ebx
jl 0x1001472e
cmp word [edi], 0x7b
jne 0x1001459e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1001459e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2228]
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10014050
mov esi, eax
cmp esi, ebx
jge 0x10014588
cmp dword [ebp + 0x14], ebx
je 0x1001472e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012730
mov esi, eax
cmp esi, ebx
jl 0x1001472e
cmp dword [ebp - 0x222c], 2
mov edx, dword [ebp - 0x2250]
mov dword [ebp + 0x14], edx
je 0x1001425a
cmp dword [ebp - 0x222c], ebx
je 0x100145da
cmp edx, ebx
jne 0x1001425a
mov eax, dword [ebp - 0x222c]
push eax
call fcn.10012040
add esp, 4
mov esi, eax
jmp 0x1001472e
cmp edx, ebx
je 0x10014631
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.100128e0
test eax, eax
je 0x10014631
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.100128a0
test eax, eax
je 0x1001425a
cmp dword [ebp - 0x2240], ebx
je 0x1001425a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2228]
call fcn.10012b80
jmp 0x1001425a
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.100128e0
mov dword [ebp - 0x222c], eax
xor eax, eax
cmp dword [ebp - 0x2228], ebx
je 0x10014666
mov ecx, dword [ebp - 0x2228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
cmp eax, ebx
jne 0x100147af
cmp dword [ebp - 0x2240], ebx
je 0x1001425a
cmp dword [ebp - 0x222c], ebx
jne 0x1001425a
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2230]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], edx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.100121a0
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
cmp eax, ebx
jne 0x100147d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
call fcn.10012b60
jmp 0x1001425a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.10012b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.10012b60
mov eax, 0x80020009
jmp 0x10014754
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.10012b60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
cmp eax, ebx
je 0x1001474c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], ebx
mov eax, esi
mov dword [ebp - 0x2224], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027de5
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
call fcn.10012b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.10012b60
mov eax, esi
jmp 0x10014754
push eax
call fcn.10012040
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2268]
jmp 0x10014729
push eax
call fcn.10012040
add esp, 4
mov esi, eax
jmp 0x10014780
push 0x8007000e
call fcn.10010c90
push 0x80070057
call fcn.10010c90
push eax
call fcn.10012040
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
jmp 0x10014729
push 0x80004005
call fcn.10010c90
nop
and eax, dword [ebp + 1]
adc byte [edi + eax*2 + 1204162561], bh
add dword [eax], edx
jmp 0x1011494c