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

Disassembly:
mov eax, 0x108c0ff
call fcn.01026ef8
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.010184db
jmp 0x1018fec
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 0x1018e0b
test ebx, ebx
je 0x1018ec8
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
cmp dword [ebp + 0x10], 0
je 0x1018ec8
and dword [ebp - 0x21c], 0
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.01018453
test eax, eax
jne 0x10192af
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101877c
test eax, eax
je 0x1018e75
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.01018c8c
and dword [ebp - 0x21c], 0
test ebx, ebx
je 0x1018eb9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192fb
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101888e
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x1019301
mov byte [ebp - 4], 0
call fcn.01017f43
jmp 0x101925c
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.01017f43
push 0x1001604
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1018ef4
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x230], eax
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
push 0x1001630
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1018ff5
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.010184db
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x10192bf
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
cmp esi, ebx
jl 0x10192bf
cmp word [edi], 0x3d
jne 0x10192ba
cmp dword [ebp + 0x10], ebx
je 0x1018f8b
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.010185d4
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.01017f43
cmp esi, ebx
jmp 0x101925a
cmp dword [ebp + 0x14], ebx
jne 0x1018fe0
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.01017fb6
cmp eax, ebx
jne 0x10192ed
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1018fd5
cmp eax, 2
jne 0x10192eb
lea ecx, [ebp - 0x21c]
call fcn.01017f43
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101888e
mov esi, eax
cmp esi, ebx
jmp 0x10192a1
push 0x5c
push edi
call fcn.01018453
test eax, eax
jne 0x10192ba
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10190a2
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01017fb6
test eax, eax
je 0x1019068
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01017fb6
test eax, eax
je 0x1019068
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.01017f61
test eax, eax
jne 0x10192ba
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
cmp word [edi], 0x3d
jne 0x101925c
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.010185d4
jmp 0x1019256
cmp dword [ebp + 0x14], esi
jne 0x10190c9
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01017fb6
test eax, eax
je 0x10190c9
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], esi
jne 0x10190e1
mov eax, 0x208
call fcn.01026f20
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 0x1019126
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.010187b2
test eax, eax
jne 0x1019126
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.010187ee
test eax, eax
je 0x10191f9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.0101888e
mov esi, eax
test esi, esi
jl 0x10192bf
cmp word [edi], 0x7b
jne 0x10191a5
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.01018d86
mov esi, eax
test esi, esi
jl 0x10192bf
cmp dword [ebp + 0x14], 0
je 0x10191b5
mov eax, dword [ebp - 0x234]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
push edi
mov ecx, ebx
call fcn.0101888e
jmp 0x101929d
cmp dword [ebp + 0x14], 0
jne 0x10192a3
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.010187b2
test eax, eax
je 0x10191ef
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.0101877c
test eax, eax
je 0x10191e8
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.01018c8c
mov ecx, ebx
jmp 0x1019297
cmp dword [ebp + 0x14], 0
jne 0x10192a3
lea ecx, [ebp - 0x224]
call fcn.01017f43
test eax, eax
jne 0x10192ba
cmp dword [ebp - 0x230], eax
je 0x1019238
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.01017f43
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
mov ecx, dword [ebp - 0x220]
push edi
call fcn.0101888e
mov esi, eax
test esi, esi
jl 0x10192bf
cmp dword [ebp + 0x10], 0
je 0x10192a3
cmp word [edi], 0x7b
jne 0x10192a3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10192a3
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.01018d86
mov esi, eax
test esi, esi
jl 0x10192bf
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010184db
mov esi, eax
test esi, esi
jl 0x10192bf
cmp word [edi], 0x7d
jne 0x1018de2
jmp 0x10192bf
lea ecx, [ebp - 0x21c]
call fcn.01017f43
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.01017f43
mov eax, esi
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0101cf4f
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x10192f9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.01017f43
jmp 0x10192bf