Function at 0x100128c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a4d46
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.100b6740
mov eax, dword [0x102184e0]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x102184e0]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov edx, dword [ebp + 0x14]
mov eax, ebx
mov edi, ecx
mov dword [esp + 0x2280], esi
mov dword [esp + 0x38], edx
call fcn.10011ce0
mov edi, eax
cmp edi, esi
jl 0x10012f24
cmp word [ebx], 0x7d
je 0x10012f22
lea esp, [esp]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x20], 1
call edi
neg eax
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x1001297f
test esi, esi
je 0x10012ab7
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x10012ab7
movzx ecx, word [ebx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov eax, ebx
cmp cx, dx
je 0x100129d6
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x100129ce
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x100129bb
jmp 0x100129d6
test eax, eax
jne 0x10012ef1
mov edi, 0x101feea4
jmp 0x100129e0
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10012a21
add edi, 4
cmp edi, 0x101feed4
jl 0x100129e0
mov ecx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x2c], ecx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.100112f0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
test esi, esi
je 0x10012aaf
mov esi, dword [esp + 0x10]
mov eax, ebx
mov edi, esi
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f0a
push ebx
mov ecx, esi
call fcn.10012380
mov edi, eax
test edi, edi
js 0x10012f0a
mov dword [esp + 0x30], 0
cmp word [ebx], 0x7b
jne 0x10012aa0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10012aa0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push edx
push eax
push ebx
call fcn.100128c0
mov edi, eax
test edi, edi
js 0x10012f13
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
cmp word [ebx], 0x7d
jne 0x10012950
jmp 0x10012f13
mov dword [esp + 0x30], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10012ae0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
push 0x101fee74
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10012c0b
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
cmp word [ebx], 0x3d
jne 0x10012efa
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10012b8b
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x26c]
mov byte [esp + 0x2280], 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.10011e90
mov edi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp edi, esi
jl 0x10012f4a
mov byte [esp + 0x2280], 0
mov dword [esp + 0x40], esi
jmp 0x10012a5a
cmp dword [ebp + 0x14], esi
jne 0x10012bf2
cmp dword [esp + 0x18], esi
je 0x10012bf2
mov ecx, dword [esp + 0x14]
push 0x20006
lea edx, [esp + 0x58]
push edx
xor eax, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.10011230
cmp eax, esi
jne 0x10012f5e
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x10012bdf
cmp eax, 2
jne 0x10012f5e
cmp edi, esi
je 0x10012bee
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x10]
push ebx
call fcn.10012380
mov edi, eax
cmp edi, esi
jl 0x10012f13
jmp 0x10012aa0
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x10012c34
cmp cx, 0x5c
je 0x10012c2c
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x10012c15
jmp 0x10012c34
test eax, eax
jne 0x10012efa
cmp dword [ebp + 0x10], 0
je 0x10012d19
cmp dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
je 0x10012c6b
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push 0x2001f
push ebx
push ecx
lea edi, [esp + 0x24]
call fcn.10010db0
mov esi, dword [esp + 0x14]
jmp 0x10012c83
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10012caa
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10012c96
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test eax, eax
je 0x10012cd9
push 0x20019
lea edx, [esp + 0x20]
push edx
mov eax, ebx
mov ecx, esi
call fcn.10011230
test eax, eax
je 0x10012cd9
lea eax, [esp + 0x1c]
push eax
mov eax, ebx
mov ecx, esi
call fcn.100111b0
mov edi, eax
test edi, edi
jne 0x10012f6b
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
cmp word [ebx], 0x3d
jne 0x10012a5a
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.10011e90
mov edi, eax
test edi, edi
js 0x10012f13
jmp 0x10012a5a
cmp dword [ebp + 0x14], 0
jne 0x10012d71
mov ecx, dword [esp + 0x14]
push 0x20019
lea edx, [esp + 0x20]
push edx
mov eax, ebx
call fcn.10011230
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x10012d45
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.100b3ed9
add esp, 0x10
cmp eax, 0x50
ja case.0x10012d6a.107
movzx ecx, byte [eax + 0x10012fd4]
jmp dword [ecx*4 + 0x10012fc4]
mov dword [esp + 0x28], 2
mov esi, dword [esp + 0x28]
jmp 0x10012d3e
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
mov ecx, dword [esp + 0x10]
push ebx
call fcn.10012380
mov edi, eax
test edi, edi
js 0x10012f13
cmp word [ebx], 0x7b
jne 0x10012df6
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10012df6
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push esi
push 0
push edx
push ebx
call fcn.100128c0
mov edi, eax
test edi, edi
jns 0x10012ddd
test esi, esi
je 0x10012f13
mov edi, dword [esp + 0x10]
mov eax, ebx
call fcn.10011ce0
mov edi, eax
test edi, edi
js 0x10012f13
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x10012aa0
test esi, esi
je 0x10012e20
test eax, eax
jne 0x10012aa0
mov eax, esi
call fcn.10010da0
mov edi, eax
jmp 0x10012f13
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x10012e63
mov ecx, esi
call fcn.10012330
test eax, eax
je 0x10012e63
lea ecx, [esp + 0x64]
push ecx
call fcn.100122f0
test eax, eax
je 0x10012aa0
cmp dword [esp + 0x18], 0
je 0x10012aa0
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x20]
call fcn.100112f0
jmp 0x10012aa0
mov ecx, esi
call fcn.10012330
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x10012e8b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test eax, eax
jne 0x10012f91
cmp dword [esp + 0x18], eax
je 0x10012aa0
cmp dword [esp + 0x60], eax
jne 0x10012aa0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
mov dword [esp + 0x48], eax
xor esi, esi
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.100110e0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp eax, esi
jne 0x10012fa8
lea esi, [esp + 0x48]
call fcn.100110c0
jmp 0x10012aa0
lea esi, [esp + 0x2c]
call fcn.100110c0
lea esi, [esp + 0x1c]
call fcn.100110c0
mov eax, 0x80020009
jmp 0x10012f24
lea esi, [esp + 0x2c]
call fcn.100110c0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10012f22
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.100b197c
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x3c]
call fcn.100110c0
lea esi, [esp + 0x1c]
call fcn.100110c0
jmp 0x10012f22
call fcn.10010da0
mov edi, eax
lea esi, [esp + 0x54]
jmp 0x10012f0e
lea esi, [esp + 0x1c]
call fcn.100110c0
mov eax, edi
call fcn.10010da0
jmp 0x10012f24
push 0x8007000e
call fcn.10001300
push 0x80070057
call fcn.10001300
lea esi, [esp + 0x1c]
call fcn.100110c0
mov eax, dword [esp + 0x28]
call fcn.10010da0
jmp 0x10012f24
call fcn.10010da0
mov edi, eax
lea esi, [esp + 0x48]
jmp 0x10012f0e
push 0x80004005
call fcn.10001300
mov edi, edi
jg 0x10012ff3
add dword [eax], edx
jge 0x10012ff9
add dword [eax], edx
xchg dword [edi], ebp
add dword [eax], edx
mov eax, 0x10012f
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3