Function at 0x10014240
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004b556
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x116c
call fcn.10040660
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x1168], eax
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x1180]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov edi, ecx
mov dword [esp + 0x1188], ebx
mov dword [esp + 0x40], edx
call fcn.10013630
mov edi, eax
cmp edi, ebx
jl 0x10014936
cmp byte [esi], 0x7d
je 0x10014934
nop
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push esi
mov dword [esp + 0x20], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x100142ff
test ebx, ebx
je 0x1001442a
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10013630
mov edi, eax
test edi, edi
js 0x10014923
xor eax, eax
cmp dword [ebp + 0x10], eax
je 0x1001442a
mov cl, byte [esi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, esi
test cl, cl
je 0x1001434f
cmp cl, 0x5c
je 0x10014347
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x10014333
jmp 0x1001434f
test eax, eax
jne 0x10014901
mov edi, 0x10053d78
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10014397
add edi, 4
cmp edi, 0x10053da8
jl 0x10014354
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x34], ecx
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.10012450
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
jmp 0x10014399
xor edi, edi
cmp ebx, edi
je 0x10014426
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10013630
mov edi, eax
test edi, edi
js 0x1001491a
mov ecx, dword [esp + 0x14]
mov ebx, esi
call fcn.10013d40
mov edi, eax
test edi, edi
js 0x1001491a
mov dword [esp + 0x38], 0
cmp byte [esi], 0x7b
jne 0x10014418
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x10014418
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push 0
push eax
push ecx
push esi
mov ecx, ebx
call fcn.10014240
mov edi, eax
test edi, edi
js 0x10014923
mov eax, esi
mov edi, ebx
call fcn.10013630
mov edi, eax
test edi, edi
js 0x10014923
cmp byte [esi], 0x7d
jne 0x100142d0
jmp 0x10014923
mov dword [esp + 0x38], edi
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
test eax, eax
jne 0x10014455
mov edi, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x18], ebx
call fcn.10013630
mov edi, eax
cmp edi, ebx
jl 0x10014925
push 0x10053cec
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10014574
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x174]
call fcn.10013630
mov edi, eax
cmp edi, ebx
jl 0x10014925
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10013630
mov edi, eax
cmp edi, ebx
jl 0x10014925
cmp byte [esi], 0x3d
jne 0x1001490a
cmp dword [ebp + 0x10], ebx
je 0x100144fd
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
mov byte [esp + 0x1188], 1
push eax
mov dword [esp + 0x48], edx
push ecx
mov edx, esi
lea ecx, [esp + 0x17c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.100137b0
mov edi, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp edi, ebx
jl 0x1001495c
mov byte [esp + 0x1188], 0
mov dword [esp + 0x48], ebx
jmp 0x100143d3
cmp dword [ebp + 0x14], ebx
jne 0x10014564
cmp dword [esp + 0x18], ebx
je 0x10014564
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push edx
mov edx, 0x20006
xor eax, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.10012390
cmp eax, ebx
jne 0x10014970
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x174]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x10014551
cmp eax, 2
jne 0x10014970
cmp edi, ebx
je 0x10014560
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x14]
mov ebx, esi
call fcn.10013d40
jmp 0x1001440e
mov cl, byte [esi]
mov eax, esi
test cl, cl
je 0x1001459c
lea esp, [esp]
cmp cl, 0x5c
je 0x10014594
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x10014580
jmp 0x1001459c
cmp eax, ebx
jne 0x1001490a
cmp dword [ebp + 0x10], ebx
je 0x100146cf
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x28], ebx
je 0x100145cf
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x2c]
push ecx
lea edi, [esp + 0x20]
mov ebx, 0x2001f
call fcn.10011f30
mov esi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x100145e6
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1001460f
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x100145fb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x1001468f
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x28], ebx
je 0x10014639
mov edx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x2c]
push edx
lea edi, [esp + 0x20]
mov ebx, 0x20019
call fcn.10011f30
mov esi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x10014650
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10014675
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x10014665
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x1001468f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.10012310
mov edi, eax
cmp edi, ebx
jne 0x10014982
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10013630
mov edi, eax
cmp edi, ebx
jl 0x10014925
cmp byte [esi], 0x3d
jne 0x100143d3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov edx, esi
xor ecx, ecx
call fcn.100137b0
mov edi, eax
cmp edi, ebx
jl 0x10014925
jmp 0x100143d3
cmp dword [ebp + 0x14], ebx
jne 0x10014775
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x28], ebx
je 0x10014702
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x2c]
push eax
lea edi, [esp + 0x34]
mov ebx, 0x20019
call fcn.10011f30
mov esi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x10014719
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push 0x20019
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1001473a
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x1001472e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x10014749
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x74]
push 0x104
push edx
call fcn.10036e7b
add esp, 0x10
cmp eax, 0x50
ja case.0x1001476e.1
movzx eax, byte [eax + 0x100149e8]
jmp dword [eax*4 + 0x100149d8]
mov dword [esp + 0x2c], 2
jmp 0x10014742
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10013630
mov edi, eax
cmp edi, ebx
jl 0x10014925
mov ecx, dword [esp + 0x14]
mov ebx, esi
call fcn.10013d40
mov edi, eax
test edi, edi
js 0x10014923
cmp byte [esi], 0x7b
jne 0x100147f4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x100147f4
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ecx
push 0
push edx
push esi
mov ecx, ebx
call fcn.10014240
mov edi, eax
test edi, edi
jns 0x100147e1
cmp dword [ebp + 0x14], 0
je 0x10014923
mov eax, esi
mov edi, ebx
call fcn.10013630
mov edi, eax
test edi, edi
js 0x10014923
cmp dword [esp + 0x2c], 2
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x14], eax
je 0x10014418
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10014825
cmp dword [esp + 0x40], 0
jne 0x10014418
call fcn.10011f10
mov edi, eax
jmp 0x10014923
cmp dword [esp + 0x40], 0
mov ebx, dword [esp + 0x20]
je 0x10014868
mov ecx, ebx
call fcn.10013cf0
test eax, eax
je 0x10014868
lea ebx, [esp + 0x6c]
call fcn.10013cb0
test eax, eax
je 0x10014418
cmp dword [esp + 0x18], 0
je 0x10014418
mov ecx, ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.10012450
jmp 0x10014418
mov ecx, ebx
call fcn.10013cf0
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x10014892
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
test ebx, ebx
jne 0x100149a8
cmp dword [esp + 0x18], ebx
je 0x10014418
cmp dword [esp + 0x68], ebx
jne 0x10014418
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x50]
mov dword [esp + 0x50], edx
call fcn.10012260
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
cmp eax, ecx
jne 0x100149bd
lea esi, [esp + 0x50]
call fcn.10012240
mov esi, dword [esp + 0x30]
jmp 0x10014418
lea esi, [esp + 0x34]
call fcn.10012240
lea esi, [esp + 0x20]
call fcn.10012240
mov eax, 0x80020009
jmp 0x10014936
lea esi, [esp + 0x34]
call fcn.10012240
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10014934
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x1180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1168]
xor ecx, esp
call fcn.10034eea
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x44]
call fcn.10012240
lea esi, [esp + 0x20]
call fcn.10012240
jmp 0x10014934
call fcn.10011f10
lea esi, [esp + 0x5c]
mov edi, eax
call fcn.10012240
jmp 0x10014925
lea esi, [esp + 0x20]
call fcn.10012240
mov eax, edi
call fcn.10011f10
jmp 0x10014936
push 0x8007000e
call fcn.10011d40
push 0x80070057
call fcn.10011d40
lea esi, [esp + 0x20]
call fcn.10012240
mov eax, ebx
call fcn.10011f10
jmp 0x10014936
call fcn.10011f10
mov edi, eax
lea esi, [esp + 0x50]
jmp 0x1001491e
push 0x80004005
call fcn.10011d40
nop
jg 0x10014a21
add dword [eax], edx
xchg esp, eax
dec ecx
add dword [eax], edx
sahf
dec ecx
add dword [eax], edx
int 0x49
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
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 [eax]
int3