Function at 0x1000ba20
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020e36
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.10010500
mov eax, dword [0x1002bea0]
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
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0eb
cmp byte [edi], 0x7d
je 0x1000c0d8
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x112c], 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 0x1000bae3
test ebx, ebx
je 0x1000bbfb
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
cmp dword [ebp + 0x10], 0
je 0x1000bbfb
mov al, byte [edi]
mov ecx, edi
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test al, al
je 0x1000bb4d
nop dword [eax]
cmp al, 0x5c
je 0x1000bb45
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x1000bb30
jmp 0x1000bb4d
test ecx, ecx
jne 0x1000c0c6
mov esi, 0x10023950
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000bbb4
add esi, 4
cmp esi, 0x10023980
jl 0x1000bb52
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1138]
push edi
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
call fcn.1000b420
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test ebx, ebx
je 0x1000bbf1
mov ebx, dword [ebp - 0x1118]
mov ecx, ebx
push edi
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
push edi
mov ecx, ebx
call fcn.1000c120
mov esi, eax
test esi, esi
js 0x1000c0d8
mov dword [ebp - 0x1134], 0
jmp 0x1000be52
mov dword [ebp - 0x1134], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x1118]
test eax, eax
jne 0x1000bc29
push edi
mov ecx, ebx
mov dword [ebp - 0x112c], eax
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
push 0x10022510
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000bd9d
lea eax, [ebp - 0x1114]
mov ecx, ebx
push eax
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
push edi
mov ecx, ebx
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
cmp byte [edi], 0x3d
jne 0x1000c0c6
cmp dword [ebp + 0x10], 0
je 0x1000bceb
mov eax, dword [ebp - 0x111c]
mov ecx, ebx
mov dword [ebp - 0x1148], eax
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x1148]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
call fcn.100072c0
mov esi, eax
mov dword [ebp - 0x1148], 0
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1140], 0
test esi, esi
js 0x1000c0d8
mov byte [ebp - 4], 0
mov dword [ebp - 0x1144], 0
jmp 0x1000be52
cmp dword [ebp + 0x14], 0
jne 0x1000bd86
cmp dword [ebp - 0x112c], 0
je 0x1000bd86
push 0x20006
push 0
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1160]
mov dword [ebp - 0x1160], 0
mov dword [ebp - 0x115c], 0
mov dword [ebp - 0x1158], 0
call fcn.1000b050
test eax, eax
jne 0x1000c0a8
mov ebx, dword [ebp - 0x1160]
lea eax, [ebp - 0x1114]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1000bd61
cmp eax, 2
jne 0x1000c090
test ebx, ebx
je 0x1000bd76
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1160], 0
mov ebx, dword [ebp - 0x1118]
mov dword [ebp - 0x115c], 0
push edi
mov ecx, ebx
call fcn.1000c120
mov esi, eax
test esi, esi
js 0x1000c0d8
jmp 0x1000c085
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x1000bdc2
cmp al, 0x5c
je 0x1000bdba
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x1000bda5
jmp 0x1000bdc2
test ecx, ecx
jne 0x1000c0c6
cmp dword [ebp + 0x10], 0
je 0x1000bea6
mov esi, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1128]
push 0x2001f
push edi
push esi
call fcn.1000b050
test eax, eax
je 0x1000be20
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.1000b050
test eax, eax
je 0x1000be20
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x1128]
call fcn.10008790
test eax, eax
jne 0x1000c0cd
push edi
mov ecx, ebx
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
cmp byte [edi], 0x3d
jne 0x1000be52
push edi
push 0
lea eax, [ebp - 0x1128]
mov ecx, ebx
push eax
call fcn.100072c0
mov esi, eax
test esi, esi
js 0x1000c0d8
cmp byte [edi], 0x7b
jne 0x1000c085
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000be60
sub ecx, edx
cmp ecx, 1
jne 0x1000c085
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x1128]
push edi
call fcn.1000ba20
mov esi, eax
test esi, esi
js 0x1000c0d8
push edi
mov ecx, ebx
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
jmp 0x1000c085
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1000bec8
push 0x20019
push edi
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1128]
call fcn.1000b050
mov ebx, eax
jmp 0x1000becd
mov ebx, 2
test ebx, ebx
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push edi
mov dword [ebp - 0x113c], eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.10015d87
push eax
call fcn.10007ad0
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.1000c120
mov esi, eax
test esi, esi
js 0x1000c0d8
cmp byte [edi], 0x7b
jne 0x1000bf83
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000bf32
sub ecx, edx
cmp ecx, 1
jne 0x1000bf83
push dword [ebp - 0x113c]
mov ecx, dword [ebp - 0x1118]
push 0
push dword [ebp - 0x1128]
push edi
call fcn.1000ba20
mov esi, eax
test esi, esi
jns 0x1000bf6d
cmp dword [ebp - 0x113c], 0
je 0x1000c0d8
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.1000aee0
mov esi, eax
test esi, esi
js 0x1000c0d8
cmp ebx, 2
je 0x1000c085
test ebx, ebx
je 0x1000bfa0
cmp dword [ebp + 0x14], 0
jne 0x1000c085
push ebx
jmp 0x1000c0ce
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x1118]
je 0x1000bff7
push dword [ebp - 0x1128]
mov ecx, ebx
call fcn.1000a690
test eax, eax
je 0x1000bff7
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.10008620
test eax, eax
je 0x1000c085
cmp dword [ebp - 0x112c], 0
je 0x1000c085
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1128]
call fcn.1000b420
jmp 0x1000c085
push dword [ebp - 0x1128]
mov ecx, ebx
call fcn.1000a690
mov ecx, dword [ebp - 0x1128]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x1000c021
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 0x1000c0cd
test ebx, ebx
jne 0x1000c085
cmp dword [ebp - 0x112c], ebx
je 0x1000c085
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1154]
mov dword [ebp - 0x1154], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], ebx
call fcn.10008960
mov dword [ebp - 0x1154], ebx
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], ebx
test eax, eax
jne 0x1000c0cd
mov dword [ebp - 0x1150], eax
cmp byte [edi], 0x7d
jne 0x1000bab0
jmp 0x1000c0d8
push eax
call fcn.10007b90
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1000c0d8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000c0d8
push eax
call fcn.10007b90
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x1160]
test eax, eax
je 0x1000c0d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000c0d8
mov esi, 0x80020009
jmp 0x1000c0d8
push eax
call fcn.10007b90
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1128]
test eax, eax
je 0x1000c0e9
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.1001025d
mov esp, ebp
pop ebp
ret 0x10