Function at 0x10003de0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100206a6
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.1000f410
mov eax, dword [0x1002e678]
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, ecx
mov dword [ebp - 0x1118], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x111c], ecx
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
mov dword [ebp - 0x1120], 0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1160], ecx
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044cc
cmp byte [edi], 0x7d
je 0x100044b9
nop
push str.Delete
push edi
mov dword [ebp - 0x1138], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10003ea3
test ebx, ebx
je 0x10003fbb
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
cmp dword [ebp + 0x10], 0
je 0x10003fbb
mov al, byte [edi]
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
mov dword [ebp - 0x112c], 0
mov ecx, edi
test al, al
je 0x10003f0d
lea esp, [esp]
cmp al, 0x5c
je 0x10003f05
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x10003ef0
jmp 0x10003f0d
test ecx, ecx
jne 0x10004452
mov esi, 0x100212e8
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10003f74
add esi, 4
cmp esi, 0x10021318
jl 0x10003f12
mov eax, dword [ebp - 0x111c]
push edi
lea ecx, [ebp - 0x1134]
mov dword [ebp - 0x1134], eax
mov dword [ebp - 0x1130], 0
mov dword [ebp - 0x112c], 0
call fcn.10003850
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
mov dword [ebp - 0x112c], 0
test ebx, ebx
je 0x10003fb1
mov ebx, dword [ebp - 0x1118]
push edi
mov ecx, ebx
call fcn.10003340
mov esi, eax
test esi, esi
js 0x10004464
push edi
mov ecx, ebx
call fcn.10004870
mov esi, eax
test esi, esi
js 0x10004464
mov dword [ebp - 0x1130], 0
jmp 0x1000420d
mov dword [ebp - 0x1130], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x1118]
test eax, eax
jne 0x10003fe9
push edi
mov ecx, ebx
mov dword [ebp - 0x1138], eax
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
push 0x100213d8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10004153
lea eax, [ebp - 0x1114]
push eax
mov ecx, ebx
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
push edi
mov ecx, ebx
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
cmp byte [edi], 0x3d
jne 0x1000445d
cmp dword [ebp + 0x10], 0
je 0x100040ab
mov eax, dword [ebp - 0x111c]
mov dword [ebp - 0x115c], eax
push edi
lea eax, [ebp - 0x1114]
push eax
lea eax, [ebp - 0x115c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 0
call fcn.10001920
mov esi, eax
mov dword [ebp - 0x115c], 0
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 0
test esi, esi
js 0x10004471
mov byte [ebp - 4], 0
mov dword [ebp - 0x1158], 0
jmp 0x1000420d
cmp dword [ebp + 0x14], 0
jne 0x1000413c
cmp dword [ebp - 0x1138], 0
je 0x1000413c
push 0x20006
push 0
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1150]
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0
mov dword [ebp - 0x1148], 0
call fcn.100034a0
test eax, eax
jne 0x1000447e
mov esi, dword [ebp - 0x1150]
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1000411d
cmp eax, 2
jne 0x1000447e
test esi, esi
je 0x10004132
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0
push edi
mov ecx, ebx
call fcn.10004870
mov esi, eax
test esi, esi
js 0x100044b9
jmp 0x10004447
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x1000417d
jmp 0x10004160
cmp al, 0x5c
je 0x10004175
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x10004160
jmp 0x1000417d
test ecx, ecx
jne 0x1000445d
cmp dword [ebp + 0x10], 0
je 0x10004266
mov esi, dword [ebp - 0x111c]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.100034a0
test eax, eax
je 0x100041db
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.100034a0
test eax, eax
je 0x100041db
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.10002ed0
test eax, eax
jne 0x100044ae
push edi
mov ecx, ebx
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
cmp byte [edi], 0x3d
jne 0x1000420d
push edi
push 0
lea eax, [ebp - 0x1128]
push eax
mov ecx, ebx
call fcn.10001920
mov esi, eax
test esi, esi
js 0x100044b9
cmp byte [edi], 0x7b
jne 0x10004447
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x10004220
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004220
sub ecx, edx
cmp ecx, 1
jne 0x10004447
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x1128]
push edi
call fcn.10003de0
mov esi, eax
test esi, esi
js 0x100044b9
push edi
mov ecx, ebx
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
jmp 0x10004447
cmp dword [ebp + 0x14], 0
jne 0x1000428b
push 0x20019
push edi
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1128]
call fcn.100034a0
mov ebx, eax
test ebx, ebx
jne 0x10004290
jmp 0x10004297
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.1000ee75
push eax
call fcn.100021f0
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10004870
mov esi, eax
test esi, esi
js 0x100044b9
cmp byte [edi], 0x7b
jne 0x1000433b
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100042f0
sub ecx, edx
cmp ecx, 1
jne 0x1000433b
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1118]
push 0
push dword [ebp - 0x1128]
push edi
call fcn.10003de0
mov esi, eax
test esi, esi
jns 0x10004325
cmp dword [ebp + 0x14], 0
je 0x100044b9
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10003340
mov esi, eax
test esi, esi
js 0x100044b9
mov eax, dword [ebp - 0x1160]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x10004447
test ebx, ebx
je 0x1000435f
test eax, eax
jne 0x10004447
push ebx
jmp 0x100044af
mov ebx, dword [ebp - 0x1118]
test eax, eax
je 0x100043b4
push dword [ebp - 0x1128]
mov ecx, ebx
call fcn.10003270
test eax, eax
je 0x100043b4
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.10002d30
test eax, eax
je 0x10004447
cmp dword [ebp - 0x1138], 0
je 0x10004447
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1128]
call fcn.10003850
jmp 0x10004447
push dword [ebp - 0x1128]
mov ecx, ebx
call fcn.10003270
mov ecx, dword [ebp - 0x1128]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x100043de
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x1128], ecx
mov dword [ebp - 0x1124], 0
test eax, eax
jne 0x100044ae
cmp dword [ebp - 0x1138], eax
je 0x10004447
test ebx, ebx
jne 0x10004447
mov eax, dword [ebp - 0x111c]
mov dword [ebp - 0x1144], eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1144]
mov dword [ebp - 0x1140], ebx
mov dword [ebp - 0x113c], ebx
call fcn.10002ff0
mov dword [ebp - 0x1144], ebx
mov dword [ebp - 0x1140], ebx
mov dword [ebp - 0x113c], ebx
test eax, eax
jne 0x10004496
lea ecx, [ebp - 0x1144]
call fcn.100013f0
cmp byte [edi], 0x7d
jne 0x10003e70
jmp 0x100044b9
lea ecx, [ebp - 0x1134]
call fcn.100013f0
mov esi, 0x80020009
jmp 0x100044b9
lea ecx, [ebp - 0x1134]
call fcn.100013f0
jmp 0x100044b9
lea ecx, [ebp - 0x115c]
call fcn.100013f0
jmp 0x100044b9
push eax
call fcn.10002350
add esp, 4
lea ecx, [ebp - 0x1150]
mov esi, eax
call fcn.100013f0
jmp 0x100044b9
push eax
call fcn.10002350
add esp, 4
lea ecx, [ebp - 0x1144]
mov esi, eax
call fcn.100013f0
jmp 0x100044b9
push eax
call fcn.10002350
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1128]
test eax, eax
je 0x100044ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.1000ef85
mov esp, ebp
pop ebp
ret 0x10