Function at 0x100a839
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 0x100ad28
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001364
push edi
call esi
mov ebx, eax
neg ebx
push 0x1001388
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100a8b0
test ebx, ebx
je 0x100a959
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
cmp dword [ebp + 0x10], 0
je 0x100a959
and dword [ebp - 0x210], 0
push 0x5c
push edi
call fcn.0100936d
test eax, eax
jne 0x100ad40
mov ecx, dword [ebp - 0x214]
push edi
call fcn.01009694
test eax, eax
je 0x100a916
mov eax, dword [ebp - 0x21c]
push edi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], eax
call fcn.0100a752
and dword [ebp - 0x210], 0
test ebx, ebx
je 0x100a94e
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad82
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010097a6
lea ecx, [ebp - 0x210]
mov esi, eax
call fcn.01008e5f
jmp 0x100ace9
lea ecx, [ebp - 0x210]
call fcn.01008e5f
push 0x1001374
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100a985
mov ecx, dword [ebp - 0x214]
and dword [ebp - 0x224], eax
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
push 0x10013a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100aa86
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.010093f5
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100ad50
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
cmp esi, ebx
jl 0x100ad50
cmp word [edi], 0x3d
jne 0x100ad4b
cmp dword [ebp + 0x10], ebx
je 0x100aa1c
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.010094ee
lea ecx, [ebp - 0x210]
mov esi, eax
mov dword [ebp - 0x210], ebx
call fcn.01008e5f
cmp esi, ebx
jmp 0x100aceb
cmp dword [ebp + 0x14], ebx
jne 0x100aa71
push 0x20006
push ebx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], ebx
call fcn.01008ed2
cmp eax, ebx
jne 0x100ad74
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100aa66
cmp eax, 2
jne 0x100ad72
lea ecx, [ebp - 0x210]
call fcn.01008e5f
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010097a6
mov esi, eax
cmp esi, ebx
jmp 0x100ad32
push 0x5c
push edi
call fcn.0100936d
test eax, eax
jne 0x100ad4b
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100ab33
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008ed2
test eax, eax
je 0x100aaf9
push 0x20019
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008ed2
test eax, eax
je 0x100aaf9
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.01008e7d
test eax, eax
jne 0x100ad4b
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
cmp word [edi], 0x3d
jne 0x100aced
mov ecx, dword [ebp - 0x214]
push edi
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.010094ee
jmp 0x100ace7
cmp dword [ebp + 0x14], esi
jne 0x100ab5a
push 0x20019
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.01008ed2
test eax, eax
je 0x100ab5a
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x220], esi
jne 0x100ab72
mov eax, 0x208
call fcn.0101a9d0
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 0x100abb7
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.010096ca
test eax, eax
jne 0x100abb7
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.01009706
test eax, eax
je 0x100ac8a
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
mov ebx, dword [ebp - 0x214]
push edi
mov ecx, ebx
call fcn.010097a6
mov esi, eax
test esi, esi
jl 0x100ad50
cmp word [edi], 0x7b
jne 0x100ac36
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x218]
push edi
call fcn.0100a839
mov esi, eax
test esi, esi
jl 0x100ad50
cmp dword [ebp + 0x14], 0
je 0x100ac46
mov eax, dword [ebp - 0x228]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
push edi
mov ecx, ebx
call fcn.010097a6
jmp 0x100ad2e
cmp dword [ebp + 0x14], 0
jne 0x100ad34
mov ebx, dword [ebp - 0x214]
push dword [ebp - 0x218]
mov ecx, ebx
call fcn.010096ca
test eax, eax
je 0x100ac80
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.01009694
test eax, eax
je 0x100ac79
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.0100a752
mov ecx, ebx
jmp 0x100ad28
cmp dword [ebp + 0x14], 0
jne 0x100ad34
lea ecx, [ebp - 0x218]
call fcn.01008e5f
test eax, eax
jne 0x100ad4b
cmp dword [ebp - 0x224], eax
je 0x100acc9
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.01008e5f
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010097a6
mov esi, eax
test esi, esi
jl 0x100ad50
cmp dword [ebp + 0x10], 0
je 0x100ad34
cmp word [edi], 0x7b
jne 0x100ad34
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100ad34
mov ecx, dword [ebp - 0x214]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x218]
push edi
call fcn.0100a839
mov esi, eax
test esi, esi
jl 0x100ad50
mov ecx, dword [ebp - 0x214]
push edi
call fcn.010093f5
mov esi, eax
test esi, esi
jl 0x100ad50
cmp word [edi], 0x7d
jne 0x100a887
jmp 0x100ad50
lea ecx, [ebp - 0x210]
call fcn.01008e5f
mov esi, 0x80020009
lea ecx, [ebp - 0x218]
call fcn.01008e5f
mov eax, esi
lea esp, [ebp - 0x234]
mov ecx, dword [ebp - 4]
call fcn.01019a47
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x100ad80
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x210]
call fcn.01008e5f
jmp 0x100ad50