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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1036f44]
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 0x101f53c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10015d4
push edi
call esi
mov ebx, eax
neg ebx
push 0x10015f8
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x101f0c4
test ebx, ebx
je 0x101f16d
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
cmp dword [ebp + 0x10], 0
je 0x101f16d
and dword [ebp - 0x210], 0
push 0x5c
push edi
call fcn.0101e496
test eax, eax
jne 0x101f554
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e7bf
test eax, eax
je 0x101f12a
mov eax, dword [ebp - 0x21c]
push edi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], eax
call fcn.0101ee3a
and dword [ebp - 0x210], 0
test ebx, ebx
je 0x101f162
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f596
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e8d1
lea ecx, [ebp - 0x210]
mov esi, eax
call fcn.0101e16f
jmp 0x101f4fd
lea ecx, [ebp - 0x210]
call fcn.0101e16f
push 0x10015e4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x101f199
mov ecx, dword [ebp - 0x214]
and dword [ebp - 0x224], eax
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
push 0x1001610
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x101f29a
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0101e51e
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x101f564
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
cmp esi, ebx
jl 0x101f564
cmp word [edi], 0x3d
jne 0x101f55f
cmp dword [ebp + 0x10], ebx
je 0x101f230
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.0101e617
lea ecx, [ebp - 0x210]
mov esi, eax
mov dword [ebp - 0x210], ebx
call fcn.0101e16f
cmp esi, ebx
jmp 0x101f4ff
cmp dword [ebp + 0x14], ebx
jne 0x101f285
push 0x20006
push ebx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], ebx
call fcn.0101e1e2
cmp eax, ebx
jne 0x101f588
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x101f27a
cmp eax, 2
jne 0x101f586
lea ecx, [ebp - 0x210]
call fcn.0101e16f
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e8d1
mov esi, eax
cmp esi, ebx
jmp 0x101f546
push 0x5c
push edi
call fcn.0101e496
test eax, eax
jne 0x101f55f
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x101f347
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.0101e1e2
test eax, eax
je 0x101f30d
push 0x20019
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.0101e1e2
test eax, eax
je 0x101f30d
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.0101e18d
test eax, eax
jne 0x101f55f
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
cmp word [edi], 0x3d
jne 0x101f501
mov ecx, dword [ebp - 0x214]
push edi
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0101e617
jmp 0x101f4fb
cmp dword [ebp + 0x14], esi
jne 0x101f36e
push 0x20019
push edi
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
call fcn.0101e1e2
test eax, eax
je 0x101f36e
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x220], esi
jne 0x101f386
mov eax, 0x208
call fcn.01024e00
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 0x101f3cb
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.0101e7f5
test eax, eax
jne 0x101f3cb
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.0101e831
test eax, eax
je 0x101f49e
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
mov ebx, dword [ebp - 0x214]
push edi
mov ecx, ebx
call fcn.0101e8d1
mov esi, eax
test esi, esi
jl 0x101f564
cmp word [edi], 0x7b
jne 0x101f44a
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x218]
push edi
call fcn.0101f04d
mov esi, eax
test esi, esi
jl 0x101f564
cmp dword [ebp + 0x14], 0
je 0x101f45a
mov eax, dword [ebp - 0x228]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
push edi
mov ecx, ebx
call fcn.0101e8d1
jmp 0x101f542
cmp dword [ebp + 0x14], 0
jne 0x101f548
mov ebx, dword [ebp - 0x214]
push dword [ebp - 0x218]
mov ecx, ebx
call fcn.0101e7f5
test eax, eax
je 0x101f494
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.0101e7bf
test eax, eax
je 0x101f48d
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.0101ee3a
mov ecx, ebx
jmp 0x101f53c
cmp dword [ebp + 0x14], 0
jne 0x101f548
lea ecx, [ebp - 0x218]
call fcn.0101e16f
test eax, eax
jne 0x101f55f
cmp dword [ebp - 0x224], eax
je 0x101f4dd
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.0101e16f
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e8d1
mov esi, eax
test esi, esi
jl 0x101f564
cmp dword [ebp + 0x10], 0
je 0x101f548
cmp word [edi], 0x7b
jne 0x101f548
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x101f548
mov ecx, dword [ebp - 0x214]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x218]
push edi
call fcn.0101f04d
mov esi, eax
test esi, esi
jl 0x101f564
mov ecx, dword [ebp - 0x214]
push edi
call fcn.0101e51e
mov esi, eax
test esi, esi
jl 0x101f564
cmp word [edi], 0x7d
jne 0x101f09b
jmp 0x101f564
lea ecx, [ebp - 0x210]
call fcn.0101e16f
mov esi, 0x80020009
lea ecx, [ebp - 0x218]
call fcn.0101e16f
mov eax, esi
lea esp, [ebp - 0x234]
mov ecx, dword [ebp - 4]
call fcn.01024a32
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x101f594
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x210]
call fcn.0101e16f
jmp 0x101f564