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

Disassembly:
mov eax, 0x108c26a
call fcn.01027038
sub esp, 0x228
mov eax, dword [0x10a1e18]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], eax
call fcn.0101854b
jmp 0x101905c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10015f4
push edi
call esi
mov ebx, eax
neg ebx
push 0x1001618
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1018e7b
test ebx, ebx
je 0x1018f38
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
cmp dword [ebp + 0x10], 0
je 0x1018f38
and dword [ebp - 0x21c], 0
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.010184c3
test eax, eax
jne 0x101931f
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010187ec
test eax, eax
je 0x1018ee5
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.01018cfc
and dword [ebp - 0x21c], 0
test ebx, ebx
je 0x1018f29
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101936b
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010188fe
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x1019371
mov byte [ebp - 4], 0
call fcn.01017fb3
jmp 0x10192cc
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.01017fb3
push 0x1001604
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1018f64
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x230], eax
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
push 0x1001630
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1019065
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.0101854b
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x101932f
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
cmp esi, ebx
jl 0x101932f
cmp word [edi], 0x3d
jne 0x101932a
cmp dword [ebp + 0x10], ebx
je 0x1018ffb
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.01018644
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.01017fb3
cmp esi, ebx
jmp 0x10192ca
cmp dword [ebp + 0x14], ebx
jne 0x1019050
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.01018026
cmp eax, ebx
jne 0x101935d
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1019045
cmp eax, 2
jne 0x101935b
lea ecx, [ebp - 0x21c]
call fcn.01017fb3
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010188fe
mov esi, eax
cmp esi, ebx
jmp 0x1019311
push 0x5c
push edi
call fcn.010184c3
test eax, eax
jne 0x101932a
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1019112
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01018026
test eax, eax
je 0x10190d8
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01018026
test eax, eax
je 0x10190d8
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01017fd1
test eax, eax
jne 0x101932a
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
cmp word [edi], 0x3d
jne 0x10192cc
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.01018644
jmp 0x10192c6
cmp dword [ebp + 0x14], esi
jne 0x1019139
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01018026
test eax, eax
je 0x1019139
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], esi
jne 0x1019151
mov eax, 0x208
call fcn.01027060
mov dword [ebp - 0x22c], esp
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], esi
jne 0x1019196
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.01018822
test eax, eax
jne 0x1019196
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.0101885e
test eax, eax
je 0x1019269
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.010188fe
mov esi, eax
test esi, esi
jl 0x101932f
cmp word [edi], 0x7b
jne 0x1019215
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.01018df6
mov esi, eax
test esi, esi
jl 0x101932f
cmp dword [ebp + 0x14], 0
je 0x1019225
mov eax, dword [ebp - 0x234]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
push edi
mov ecx, ebx
call fcn.010188fe
jmp 0x101930d
cmp dword [ebp + 0x14], 0
jne 0x1019313
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.01018822
test eax, eax
je 0x101925f
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.010187ec
test eax, eax
je 0x1019258
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.01018cfc
mov ecx, ebx
jmp 0x1019307
cmp dword [ebp + 0x14], 0
jne 0x1019313
lea ecx, [ebp - 0x224]
call fcn.01017fb3
test eax, eax
jne 0x101932a
cmp dword [ebp - 0x230], eax
je 0x10192a8
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x21c]
call fcn.01017fb3
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010188fe
mov esi, eax
test esi, esi
jl 0x101932f
cmp dword [ebp + 0x10], 0
je 0x1019313
cmp word [edi], 0x7b
jne 0x1019313
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1019313
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.01018df6
mov esi, eax
test esi, esi
jl 0x101932f
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101854b
mov esi, eax
test esi, esi
jl 0x101932f
cmp word [edi], 0x7d
jne 0x1018e52
jmp 0x101932f
lea ecx, [ebp - 0x21c]
call fcn.01017fb3
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.01017fb3
mov eax, esi
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0101cfd1
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x1019369
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.01017fb3
jmp 0x101932f