Function at 0x100091f0
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2248]
mov eax, 0x2248
call fcn.100195d0
push 0xffffffffffffffff
push 0x1001a030
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1002300c]
xor eax, ebp
mov dword [ebp + 0x2244], 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 + 0x2254]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x2250]
movq qword [ebp], xmm0
mov dword [ebp + 8], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000984d
cmp word [edi], 0x7d
je 0x1000983d
nop dword [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100092c0
test ebx, ebx
je 0x100093be
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
cmp dword [ebp + 0x2258], 0
je 0x100093be
movzx eax, word [edi]
xorps xmm0, xmm0
movq qword [ebp + 0x30], xmm0
mov ecx, edi
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0
test ax, ax
je 0x10009331
nop
cmp ax, 0x5c
je 0x10009329
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10009310
jmp 0x10009331
test ecx, ecx
jne 0x100097eb
mov esi, 0x1001bd00
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10009380
add esi, 4
cmp esi, str.RegOpenKeyTransactedW
jl 0x10009336
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x30]
push edi
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0
call fcn.10008da0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0
test ebx, ebx
je 0x100093b7
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.10009060
mov esi, eax
test esi, esi
js 0x100097fa
push edi
mov ecx, ebx
call fcn.10008c00
mov esi, eax
test esi, esi
js 0x100097fa
mov dword [ebp + 0x34], 0
jmp 0x100095dc
mov dword [ebp + 0x34], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x10]
test eax, eax
jne 0x100093e6
push edi
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
push 0x1001bbec
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10009532
lea eax, [ebp + 0x3c]
mov ecx, ebx
push eax
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
push edi
mov ecx, ebx
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
cmp word [edi], 0x3d
jne 0x100097f3
cmp dword [ebp + 0x2258], 0
je 0x1000949a
xorps xmm0, xmm0
mov dword [ebp + 0x2c], 0
movq qword [ebp + 0x24], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x3c]
push edi
push eax
lea eax, [ebp + 0x24]
mov dword [ebp + 0x28], 0
push eax
mov dword [ebp + 0x2c], 0
call fcn.10008840
mov esi, eax
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
test esi, esi
js 0x10009804
mov byte [ebp - 4], 0
mov dword [ebp + 0x28], 0
jmp 0x100095dc
cmp dword [ebp + 0x225c], 0
jne 0x1000951b
cmp dword [ebp - 0x18], 0
je 0x1000951b
push 0x20006
push 0
push dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp + 0x20], 0
movq qword [ebp + 0x18], xmm0
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
call fcn.10008cc0
test eax, eax
jne 0x1000980e
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x3c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10009502
cmp eax, 2
jne 0x1000980e
test esi, esi
je 0x10009514
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
push edi
mov ecx, ebx
call fcn.10008c00
mov esi, eax
test esi, esi
js 0x1000983d
jmp 0x100097df
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x10009561
nop dword [eax]
cmp ax, 0x5c
je 0x10009559
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10009540
jmp 0x10009561
test ecx, ecx
jne 0x100097f3
cmp dword [ebp + 0x2258], 0
je 0x1000963c
mov esi, dword [ebp - 0x14]
lea ecx, [ebp]
push 0x2001f
push edi
push esi
call fcn.10008cc0
test eax, eax
je 0x100095ac
push 0x20019
push edi
push esi
lea ecx, [ebp]
call fcn.10008cc0
test eax, eax
je 0x100095ac
sub esp, 0x14
lea ecx, [ebp]
push edi
push esi
call fcn.100084f0
test eax, eax
jne 0x10009834
push edi
mov ecx, ebx
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
cmp word [edi], 0x3d
jne 0x100095dc
push edi
push 0
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.10008840
mov esi, eax
test esi, esi
js 0x1000983d
cmp word [edi], 0x7b
jne 0x100097df
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100095f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100097df
push 0
push dword [ebp + 0x2258]
mov ecx, ebx
push dword [ebp]
push edi
call fcn.100091f0
mov esi, eax
test esi, esi
js 0x1000983d
push edi
mov ecx, ebx
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
jmp 0x100097df
mov esi, dword [ebp + 0x225c]
test esi, esi
jne 0x1000965b
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp]
call fcn.10008cc0
mov ebx, eax
jmp 0x10009660
mov ebx, 2
test ebx, ebx
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x203c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.10001b20
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10008c00
mov esi, eax
test esi, esi
js 0x1000983d
cmp word [edi], 0x7b
jne 0x10009708
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100096c0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10009708
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp]
push edi
call fcn.100091f0
mov esi, eax
test esi, esi
jns 0x100096f5
cmp dword [ebp - 0x1c], 0
je 0x1000983d
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10009060
mov esi, eax
test esi, esi
js 0x1000983d
cmp ebx, 2
je 0x100097df
test ebx, ebx
je 0x10009729
cmp dword [ebp + 0x225c], 0
jne 0x100097df
mov ecx, ebx
jmp 0x10009836
cmp dword [ebp + 0x225c], 0
je 0x1000976d
push dword [ebp]
call fcn.10008ed0
test eax, eax
je 0x1000976d
lea eax, [ebp + 0x203c]
push eax
call fcn.10008c80
test eax, eax
je 0x100097df
cmp dword [ebp - 0x18], 0
je 0x100097df
lea eax, [ebp + 0x203c]
push eax
lea ecx, [ebp]
call fcn.10008da0
jmp 0x100097df
push dword [ebp]
call fcn.10008ed0
mov ecx, dword [ebp]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x1000978c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp], ecx
mov dword [ebp + 4], 0
test eax, eax
jne 0x10009834
cmp dword [ebp - 0x18], eax
je 0x100097df
test ebx, ebx
jne 0x100097df
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp + 0x14], ebx
movq qword [ebp + 0xc], xmm0
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x203c]
push eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
call fcn.10008f70
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
test eax, eax
jne 0x10009821
lea ecx, [ebp + 0xc]
call fcn.10008f40
cmp word [edi], 0x7d
jne 0x10009290
jmp 0x1000983d
lea ecx, [ebp + 0x30]
call fcn.10008f40
mov esi, 0x80020009
jmp 0x1000983d
lea ecx, [ebp + 0x30]
call fcn.10008f40
jmp 0x1000983d
lea ecx, [ebp + 0x24]
call fcn.10008f40
jmp 0x1000983d
mov ecx, eax
call fcn.10009050
lea ecx, [ebp + 0x18]
mov esi, eax
call fcn.10008f40
jmp 0x1000983d
mov ecx, eax
call fcn.10009050
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.10008f40
jmp 0x1000983d
mov ecx, eax
call fcn.10009050
mov esi, eax
mov eax, dword [ebp]
test eax, eax
je 0x1000984b
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 + 0x2244]
xor ecx, ebp
call fcn.1000e271
lea esp, [ebp + 0x2248]
pop ebp
ret 0x10