Function at 0x1009bb00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, ecx
mov dword [ebp - 0x2224], 0
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2214], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x2210], eax
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 0
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c273
cmp word [edi], 0x7d
push ebx
je 0x1009c25f
jmp 0x1009bb70
push str.Delete
push edi
mov dword [ebp - 0x2218], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x1020e4d8
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1009bba3
test ebx, ebx
je 0x1009bcbf
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
cmp dword [ebp + 0x10], 0
je 0x1009bcbf
movzx ecx, word [edi]
mov eax, edi
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
test cx, cx
je 0x1009bc11
mov edx, ecx
lea ecx, [ecx]
cmp dx, 0x5c
je 0x1009bc09
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x1009bbf0
jmp 0x1009bc11
test eax, eax
jne 0x1009c21d
mov esi, 0x1020e734
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1009bc78
add esi, 4
cmp esi, 0x1020e764
jl 0x1009bc16
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2230]
push edi
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
call fcn.1009b680
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
test ebx, ebx
je 0x1009bcb5
mov ebx, dword [ebp - 0x2210]
mov ecx, ebx
push edi
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c22f
push edi
mov ecx, ebx
call fcn.1009c290
mov esi, eax
test esi, esi
js 0x1009c22f
mov dword [ebp - 0x222c], 0
jmp 0x1009bfcd
mov dword [ebp - 0x222c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2210]
test eax, eax
jne 0x1009bced
push edi
mov ecx, ebx
mov dword [ebp - 0x2218], eax
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
push 0x1020e4d0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1009be51
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
push edi
mov ecx, ebx
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
cmp word [edi], 0x3d
jne 0x1009c228
cmp dword [ebp + 0x10], 0
je 0x1009bda9
mov eax, dword [ebp - 0x2214]
mov ecx, ebx
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x220c]
push edi
push eax
lea eax, [ebp - 0x2250]
mov dword [ebp - 0x224c], 0
push eax
mov dword [ebp - 0x2248], 0
call fcn.1009a860
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
jns 0x1009bfcd
lea ecx, [ebp - 0x2250]
call fcn.1009a780
jmp 0x1009c25f
cmp dword [ebp + 0x14], 0
jne 0x1009be3a
cmp dword [ebp - 0x2218], 0
je 0x1009be3a
push 0x20006
push 0
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2244]
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
call fcn.1009b260
test eax, eax
jne 0x1009c23c
mov esi, dword [ebp - 0x2244]
lea eax, [ebp - 0x220c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1009be1b
cmp eax, 2
jne 0x1009c23c
test esi, esi
je 0x1009be30
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
push edi
mov ecx, ebx
call fcn.1009c290
mov esi, eax
test esi, esi
js 0x1009c25f
jmp 0x1009c211
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x1009be81
mov edx, ecx
lea ecx, [ecx]
cmp dx, 0x5c
je 0x1009be79
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x1009be60
jmp 0x1009be81
test eax, eax
jne 0x1009c228
cmp dword [ebp + 0x10], 0
je 0x1009c02c
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2224]
push 0x2001f
push edi
push esi
call fcn.1009b260
test eax, eax
je 0x1009bf9a
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2224]
call fcn.1009b260
test eax, eax
je 0x1009bf9a
mov esi, dword [ebp - 0x221c]
mov dword [ebp - 0x2218], 0
test esi, esi
je 0x1009bf3b
cmp dword [esi], 0
je 0x1009bf2e
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1009bef4
mov eax, 1
jmp 0x1009bf63
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1009bf34
push 0
push dword [esi]
lea ecx, [ebp - 0x2238]
push ecx
lea ecx, [ebp - 0x2218]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x2214]
call eax
jmp 0x1009bf63
cmp dword [esi + 4], 0
jne 0x1009bf3b
mov eax, 1
jmp 0x1009bf63
lea eax, [ebp - 0x2238]
push eax
lea eax, [ebp - 0x2218]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009c254
mov ecx, dword [ebp - 0x2224]
test ecx, ecx
je 0x1009bf7c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2218]
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2220], 0
test eax, eax
jne 0x1009c254
push edi
mov ecx, ebx
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
cmp word [edi], 0x3d
jne 0x1009bfcd
push edi
push 0
lea eax, [ebp - 0x2224]
mov ecx, ebx
push eax
call fcn.1009a860
mov esi, eax
test esi, esi
js 0x1009c25f
cmp word [edi], 0x7b
jne 0x1009c211
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009bfe0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1009c211
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2224]
push edi
call fcn.1009bb00
mov esi, eax
test esi, esi
js 0x1009c25f
push edi
mov ecx, ebx
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
jmp 0x1009c211
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1009c04e
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2224]
call fcn.1009b260
mov ebx, eax
jmp 0x1009c053
mov ebx, 2
mov dword [ebp - 0x2234], esi
test ebx, ebx
je 0x1009c067
mov dword [ebp - 0x2234], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.101ef1c0
mov ecx, dword [ebp - 0x2210]
add esp, 0x10
push edi
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.1009c290
mov esi, eax
test esi, esi
js 0x1009c25f
cmp word [edi], 0x7b
jne 0x1009c10c
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009c0b5
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1009c10c
push dword [ebp - 0x2234]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2224]
push edi
call fcn.1009bb00
mov esi, eax
test esi, esi
jns 0x1009c0f6
cmp dword [ebp - 0x2234], 0
je 0x1009c25f
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.1009b0a0
mov esi, eax
test esi, esi
js 0x1009c25f
cmp ebx, 2
je 0x1009c211
test ebx, ebx
je 0x1009c129
cmp dword [ebp + 0x14], 0
jne 0x1009c211
push ebx
jmp 0x1009c255
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x2210]
je 0x1009c180
push dword [ebp - 0x2224]
mov ecx, ebx
call fcn.1009b050
test eax, eax
je 0x1009c180
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.1009ae20
test eax, eax
je 0x1009c211
cmp dword [ebp - 0x2218], 0
je 0x1009c211
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2224]
call fcn.1009b680
jmp 0x1009c211
push dword [ebp - 0x2224]
mov ecx, ebx
call fcn.1009b050
mov ecx, dword [ebp - 0x2224]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x1009c1aa
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2220], 0
test eax, eax
jne 0x1009c254
cmp dword [ebp - 0x2218], eax
je 0x1009c211
test ebx, ebx
jne 0x1009c211
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.1009aef0
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], 0
mov ebx, eax
call fcn.1009a780
test ebx, ebx
jne 0x1009c123
cmp word [edi], 0x7d
jne 0x1009bb70
jmp 0x1009c25f
lea ecx, [ebp - 0x2230]
call fcn.1009a780
mov esi, 0x80020009
jmp 0x1009c25f
lea ecx, [ebp - 0x2230]
call fcn.1009a780
jmp 0x1009c25f
push eax
call fcn.1009ae00
add esp, 4
lea ecx, [ebp - 0x2244]
mov esi, eax
call fcn.1009a780
jmp 0x1009c25f
push eax
call fcn.1009ae00
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2224]
pop ebx
test eax, eax
je 0x1009c271
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x10