Function at 0x10029f0e
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f73e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.1008ef40
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
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 dword [esp + 0x2280], esi
mov dword [esp + 0x38], edx
call fcn.100298e0
mov edi, eax
cmp edi, esi
jl 0x1002a0b4
cmp word [ebx], 0x7d
je 0x1002a0b2
lea ebx, [ebx]
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 0x10029b0f
test esi, esi
je 0x10029c48
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x10029c48
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 0x10029b66
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x10029b5e
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x10029b4b
jmp 0x10029b66
test eax, eax
jne 0x1002a081
mov edi, 0x1012fb20
jmp 0x10029b70
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10029bb1
add edi, 4
cmp edi, str.dessert.log
jl 0x10029b70
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.10029620
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
test esi, esi
je 0x10029c40
mov esi, dword [esp + 0x10]
mov eax, ebx
mov ecx, esi
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a09a
mov edi, ebx
mov ecx, esi
call fcn.10029580
mov edi, eax
test edi, edi
js 0x1002a09a
mov dword [esp + 0x30], 0
cmp word [ebx], 0x7b
jne 0x10029c31
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10029c31
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.10029a50
mov edi, eax
test edi, edi
js 0x1002a0a3
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
cmp word [ebx], 0x7d
jne 0x10029ae0
jmp 0x1002a0a3
mov dword [esp + 0x30], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10029c71
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
push 0x1012faf0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10029d9b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
cmp word [ebx], 0x3d
jne 0x1002a08a
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10029d1a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x2280], 1
push ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edx
push eax
lea edx, [esp + 0x274]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.10029070
mov edi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp edi, esi
jl 0x1002a0da
mov byte [esp + 0x2280], 0
mov dword [esp + 0x40], esi
jmp 0x10029beb
cmp dword [ebp + 0x14], esi
jne 0x10029d81
cmp dword [esp + 0x18], esi
je 0x10029d81
push 0x20006
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.1000ac10
cmp eax, esi
jne 0x1002a0ee
mov edi, dword [esp + 0x54]
lea edx, [esp + 0x26c]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x10029d6e
cmp eax, 2
jne 0x1002a0ee
cmp edi, esi
je 0x10029d7d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.10029580
mov edi, eax
cmp edi, esi
jl 0x1002a0a3
jmp 0x10029c31
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x10029dc4
cmp cx, 0x5c
je 0x10029dbc
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x10029da5
jmp 0x10029dc4
test eax, eax
jne 0x1002a08a
cmp dword [ebp + 0x10], 0
je 0x10029ea8
cmp dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
je 0x10029dfb
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push 0x2001f
push ebx
push eax
lea edi, [esp + 0x24]
call fcn.1000ab80
mov esi, dword [esp + 0x14]
jmp 0x10029e13
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10029e3a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10029e26
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
test eax, eax
je 0x10029e69
push 0x20019
lea eax, [esp + 0x20]
push eax
mov eax, ebx
mov ecx, esi
call fcn.1000ac10
test eax, eax
je 0x10029e69
lea ecx, [esp + 0x1c]
push ecx
mov eax, ebx
mov ecx, esi
call fcn.10028e50
mov edi, eax
test edi, edi
jne 0x1002a0fb
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
cmp word [ebx], 0x3d
jne 0x10029beb
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x20]
push edx
xor edx, edx
call fcn.10029070
mov edi, eax
test edi, edi
js 0x1002a0a3
jmp 0x10029beb
cmp dword [ebp + 0x14], 0
jne 0x10029f00
mov ecx, dword [esp + 0x14]
push 0x20019
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.1000ac10
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x10029ed4
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x6c]
push 0x104
push ecx
call fcn.10076847
add esp, 0x10
cmp eax, 0x50
ja case.0x10029ef9.1
movzx edx, byte [eax + 0x1002a164]
jmp dword [edx*4 + 0x1002a154]
mov dword [esp + 0x28], 2
mov esi, dword [esp + 0x28]
jmp 0x10029ecd
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.10029580
mov edi, eax
test edi, edi
js 0x1002a0a3
cmp word [ebx], 0x7b
jne 0x10029f86
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10029f86
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push esi
push 0
push eax
push ebx
call fcn.10029a50
mov edi, eax
test edi, edi
jns 0x10029f6d
test esi, esi
je 0x1002a0a3
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.100298e0
mov edi, eax
test edi, edi
js 0x1002a0a3
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x14], ecx
cmp esi, 2
je 0x10029c31
test esi, esi
je 0x10029fb0
test ecx, ecx
jne 0x10029c31
mov eax, esi
call fcn.100298a0
mov edi, eax
jmp 0x1002a0a3
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x10029ff3
mov ecx, esi
call fcn.10029770
test eax, eax
je 0x10029ff3
lea edx, [esp + 0x64]
push edx
call fcn.100295e0
test eax, eax
je 0x10029c31
cmp dword [esp + 0x18], 0
je 0x10029c31
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.10029620
jmp 0x10029c31
mov ecx, esi
call fcn.10029770
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x1002a01b
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 0x1002a121
cmp dword [esp + 0x18], eax
je 0x10029c31
cmp dword [esp + 0x60], eax
jne 0x10029c31
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
xor esi, esi
push edx
lea eax, [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.10029820
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp eax, esi
jne 0x1002a138
lea esi, [esp + 0x48]
call fcn.1000abf0
jmp 0x10029c31
lea esi, [esp + 0x2c]
call fcn.1000abf0
lea esi, [esp + 0x1c]
call fcn.1000abf0
mov eax, 0x80020009
jmp 0x1002a0b4
lea esi, [esp + 0x2c]
call fcn.1000abf0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002a0b2
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.100719c1
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x3c]
call fcn.1000abf0
lea esi, [esp + 0x1c]
call fcn.1000abf0
jmp 0x1002a0b2
call fcn.100298a0
mov edi, eax
lea esi, [esp + 0x54]
jmp 0x1002a09e
lea esi, [esp + 0x1c]
call fcn.1000abf0
mov eax, edi
call fcn.100298a0
jmp 0x1002a0b4
push 0x8007000e
call fcn.10006600
push 0x80070057
call fcn.10006600
lea esi, [esp + 0x1c]
call fcn.1000abf0
mov eax, dword [esp + 0x28]
call fcn.100298a0
jmp 0x1002a0b4
call fcn.100298a0
mov edi, eax
lea esi, [esp + 0x48]
jmp 0x1002a09e
push 0x80004005
call fcn.10006600
mov edi, edi
push cs
lahf
add dl, byte [eax]
or eax, 0x171002a1
mov eax, dword [-1589112830]
add dl, byte [eax]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [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 [ebx]
add ah, cl
int3