Function at 0x1001bb16
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.1003b1e0
push 0xffffffffffffffff
push 0x10068ea7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100be114]
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 eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c091
jmp 0x1001c046
push 0x1007e29c
push edi
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x1007e270
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001bbc1
test ebx, ebx
je 0x1001bc55
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
xor esi, esi
cmp dword [ebp + 0x221c], esi
je 0x1001bc57
push 0x5c
push edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
call fcn.1001c295
pop ecx
pop ecx
test eax, eax
jne 0x1001c07e
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1001ae2b
test eax, eax
je 0x1001bc1b
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
call fcn.1001b633
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x1001bc50
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
push edi
mov ecx, ebx
call fcn.1001c200
mov esi, eax
test esi, esi
js 0x1001c083
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x1001be5b
mov dword [ebp - 0x34], esi
jmp 0x1001bc57
xor esi, esi
push 0x1007e288
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x10]
test eax, eax
jne 0x1001bc7f
push edi
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
push 0x1007e268
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001bd8a
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
push edi
mov ecx, ebx
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1001c07e
cmp dword [ebp + 0x221c], 0
je 0x1001bd11
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.1001a946
mov esi, eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
test esi, esi
js 0x1001c083
mov byte [ebp - 4], al
mov dword [ebp - 0x4c], eax
jmp 0x1001be5b
cmp dword [ebp + 0x2220], 0
jne 0x1001bd73
cmp dword [ebp - 0x14], 0
je 0x1001bd73
xor esi, esi
lea ecx, [ebp - 0x44]
push 0x20006
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call fcn.1001b2cc
test eax, eax
jne 0x1001c064
mov ebx, dword [ebp - 0x44]
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1001bd5f
cmp eax, 2
jne 0x1001c054
test ebx, ebx
je 0x1001bd6d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], esi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x40], esi
push edi
mov ecx, ebx
call fcn.1001c200
mov esi, eax
test esi, esi
js 0x1001c083
jmp 0x1001c046
push 0x5c
push edi
call fcn.1001c295
pop ecx
pop ecx
test eax, eax
jne 0x1001c07e
cmp dword [ebp + 0x221c], eax
je 0x1001beb0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push 0x2001f
push edi
push esi
call fcn.1001b2cc
test eax, eax
je 0x1001be28
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.1001b2cc
test eax, eax
je 0x1001be28
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x54]
push eax
xor edx, edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push eax
push edx
push 0x2001f
push edx
push edx
push edx
push edi
push esi
test ecx, ecx
je 0x1001bdf7
call fcn.1001b73f
jmp 0x1001bdfd
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001bf9b
xor esi, esi
mov eax, esi
cmp dword [ebp - 0x24], eax
je 0x1001be17
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
test eax, eax
jne 0x1001bf9b
push edi
mov ecx, ebx
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1001be5b
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001a946
mov esi, eax
test esi, esi
js 0x1001c083
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1001c046
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x58]
jne 0x1001be6c
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1001c046
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.1001bb16
mov esi, eax
test esi, esi
js 0x1001c083
push edi
mov ecx, ebx
call fcn.1001b1ad
jmp 0x1001bd7b
cmp dword [ebp + 0x2220], 0
jne 0x1001becc
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.1001b2cc
jmp 0x1001becf
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push edi
cmove ecx, dword [ebp + 0x2220]
lea eax, [ebp + 0x2000]
push 0x104
push eax
mov dword [ebp - 0x2c], ecx
call fcn.100412dd
push eax
call fcn.10009500
add esp, 0x14
mov ecx, ebx
push edi
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
push edi
mov ecx, ebx
call fcn.1001c200
mov esi, eax
test esi, esi
js 0x1001c083
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1001bf7b
mov ecx, edi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001bf31
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1001bf7b
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0x24]
push ebx
push edi
call fcn.1001bb16
mov esi, eax
test esi, esi
jns 0x1001bf66
cmp dword [ebp - 0x2c], 0
je 0x1001c083
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1001b1ad
mov esi, eax
test esi, esi
js 0x1001c083
jmp 0x1001bf7e
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp eax, 2
je 0x1001c046
test eax, eax
je 0x1001bfa9
cmp dword [ebp + 0x2220], 0
jne 0x1001c046
push eax
call fcn.1001ae19
pop ecx
mov esi, eax
jmp 0x1001c083
cmp dword [ebp + 0x2220], 0
je 0x1001bfe9
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.1001b0d0
test eax, eax
je 0x1001bfe9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.1001ae2b
test eax, eax
je 0x1001c046
cmp dword [ebp - 0x14], 0
je 0x1001c046
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001b633
jmp 0x1001c046
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.1001b0d0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x28], ecx
test ebx, ebx
je 0x1001c00e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
jmp 0x1001c010
xor ebx, ebx
mov dword [ebp - 0x20], ebx
test eax, eax
jne 0x1001bf9b
cmp dword [ebp - 0x14], eax
je 0x1001c046
test ecx, ecx
jne 0x1001c046
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x2000]
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.1001af41
mov dword [ebp - 0x64], ebx
test eax, eax
jne 0x1001bf9b
push 0x7d
pop eax
cmp word [edi], ax
jne 0x1001bb91
jmp 0x1001c083
push eax
call fcn.1001ae19
mov esi, eax
pop ecx
test ebx, ebx
je 0x1001c083
push ebx
jmp 0x1001c076
push eax
call fcn.1001ae19
cmp dword [ebp - 0x44], 0
mov esi, eax
pop ecx
je 0x1001c083
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001c083
mov esi, 0x80020009
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1001c091
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.1003b105
add ebp, 0x220c
leave
ret 0x10