Function at 0x10026f3
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x1005004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x830], ebx
call fcn.01001960
test eax, eax
jl 0x1002820
push 0x10012c0
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100199a
test eax, eax
jl 0x1002820
mov eax, 0x1001378
cmp dword [ebp + 0x10], ebx
jne 0x100276f
mov eax, 0x1001208
push edi
push 0x10012f0
push eax
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.01001a30
add esp, 0x14
test eax, eax
jl 0x1002820
lea eax, [ebp - 0x828]
push eax
push 0x103
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x61c]
push eax
push 0x80000002
call ebx
test eax, eax
je 0x10027c2
cmp eax, 5
jne 0x100296b
jmp 0x10027e6
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x828]
call edi
xor ecx, ecx
cmp eax, ecx
je 0x1002862
cmp eax, 5
jne 0x10027ed
push 0x3f5
jmp 0x1002825
cmp eax, 2
jne 0x1002841
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x824]
push eax
call fcn.01001960
test eax, eax
jl 0x1002820
push 0x10012c0
push esi
lea eax, [ebp - 0x824]
push eax
call fcn.0100199a
test eax, eax
jge 0x1002830
push 0x409
call fcn.01001b8b
pop ecx
jmp 0x1002975
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x828]
call edi
xor ecx, ecx
cmp eax, ecx
je 0x1002862
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x3f8
call fcn.01001b8b
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x830]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10028ae
lea eax, [ebp - 0x61c]
push eax
push 0x41a
call fcn.01001b8b
pop ecx
pop ecx
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x828], 0
jmp 0x100296b
cmp dword [ebp - 0x830], 0
jne 0x100296b
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x828], esi
mov eax, 0x100139c
cmp dword [ebp + 0x10], esi
jne 0x10028de
mov eax, 0x1001394
push 0x10012f0
push eax
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.01001a30
add esp, 0x10
test eax, eax
jge 0x1002908
push 0x409
call fcn.01001b8b
jmp 0x1002939
lea eax, [ebp - 0x828]
push eax
push 0x102
push esi
lea eax, [ebp - 0x61c]
push eax
push 0x80000002
call ebx
test eax, eax
je 0x100293c
lea eax, [ebp - 0x61c]
push eax
push 0x3f6
call fcn.01001b8b
pop ecx
pop ecx
jmp 0x100296b
push dword [ebp - 0x834]
push dword [ebp - 0x828]
call fcn.0100191a
test eax, eax
je 0x100296b
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x834]
push 0x3f7
call fcn.01001b8b
add esp, 0xc
mov dword [ebp - 0x82c], 1
cmp dword [ebp - 0x828], 0
pop edi
pop esi
pop ebx
je 0x100298d
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x82c]
xor ecx, ebp
call fcn.01003f01
leave
ret 0xc