Function at 0x10018b62
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.100588e0
push 0xffffffffffffffff
push 0x100b9669
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 4], eax
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
push 0x7d
pop eax
cmp word [edi], ax
je 0x10019075
xor eax, eax
inc eax
push 0x100cd088
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
neg eax
push 0x100cd030
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x10018c0f
test esi, esi
je 0x10018cae
push edi
mov ecx, ebx
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
xor esi, esi
cmp dword [ebp + 0x221c], esi
je 0x10018cb0
push 0x5c
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.10019318
pop ecx
pop ecx
test eax, eax
jne 0x10019068
push edi
mov ecx, ebx
call fcn.10017e01
test eax, eax
je 0x10018c6e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x30], eax
call fcn.100186b6
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x14], esi
je 0x10018ca4
push edi
mov ecx, ebx
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019063
push edi
mov ecx, ebx
call fcn.10075920
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.10017ea6
test esi, esi
js 0x10019075
jmp 0x10018ffd
lea ecx, [ebp - 0x30]
call fcn.10017ea6
jmp 0x10018cb0
xor esi, esi
push 0x100cd060
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x10018cd5
push edi
mov ecx, ebx
mov dword [ebp - 0x18], esi
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
push 0x100cd014
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x10018dcb
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
push edi
mov ecx, ebx
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10019070
cmp dword [ebp + 0x221c], 0
je 0x10018d69
xor eax, eax
mov ecx, ebx
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10017821
mov esi, eax
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
test esi, esi
js 0x100190b0
mov byte [ebp - 4], al
jmp 0x10018ff8
cmp dword [ebp + 0x2220], 0
jne 0x10018dbe
cmp dword [ebp - 0x18], 0
je 0x10018dbe
xor eax, eax
lea ecx, [ebp - 0x50]
push 0x20006
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call fcn.10075920
test eax, eax
jne 0x100190a4
lea eax, [ebp]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10018db6
cmp eax, 2
jne 0x100190a4
lea ecx, [ebp - 0x50]
call fcn.10017ea6
push edi
mov ecx, ebx
call fcn.10075920
jmp 0x1001904c
push 0x5c
push edi
call fcn.10019318
pop ecx
pop ecx
test eax, eax
jne 0x10019070
cmp dword [ebp + 0x221c], eax
je 0x10018e5f
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push 0x2001f
push edi
push esi
call fcn.10075920
test eax, eax
je 0x10018e2b
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.10075920
test eax, eax
je 0x10018e2b
xor eax, eax
lea ecx, [ebp - 0x24]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.10075920
test eax, eax
jne 0x10018f47
push edi
mov ecx, ebx
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10018ffd
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10017821
mov esi, eax
jmp 0x10018c97
cmp dword [ebp + 0x2220], 0
jne 0x10018e7b
push 0x20019
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.10075920
jmp 0x10018e7e
push 2
pop eax
mov ecx, dword [ebp + 0x2220]
test eax, eax
push 1
mov dword [ebp - 0x14], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp + 0x2000]
push edi
push 0x104
push eax
mov dword [ebp - 0x34], ecx
call fcn.10075920
push eax
call fcn.10004a28
add esp, 0x14
mov ecx, ebx
push edi
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
push edi
mov ecx, ebx
call fcn.10075920
mov esi, eax
test esi, esi
js 0x10019075
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10018f2a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x10018ee0
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x10018f2a
push dword [ebp - 0x34]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x24]
push edi
call fcn.10018b62
mov esi, eax
test esi, esi
jns 0x10018f18
cmp dword [ebp - 0x34], 0
je 0x10019075
push edi
mov ecx, ebx
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x10019052
test eax, eax
je 0x10018f55
cmp dword [ebp + 0x2220], 0
jne 0x10019052
push eax
call fcn.10017dd5
pop ecx
mov esi, eax
jmp 0x10019075
cmp dword [ebp + 0x2220], 0
je 0x10018fa0
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.10075920
test eax, eax
je 0x10018fa0
lea eax, [ebp + 0x2000]
mov ecx, ebx
push eax
call fcn.10017e01
test eax, eax
je 0x10019052
cmp dword [ebp - 0x18], 0
je 0x10019052
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.100186b6
jmp 0x10019052
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.10075920
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.10017ea6
test eax, eax
jne 0x10018f47
cmp dword [ebp - 0x18], eax
je 0x10019052
cmp dword [ebp - 0x14], eax
jne 0x10019052
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x2000]
push eax
call fcn.10017f3e
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
test eax, eax
jne 0x100190b7
lea ecx, [ebp - 0x5c]
call fcn.10017ea6
cmp dword [ebp + 0x221c], 0
je 0x10019052
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10019052
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x10019013
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x10019055
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.10018b62
mov esi, eax
test esi, esi
js 0x10019075
push edi
mov ecx, ebx
call fcn.100182ca
mov esi, eax
test esi, esi
js 0x10019075
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [edi], cx
jne 0x10018be0
jmp 0x10019075
lea ecx, [ebp - 0x30]
jmp 0x100190b0
lea ecx, [ebp - 0x30]
call fcn.10017ea6
mov esi, 0x80020009
lea ecx, [ebp - 0x24]
call fcn.10017ea6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.100587af
add ebp, 0x220c
leave
ret 0x10
push eax
call fcn.10017dd5
pop ecx
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.10017ea6
jmp 0x10019075
push eax
call fcn.10017dd5
pop ecx
lea ecx, [ebp - 0x5c]
jmp 0x100190ae