Function at 0x10014060
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d987
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.10028aa0
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.10012740
mov esi, eax
cmp esi, ebx
jge 0x100140dc
mov dword [ebp - 4], 0xffffffff
jmp 0x1001475e
cmp word [edi], 0x7d
je 0x1001473e
jmp 0x100140f0
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 0x10014129
cmp esi, ebx
je 0x10014282
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
cmp dword [ebp + 0x10], ebx
je 0x10014282
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 0x1001418b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp cx, 0x5c
je 0x10014183
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x10014170
jmp 0x1001418b
cmp eax, ebx
jne 0x10014709
mov esi, 0x1003f730
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100141df
add esi, 4
cmp esi, 0x1003f760
jl 0x10014190
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.10012b90
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x222c], ebx
je 0x10014279
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x10014730
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012940
mov esi, eax
cmp esi, ebx
jl 0x10014730
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
cmp word [edi], 0x7b
jne 0x1001426a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1001426a
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.10014060
mov esi, eax
cmp esi, ebx
jl 0x1001473e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
cmp word [edi], 0x7d
jne 0x100140f0
jmp 0x1001473e
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 0x100142ae
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
push 0x1003f6f8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10014404
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
cmp word [edi], 0x3d
jne 0x10014717
cmp dword [ebp + 0x10], ebx
je 0x10014375
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.10013cb0
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp esi, ebx
jl 0x10014782
mov byte [ebp - 4], bl
mov dword [ebp - 0x2248], ebx
jmp 0x10014220
cmp dword [ebp + 0x14], ebx
jne 0x100143f3
cmp dword [ebp - 0x2240], ebx
je 0x100143f3
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.100122b0
cmp eax, ebx
jne 0x100147a6
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100143d9
cmp eax, 2
jne 0x100147a6
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x100143ed
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.10012940
jmp 0x10014260
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x1001442f
mov edi, edi
cmp cx, 0x5c
je 0x10014427
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x10014410
jmp 0x1001442f
cmp eax, ebx
jne 0x10014717
cmp dword [ebp + 0x10], ebx
je 0x100144cb
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.100122b0
cmp eax, ebx
je 0x10014488
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.100122b0
cmp eax, ebx
je 0x10014488
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.10012210
cmp eax, ebx
jne 0x100147bf
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
cmp word [edi], 0x3d
jne 0x10014220
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea edx, [ebp - 0x2228]
push edx
call fcn.10013cb0
mov esi, eax
cmp esi, ebx
jl 0x1001473e
jmp 0x10014220
cmp dword [ebp + 0x14], ebx
jne 0x10014527
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.100122b0
mov dword [ebp - 0x222c], eax
cmp eax, ebx
je 0x100144f9
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.10029381
add esp, 0x10
cmp eax, 0x50
ja case.0x10014520.1
movzx edx, byte [eax + 0x10014814]
jmp dword [edx*4 + 0x10014804]
mov dword [ebp - 0x222c], 2
jmp 0x100144f2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012940
mov esi, eax
cmp esi, ebx
jl 0x1001473e
cmp word [edi], 0x7b
jne 0x100145ae
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100145ae
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.10014060
mov esi, eax
cmp esi, ebx
jge 0x10014598
cmp dword [ebp + 0x14], ebx
je 0x1001473e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10012740
mov esi, eax
cmp esi, ebx
jl 0x1001473e
cmp dword [ebp - 0x222c], 2
mov edx, dword [ebp - 0x2250]
mov dword [ebp + 0x14], edx
je 0x1001426a
cmp dword [ebp - 0x222c], ebx
je 0x100145ea
cmp edx, ebx
jne 0x1001426a
mov eax, dword [ebp - 0x222c]
push eax
call fcn.10012050
add esp, 4
mov esi, eax
jmp 0x1001473e
cmp edx, ebx
je 0x10014641
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.100128f0
test eax, eax
je 0x10014641
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.100128b0
test eax, eax
je 0x1001426a
cmp dword [ebp - 0x2240], ebx
je 0x1001426a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2228]
call fcn.10012b90
jmp 0x1001426a
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.100128f0
mov dword [ebp - 0x222c], eax
xor eax, eax
cmp dword [ebp - 0x2228], ebx
je 0x10014676
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 0x100147bf
cmp dword [ebp - 0x2240], ebx
je 0x1001426a
cmp dword [ebp - 0x222c], ebx
jne 0x1001426a
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.100121b0
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
cmp eax, ebx
jne 0x100147e0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
call fcn.10012b70
jmp 0x1001426a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.10012b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.10012b70
mov eax, 0x80020009
jmp 0x10014764
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.10012b70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
cmp eax, ebx
je 0x1001475c
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.10027df5
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
call fcn.10012b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.10012b70
mov eax, esi
jmp 0x10014764
push eax
call fcn.10012050
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2268]
jmp 0x10014739
push eax
call fcn.10012050
add esp, 4
mov esi, eax
jmp 0x10014790
push 0x8007000e
call fcn.10010ca0
push 0x80070057
call fcn.10010ca0
push eax
call fcn.10012050
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
jmp 0x10014739
push 0x80004005
call fcn.10010ca0
nop
xor eax, dword [ebp + 1]
adc ah, cl
inc edi
add dword [eax], edx
salc
inc edi
add dword [eax], edx
stc
inc edi
add dword [eax], edx
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3