Function at 0x10002f36
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.10020e70
mov eax, dword [0x1003700c]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
mov eax, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x14], ebx
and dword [esp + 0x18], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034c3
push 0x7d
pop eax
cmp word [edi], ax
je 0x100034b4
push str.Delete
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x1002e358
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10002fc8
test esi, esi
je 0x10003067
mov ecx, dword [esp + 0xc]
push edi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10003069
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
call fcn.1000252b
test eax, eax
jne 0x100034a8
push edi
call fcn.10002a6e
test eax, eax
je 0x10003029
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
call fcn.10001ec4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
cmp dword [esp + 0x24], esi
je 0x10003061
mov ecx, dword [esp + 0xc]
push edi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
mov ecx, dword [esp + 0xc]
push edi
call fcn.10002ad2
mov esi, eax
test esi, esi
js 0x100034b4
and dword [esp + 0x30], 0
jmp 0x1000329d
mov dword [esp + 0x30], esi
jmp 0x10003069
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003091
mov ecx, dword [esp + 0xc]
push edi
mov dword [esp + 0x14], esi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
push 0x1002e350
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100031ae
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x268]
push eax
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
mov ecx, dword [esp + 0xc]
push edi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
push 0x3d
pop eax
cmp word [edi], ax
jne 0x100034a8
cmp dword [ebp + 0x10], 0
je 0x1000312c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x268]
push edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.100026e9
mov esi, eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
test esi, esi
js 0x100034b4
mov dword [esp + 0x48], eax
jmp 0x1000329d
cmp dword [ebp + 0x14], 0
jne 0x10003195
cmp dword [esp + 0x10], 0
je 0x10003195
xor esi, esi
lea ecx, [esp + 0x38]
push 0x20006
push esi
push dword [esp + 0x28]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.10001e68
test eax, eax
jne 0x1000348c
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10003182
cmp eax, 2
jne 0x1000347c
test ebx, ebx
je 0x10003191
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0xc]
push edi
call fcn.10002ad2
mov esi, eax
test esi, esi
js 0x100034b4
jmp 0x1000346b
push 0x5c
pop edx
mov ecx, edi
call fcn.1000252b
test eax, eax
jne 0x100034af
cmp dword [ebp + 0x10], eax
je 0x100032e2
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push 0x2001f
push edi
push ebx
call fcn.10001e68
test eax, eax
je 0x1000325e
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x20]
call fcn.10001e68
test eax, eax
je 0x1000325e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
xor esi, esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
test ecx, ecx
je 0x10003219
sub esp, 0x14
push edi
push ebx
call fcn.10001b3f
jmp 0x1000322a
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10003250
mov eax, esi
cmp dword [esp + 0x14], eax
je 0x10003240
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
test eax, eax
je 0x10003262
mov ecx, eax
call fcn.1000130d
mov esi, eax
jmp 0x100034b4
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1000329d
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edi
push 0
push eax
call fcn.100026e9
mov esi, eax
test esi, esi
js 0x100034b4
mov ebx, dword [esp + 0x14]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1000346b
push edi
call fcn.100123f6
pop ecx
cmp eax, 1
jne 0x1000346b
push 0
push dword [ebp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push edi
call fcn.10002f36
mov esi, eax
test esi, esi
js 0x100034b4
push edi
mov ecx, ebx
call fcn.1000258e
jmp 0x1000319f
cmp dword [ebp + 0x14], 0
jne 0x1000330c
push 0x20019
push edi
push dword [esp + 0x28]
lea ecx, [esp + 0x20]
call fcn.10001e68
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
test eax, eax
jne 0x10003314
jmp 0x1000331b
mov dword [esp + 0x24], 2
xor ebx, ebx
inc ebx
mov dword [esp + 0x28], ebx
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.10012d49
push eax
call fcn.10001297
mov ecx, dword [esp + 0x20]
add esp, 0x14
push edi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
mov ecx, dword [esp + 0xc]
push edi
call fcn.10002ad2
mov esi, eax
test esi, esi
js 0x100034b4
push 0x7b
pop eax
cmp word [edi], ax
jne 0x100033ab
push edi
call fcn.100123f6
pop ecx
cmp eax, 1
jne 0x100033ab
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 0
push ebx
push edi
call fcn.10002f36
mov esi, eax
test esi, esi
jns 0x10003395
cmp dword [esp + 0x28], 0
je 0x100034b4
mov ecx, dword [esp + 0xc]
push edi
call fcn.1000258e
mov esi, eax
test esi, esi
js 0x100034b4
jmp 0x100033af
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp eax, 2
je 0x1000346b
test eax, eax
je 0x100033cf
cmp dword [ebp + 0x14], 0
je 0x10003250
jmp 0x1000346b
cmp dword [ebp + 0x14], 0
je 0x10003404
push ebx
call fcn.10002a9d
test eax, eax
je 0x10003404
lea eax, [esp + 0x60]
push eax
call fcn.10002a6e
test eax, eax
je 0x1000346b
cmp dword [esp + 0x10], 0
je 0x1000346b
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.10001ec4
jmp 0x1000346b
push ebx
call fcn.10002a9d
mov ecx, eax
xor eax, eax
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x10003429
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x1000342b
xor ebx, ebx
mov dword [esp + 0x18], ebx
test eax, eax
jne 0x10003250
cmp dword [esp + 0x10], eax
je 0x1000346b
test ecx, ecx
jne 0x1000346b
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.10001dd5
mov dword [esp + 0x54], ebx
test eax, eax
jne 0x10003250
push 0x7d
pop eax
cmp word [edi], ax
je 0x100034b4
mov ebx, dword [esp + 0x14]
jmp 0x10002f93
mov ecx, eax
call fcn.1000130d
mov esi, eax
test ebx, ebx
je 0x100034b4
push ebx
jmp 0x100034a0
mov ecx, eax
call fcn.1000130d
cmp dword [esp + 0x38], 0
mov esi, eax
je 0x100034b4
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100034b4
mov esi, 0x80020009
jmp 0x100034b8
mov esi, 0x80020009
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100034c3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x226c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000dc5b
mov esp, ebp
pop ebp
ret 0x10