Function at 0x1000d670
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.1001dbb0
push 0xffffffffffffffff
push 0x1001e5d8
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10028018]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp + 0x2220]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d721
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0xb0]
jmp 0x1000e06a
mov eax, dword [ebp + 0x2214]
movzx ecx, word [eax]
cmp ecx, 0x7d
je 0x1000e04c
mov dword [ebp - 0x2c], 1
mov edx, dword [str.Delete]
push edx
mov eax, dword [ebp + 0x2214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000d75b
mov dword [ebp - 0x58], 1
jmp 0x1000d762
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [str.ForceRemove]
push edx
mov eax, dword [ebp + 0x2214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000d78a
cmp dword [ebp - 0x5c], 0
je 0x1000d964
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d7a7
jmp 0x1000e04c
cmp dword [ebp + 0x221c], 0
je 0x1000d964
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x2214]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x28], 0
jne 0x1000d7ec
mov dword [ebp - 0x60], 0
jmp 0x1000d825
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
test ecx, ecx
je 0x1000d81f
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
mov ecx, 0x5c
movzx edx, cx
cmp eax, edx
jne 0x1000d810
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
jmp 0x1000d81f
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x28], eax
jmp 0x1000d7ec
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
je 0x1000d85b
mov dword [ebp - 0x98], 0x80020009
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000d170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0x98]
jmp 0x1000e06a
mov dword [ebp - 0x44], 0
jmp 0x1000d86d
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xc
jge 0x1000d89a
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx*4 + 0x10020bc8]
push edx
mov eax, dword [ebp + 0x2214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000d898
mov dword [ebp - 0x68], 0
jmp 0x1000d8a1
jmp 0x1000d864
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x68], 0
je 0x1000d8ef
xor ecx, ecx
jne 0x1000d8a7
mov edx, dword [ebp + 0x2218]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0x2214]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000cfe0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x5c], 0
je 0x1000d958
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d91e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000d170
jmp 0x1000e04c
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1000cd80
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d947
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000d170
jmp 0x1000e04c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000d170
jmp 0x1000dfa3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000d170
mov ecx, dword [str.NoRemove]
push ecx
mov edx, dword [ebp + 0x2214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000d9a0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d9a0
jmp 0x1000e04c
mov ecx, dword [0x10020ab0]
push ecx
mov edx, dword [ebp + 0x2214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000dbb9
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d9d6
jmp 0x1000e04c
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000d9f3
jmp 0x1000e04c
mov edx, dword [ebp + 0x2214]
movzx eax, word [edx]
cmp eax, 0x3d
je 0x1000da25
mov dword [ebp - 0xa0], 0x80020009
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0xa0]
jmp 0x1000e06a
cmp dword [ebp + 0x221c], 0
je 0x1000dae9
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
xor ecx, ecx
jne 0x1000da4b
mov edx, dword [ebp + 0x2218]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 0x2214]
push eax
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000c6c0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x10], 0
jge 0x1000dad3
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.1000d170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0xa8]
jmp 0x1000e06a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.1000d170
jmp 0x1000dfa3
cmp dword [ebp + 0x2220], 0
jne 0x1000db97
cmp dword [ebp - 0x2c], 0
je 0x1000db97
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push 0x20006
push 0
mov edx, dword [ebp + 0x2218]
push edx
lea ecx, [ebp - 0x74]
call fcn.1000cf20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000db73
xor eax, eax
jne 0x1000db34
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000db71
cmp dword [ebp - 0x14], 2
je 0x1000db71
mov eax, dword [ebp - 0x14]
push eax
call fcn.1000d3b0
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x74]
call fcn.1000d170
jmp 0x1000e04c
jmp 0x1000db8f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000d3b0
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x74]
call fcn.1000d170
jmp 0x1000e04c
lea ecx, [ebp - 0x74]
call fcn.1000d170
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000cd80
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000dbb4
jmp 0x1000e04c
jmp 0x1000d721
push 0x5c
mov eax, dword [ebp + 0x2214]
push eax
call fcn.1000c180
add esp, 8
test eax, eax
je 0x1000dbf2
mov dword [ebp - 0x84], 0x80020009
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0x84]
jmp 0x1000e06a
cmp dword [ebp + 0x221c], 0
je 0x1000dcf2
push 0x2001f
mov ecx, dword [ebp + 0x2214]
push ecx
mov edx, dword [ebp + 0x2218]
push edx
lea ecx, [ebp - 0x24]
call fcn.1000cf20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000dc9f
push 0x20019
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp + 0x2218]
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000cf20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000dc9f
push 0
push 0
push 0x2001f
push 0
push 0
mov edx, dword [ebp + 0x2214]
push edx
mov eax, dword [ebp + 0x2218]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000c290
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000dc9f
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000d3b0
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0xb8]
jmp 0x1000e06a
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000dcbc
jmp 0x1000e04c
mov eax, dword [ebp + 0x2214]
movzx ecx, word [eax]
cmp ecx, 0x3d
jne 0x1000dced
mov edx, dword [ebp + 0x2214]
push edx
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1000c6c0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000dced
jmp 0x1000e04c
jmp 0x1000dfa3
cmp dword [ebp + 0x2220], 0
jne 0x1000dd1b
push 0x20019
mov ecx, dword [ebp + 0x2214]
push ecx
mov edx, dword [ebp + 0x2218]
push edx
lea ecx, [ebp - 0x24]
call fcn.1000cf20
mov dword [ebp - 0x14], eax
jmp 0x1000dd22
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], 0
je 0x1000dd32
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
mov eax, dword [ebp + 0x2214]
push eax
push 0x104
lea ecx, [ebp + 0x2000]
push ecx
call dword [sym.imp.MSVCR110.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.1000ccd0
add esp, 4
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000dd76
jmp 0x1000e04c
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1000cd80
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000dd93
jmp 0x1000e04c
mov ecx, dword [ebp + 0x2214]
movzx edx, word [ecx]
cmp edx, 0x7b
jne 0x1000de3e
mov eax, dword [ebp + 0x2214]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x30]
mov ax, word [edx]
mov word [ebp - 0x52], ax
add dword [ebp - 0x30], 2
cmp word [ebp - 0x52], 0
jne 0x1000ddba
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xc0]
sar ecx, 1
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 1
jne 0x1000de3e
mov edx, dword [ebp + 0x2220]
push edx
mov eax, dword [ebp + 0x221c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000d670
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000de21
cmp dword [ebp + 0x2220], 0
jne 0x1000de21
jmp 0x1000e04c
mov eax, dword [ebp + 0x2214]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000de3e
jmp 0x1000e04c
mov ecx, dword [ebp - 0x90]
mov dword [ebp + 0x2220], ecx
cmp dword [ebp - 0x14], 2
jne 0x1000de55
jmp 0x1000d721
cmp dword [ebp - 0x14], 0
je 0x1000de7f
cmp dword [ebp + 0x2220], 0
je 0x1000de6b
jmp 0x1000d721
mov edx, dword [ebp - 0x14]
push edx
call fcn.1000d3b0
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x1000e04c
cmp dword [ebp + 0x2220], 0
je 0x1000ded1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000d110
test eax, eax
je 0x1000ded1
lea edx, [ebp + 0x2000]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000ce30
test eax, eax
je 0x1000decc
cmp dword [ebp - 0x2c], 0
je 0x1000decc
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000cfe0
jmp 0x1000d721
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000d110
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000df2c
mov eax, dword [ebp - 0x14]
push eax
call fcn.1000d3b0
add esp, 4
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0xac]
jmp 0x1000e06a
cmp dword [ebp - 0x2c], 0
je 0x1000dfa3
cmp dword [ebp - 0x9c], 0
jne 0x1000dfa3
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp + 0x2218]
push ecx
lea ecx, [ebp - 0x80]
call fcn.1000d200
lea edx, [ebp + 0x2000]
push edx
lea ecx, [ebp - 0x80]
call fcn.1000d2c0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x80]
call fcn.1000d370
cmp dword [ebp - 0x14], 0
je 0x1000df9b
mov eax, dword [ebp - 0x14]
push eax
call fcn.1000d3b0
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
call fcn.1000d170
jmp 0x1000e04c
lea ecx, [ebp - 0x80]
call fcn.1000d170
cmp dword [ebp + 0x221c], 0
je 0x1000e047
mov ecx, dword [ebp + 0x2214]
movzx edx, word [ecx]
cmp edx, 0x7b
jne 0x1000e047
mov eax, dword [ebp + 0x2214]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x34]
mov ax, word [edx]
mov word [ebp - 0x54], ax
add dword [ebp - 0x34], 2
cmp word [ebp - 0x54], 0
jne 0x1000dfd7
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 1
jne 0x1000e047
push 0
mov edx, dword [ebp + 0x221c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x2214]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000d670
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000e02d
jmp 0x1000e04c
mov edx, dword [ebp + 0x2214]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1000d3f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1000e047
jmp 0x1000e04c
jmp 0x1000d721
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000d170
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.1001329a
add ebp, 0x220c
mov esp, ebp
pop ebp
ret 0x10