Function at 0x1001b9b8
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.1003a680
push 0xffffffffffffffff
push 0x100660ed
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100bc054]
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.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
push 0x7d
pop eax
cmp word [edi], ax
je 0x1001becb
xor eax, eax
inc eax
push 0x1007c1cc
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
neg eax
push 0x1007c174
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x1001ba65
test esi, esi
je 0x1001bb04
push edi
mov ecx, ebx
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
xor esi, esi
cmp dword [ebp + 0x221c], esi
je 0x1001bb06
push 0x5c
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.1001c0e8
pop ecx
pop ecx
test eax, eax
jne 0x1001bebe
push edi
mov ecx, ebx
call fcn.1001ace7
test eax, eax
je 0x1001bac4
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x30], eax
call fcn.1001b50c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x14], esi
je 0x1001bafa
push edi
mov ecx, ebx
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001beb9
push edi
mov ecx, ebx
call fcn.1004cb7f
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.1001ad8c
test esi, esi
js 0x1001becb
jmp 0x1001be53
lea ecx, [ebp - 0x30]
call fcn.1001ad8c
jmp 0x1001bb06
xor esi, esi
push 0x1007c1a4
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1001bb2b
push edi
mov ecx, ebx
mov dword [ebp - 0x18], esi
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
push 0x1007c158
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1001bc21
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
push edi
mov ecx, ebx
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1001bec6
cmp dword [ebp + 0x221c], 0
je 0x1001bbbf
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.1001a818
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 0x1001bf06
mov byte [ebp - 4], al
jmp 0x1001be4e
cmp dword [ebp + 0x2220], 0
jne 0x1001bc14
cmp dword [ebp - 0x18], 0
je 0x1001bc14
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.1004cb7f
test eax, eax
jne 0x1001befa
lea eax, [ebp]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1001bc0c
cmp eax, 2
jne 0x1001befa
lea ecx, [ebp - 0x50]
call fcn.1001ad8c
push edi
mov ecx, ebx
call fcn.1004cb7f
jmp 0x1001bea2
push 0x5c
push edi
call fcn.1001c0e8
pop ecx
pop ecx
test eax, eax
jne 0x1001bec6
cmp dword [ebp + 0x221c], eax
je 0x1001bcb5
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push 0x2001f
push edi
push esi
call fcn.1004cb7f
test eax, eax
je 0x1001bc81
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.1004cb7f
test eax, eax
je 0x1001bc81
xor eax, eax
lea ecx, [ebp - 0x24]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.1004cb7f
test eax, eax
jne 0x1001bd9d
push edi
mov ecx, ebx
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1001be53
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001a818
mov esi, eax
jmp 0x1001baed
cmp dword [ebp + 0x2220], 0
jne 0x1001bcd1
push 0x20019
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.1004cb7f
jmp 0x1001bcd4
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.1004cb7f
push eax
call fcn.100099a7
add esp, 0x14
mov ecx, ebx
push edi
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
push edi
mov ecx, ebx
call fcn.1004cb7f
mov esi, eax
test esi, esi
js 0x1001becb
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1001bd80
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x1001bd36
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x1001bd80
push dword [ebp - 0x34]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x24]
push edi
call fcn.1001b9b8
mov esi, eax
test esi, esi
jns 0x1001bd6e
cmp dword [ebp - 0x34], 0
je 0x1001becb
push edi
mov ecx, ebx
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
mov eax, dword [ebp - 0x14]
cmp eax, 2
je 0x1001bea8
test eax, eax
je 0x1001bdab
cmp dword [ebp + 0x2220], 0
jne 0x1001bea8
push eax
call fcn.1001acd5
pop ecx
mov esi, eax
jmp 0x1001becb
cmp dword [ebp + 0x2220], 0
je 0x1001bdf6
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.1004cb7f
test eax, eax
je 0x1001bdf6
lea eax, [ebp + 0x2000]
mov ecx, ebx
push eax
call fcn.1001ace7
test eax, eax
je 0x1001bea8
cmp dword [ebp - 0x18], 0
je 0x1001bea8
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001b50c
jmp 0x1001bea8
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.1004cb7f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.1001ad8c
test eax, eax
jne 0x1001bd9d
cmp dword [ebp - 0x18], eax
je 0x1001bea8
cmp dword [ebp - 0x14], eax
jne 0x1001bea8
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.1001ae15
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
test eax, eax
jne 0x1001bf0d
lea ecx, [ebp - 0x5c]
call fcn.1001ad8c
cmp dword [ebp + 0x221c], 0
je 0x1001bea8
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1001bea8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x38]
jne 0x1001be69
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x1001beab
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.1001b9b8
mov esi, eax
test esi, esi
js 0x1001becb
push edi
mov ecx, ebx
call fcn.1001b089
mov esi, eax
test esi, esi
js 0x1001becb
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [edi], cx
jne 0x1001ba36
jmp 0x1001becb
lea ecx, [ebp - 0x30]
jmp 0x1001bf06
lea ecx, [ebp - 0x30]
call fcn.1001ad8c
mov esi, 0x80020009
lea ecx, [ebp - 0x24]
call fcn.1001ad8c
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.1003a5a7
add ebp, 0x220c
leave
ret 0x10
push eax
call fcn.1001acd5
pop ecx
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.1001ad8c
jmp 0x1001becb
push eax
call fcn.1001acd5
pop ecx
lea ecx, [ebp - 0x5c]
jmp 0x1001bf04