Function at 0x100a771
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x102416c]
and dword [ebp - 0x218], 0
and dword [ebp - 0x220], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x228], eax
jmp 0x100ac60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001354
push edi
call esi
mov ebx, eax
neg ebx
push 0x1001378
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100a7e8
test ebx, ebx
je 0x100a891
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
cmp dword [ebp + 0x10], 0
je 0x100a891
and dword [ebp - 0x210], 0
push 0x5c
push edi
call fcn.010092a5
test eax, eax
jne 0x100ac78
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010095cc
test eax, eax
je 0x100a84e
mov eax, dword [ebp - 0x21c]
push edi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], eax
call fcn.0100a68a
and dword [ebp - 0x210], 0
test ebx, ebx
je 0x100a886
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100acba
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010096de
lea ecx, [ebp - 0x210]
mov esi, eax
call fcn.01008d97
jmp 0x100ac21
lea ecx, [ebp - 0x210]
call fcn.01008d97
push 0x1001364
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100a8bd
mov ecx, dword [ebp - 0x214]
and dword [ebp - 0x224], eax
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
push 0x1001390
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100a9be
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100932d
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100ac88
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
cmp esi, ebx
jl 0x100ac88
cmp word [edi], 0x3d
jne 0x100ac83
cmp dword [ebp + 0x10], ebx
je 0x100a954
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.01009426
lea ecx, [ebp - 0x210]
mov esi, eax
mov dword [ebp - 0x210], ebx
call fcn.01008d97
cmp esi, ebx
jmp 0x100ac23
cmp dword [ebp + 0x14], ebx
jne 0x100a9a9
push 0x20006
push ebx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], ebx
call fcn.01008e0a
cmp eax, ebx
jne 0x100acac
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100a99e
cmp eax, 2
jne 0x100acaa
lea ecx, [ebp - 0x210]
call fcn.01008d97
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010096de
mov esi, eax
cmp esi, ebx
jmp 0x100ac6a
push 0x5c
push edi
call fcn.010092a5
test eax, eax
jne 0x100ac83
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100aa6b
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008e0a
test eax, eax
je 0x100aa31
push 0x20019
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008e0a
test eax, eax
je 0x100aa31
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008db5
test eax, eax
jne 0x100ac83
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
cmp word [edi], 0x3d
jne 0x100ac25
mov ecx, dword [ebp - 0x214]
push edi
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.01009426
jmp 0x100ac1f
cmp dword [ebp + 0x14], esi
jne 0x100aa92
push 0x20019
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008e0a
test eax, eax
je 0x100aa92
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x220], esi
jne 0x100aaaa
mov eax, 0x208
call fcn.0101a7e0
mov dword [ebp - 0x220], esp
push 0x104
push edi
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], esi
jne 0x100aaef
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.01009602
test eax, eax
jne 0x100aaef
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.0100963e
test eax, eax
je 0x100abc2
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
mov ebx, dword [ebp - 0x214]
push edi
mov ecx, ebx
call fcn.010096de
mov esi, eax
test esi, esi
jl 0x100ac88
cmp word [edi], 0x7b
jne 0x100ab6e
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x218]
push edi
call fcn.0100a771
mov esi, eax
test esi, esi
jl 0x100ac88
cmp dword [ebp + 0x14], 0
je 0x100ab7e
mov eax, dword [ebp - 0x228]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
push edi
mov ecx, ebx
call fcn.010096de
jmp 0x100ac66
cmp dword [ebp + 0x14], 0
jne 0x100ac6c
mov ebx, dword [ebp - 0x214]
push dword [ebp - 0x218]
mov ecx, ebx
call fcn.01009602
test eax, eax
je 0x100abb8
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.010095cc
test eax, eax
je 0x100abb1
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.0100a68a
mov ecx, ebx
jmp 0x100ac60
cmp dword [ebp + 0x14], 0
jne 0x100ac6c
lea ecx, [ebp - 0x218]
call fcn.01008d97
test eax, eax
jne 0x100ac83
cmp dword [ebp - 0x224], eax
je 0x100ac01
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x210], 0
lea ecx, [ebp - 0x210]
call fcn.01008d97
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010096de
mov esi, eax
test esi, esi
jl 0x100ac88
cmp dword [ebp + 0x10], 0
je 0x100ac6c
cmp word [edi], 0x7b
jne 0x100ac6c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100ac6c
mov ecx, dword [ebp - 0x214]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x218]
push edi
call fcn.0100a771
mov esi, eax
test esi, esi
jl 0x100ac88
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0100932d
mov esi, eax
test esi, esi
jl 0x100ac88
cmp word [edi], 0x7d
jne 0x100a7bf
jmp 0x100ac88
lea ecx, [ebp - 0x210]
call fcn.01008d97
mov esi, 0x80020009
lea ecx, [ebp - 0x218]
call fcn.01008d97
mov eax, esi
lea esp, [ebp - 0x234]
mov ecx, dword [ebp - 4]
call fcn.01019860
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x100acb8
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x210]
call fcn.01008d97
jmp 0x100ac88