Function at 0x10010e60
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10033105
push eax
mov eax, 0x2238
mov dword fs:[0], esp
call fcn.100150c0
push ebx
mov eax, ecx
mov dword [ebp - 0x20], 0
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 4], 0
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011573
cmp word [ebx], 0x7d
push edi
je 0x10011562
push str.Delete
push ebx
mov dword [ebp + 8], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10034734
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10010ef0
test edi, edi
jne 0x10010fca
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
cmp dword [ebp + 0x10], 0
je 0x10010fca
movzx ecx, word [ebx]
mov eax, ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
test cx, cx
je 0x10010f48
mov edx, ecx
cmp dx, 0x5c
je 0x10010f40
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x10010f27
jmp 0x10010f48
test eax, eax
jne 0x10011550
mov esi, 0x10034ae8
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10010f8c
add esi, 4
cmp esi, 0x10034b18
jl 0x10010f50
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100109c0
mov dword [ebp - 0x2c], 0
test edi, edi
jne 0x10010fc3
mov edi, dword [ebp - 0x14]
mov ecx, edi
push ebx
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
push ebx
mov ecx, edi
call fcn.100115a0
mov esi, eax
test esi, esi
js 0x10011562
mov dword [ebp - 0x28], 0
jmp 0x10011259
mov dword [ebp - 0x28], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x10010ff2
push ebx
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
push 0x1003472c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10011118
lea eax, [ebp - 0x2244]
mov ecx, edi
push eax
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
push ebx
mov ecx, edi
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
cmp word [ebx], 0x3d
jne 0x10011550
cmp dword [ebp + 0x10], 0
je 0x1001109a
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2244]
push ebx
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.1000f1c0
mov esi, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
test esi, esi
js 0x10011562
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], 0
jmp 0x10011259
cmp dword [ebp + 0x14], 0
jne 0x10011101
cmp dword [ebp + 8], 0
je 0x10011101
xor edi, edi
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push 0x20006
push edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov byte [ebp - 4], 0
cmove edi, dword [ebp + 8]
xor ecx, ecx
test eax, eax
cmovne ecx, eax
test ecx, ecx
jne 0x1001154d
lea eax, [ebp - 0x2244]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100110f3
cmp eax, 2
jne 0x10011535
test edi, edi
je 0x100110fe
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x14]
push ebx
mov ecx, edi
call fcn.100115a0
mov esi, eax
test esi, esi
js 0x10011562
jmp 0x10011529
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x10011145
mov edx, ecx
cmp dx, 0x5c
je 0x1001113d
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x10011124
jmp 0x10011145
test eax, eax
jne 0x10011550
cmp dword [ebp + 0x10], 0
je 0x100112b9
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push 0x2001f
push 0
push ebx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001118d
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1001117e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
jmp 0x10011190
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 0
test eax, eax
je 0x10011226
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100111d2
test edi, edi
je 0x100111c5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x10011226
lea eax, [ebp - 0x3c]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001121a
test edi, edi
je 0x1001120d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x10011557
mov edi, dword [ebp - 0x14]
mov ecx, edi
push ebx
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
cmp word [ebx], 0x3d
jne 0x10011259
push ebx
push 0
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.1000f1c0
mov esi, eax
test esi, esi
js 0x10011562
cmp word [ebx], 0x7b
jne 0x10011529
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011270
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10011529
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x20]
push ebx
call fcn.10010e60
mov esi, eax
test esi, esi
js 0x10011562
push ebx
mov ecx, edi
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
jmp 0x10011529
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x10011300
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 0x20019
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x100112fa
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100112ed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
jmp 0x10011305
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, esi
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.1001daef
push eax
call fcn.1000fb00
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ebx
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.100115a0
mov esi, eax
test esi, esi
js 0x10011562
cmp word [ebx], 0x7b
jne 0x100113a8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011360
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100113a8
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x20]
push ebx
call fcn.10010e60
mov esi, eax
test esi, esi
jns 0x10011395
cmp dword [ebp - 0x10], 0
je 0x10011562
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.10010310
mov esi, eax
test esi, esi
js 0x10011562
cmp edi, 2
je 0x10011529
test edi, edi
je 0x100113c5
cmp dword [ebp + 0x14], 0
jne 0x10011529
push edi
jmp 0x10011558
cmp dword [ebp + 0x14], 0
je 0x10011445
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10011445
cmp eax, dword [ebp - 0x10]
sbb eax, eax
neg eax
je 0x10011445
mov edi, 0x10034ae8
push dword [edi]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10011529
add edi, 4
cmp edi, 0x10034b18
jl 0x10011405
cmp dword [ebp + 8], 0
je 0x10011529
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x20]
call fcn.100109c0
jmp 0x10011529
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10011475
xor edi, edi
jmp 0x1001147e
xor eax, eax
cmp eax, dword [ebp - 0x10]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x20]
xor eax, eax
test ecx, ecx
je 0x10011493
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
test eax, eax
jne 0x10011557
cmp dword [ebp + 8], eax
je 0x10011529
test edi, edi
jne 0x10011529
mov byte [ebp - 4], 7
cmp byte [0x100435dc], al
jne 0x100114f6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100114e8
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100435d8], eax
mov byte [0x100435dc], 1
jmp 0x100114fb
mov eax, dword [0x100435d8]
mov byte [0x100435dc], 1
jmp 0x100114fb
mov eax, dword [0x100435d8]
test eax, eax
je 0x10011511
push 0
push 0
lea ecx, [ebp - 0x244]
push ecx
push dword [ebp + 0xc]
call eax
jmp 0x10011521
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0
test eax, eax
jne 0x10011557
cmp word [ebx], 0x7d
jne 0x10010ec3
jmp 0x10011562
push eax
call fcn.1000fbc0
add esp, 4
mov esi, eax
test edi, edi
je 0x10011562
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10011562
push ecx
jmp 0x10011536
mov esi, 0x80020009
jmp 0x10011562
push eax
call fcn.1000fbc0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x20]
pop edi
test eax, eax
je 0x10011571
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10