Function at 0x1000301d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.100219d0
mov eax, dword [0x10039008]
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 + 0x1c], ebx
and dword [esp + 0x20], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000354d
jmp 0x1000344c
push str.Delete
push edi
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x10030128
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100030a8
test esi, esi
je 0x10003147
mov ecx, dword [esp + 0x10]
push edi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10003149
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
call fcn.100025c0
test eax, eax
jne 0x10003539
push edi
call fcn.10002b4d
test eax, eax
je 0x10003109
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call fcn.10001fd8
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x18], esi
je 0x10003141
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
push edi
mov ecx, ebx
call fcn.10002bb1
mov esi, eax
test esi, esi
js 0x1000353e
and dword [esp + 0x34], 0
jmp 0x100034c2
mov dword [esp + 0x34], esi
jmp 0x10003149
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003171
mov ecx, dword [esp + 0x10]
push edi
mov dword [esp + 0x2c], esi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
push 0x10030120
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003293
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x268]
push eax
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
mov ecx, dword [esp + 0x10]
push edi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10003539
cmp dword [ebp + 0x10], 0
je 0x1000320d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x268]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10002780
and dword [esp + 0x48], 0
mov esi, eax
and dword [esp + 0x50], 0
test esi, esi
js 0x1000353e
and dword [esp + 0x4c], 0
jmp 0x100034c2
cmp dword [ebp + 0x14], 0
jne 0x1000327a
cmp dword [esp + 0x28], 0
je 0x1000327a
xor esi, esi
lea ecx, [esp + 0x3c]
push 0x20006
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.10001f7c
test eax, eax
jne 0x1000351d
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10003263
cmp eax, 2
jne 0x1000350d
test ebx, ebx
je 0x10003272
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x3c], esi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
mov ecx, dword [esp + 0x10]
push edi
call fcn.10002bb1
mov esi, eax
test esi, esi
js 0x1000353e
jmp 0x1000344c
push 0x5c
pop edx
mov ecx, edi
call fcn.100025c0
test eax, eax
jne 0x10003539
cmp dword [ebp + 0x10], eax
je 0x10003330
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x2001f
push edi
push ebx
call fcn.10001f7c
test eax, eax
je 0x100032f0
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x28]
call fcn.10001f7c
test eax, eax
je 0x100032f0
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push ebx
call fcn.10001f1b
test eax, eax
jne 0x10003407
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
push 0x3d
pop eax
cmp word [edi], ax
jne 0x100034c2
push edi
push 0
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.10002780
mov esi, eax
test esi, esi
js 0x1000353e
jmp 0x100034c2
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x10003350
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.10001f7c
mov ebx, dword [esp + 0x1c]
jmp 0x10003353
push 2
pop eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x10003367
mov dword [esp + 0x2c], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.1001386d
push eax
call fcn.100012a7
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
mov ecx, dword [esp + 0x10]
push edi
call fcn.10002bb1
mov esi, eax
test esi, esi
js 0x1000353e
push 0x7b
pop eax
cmp word [edi], ax
jne 0x100033f4
push edi
call fcn.10012f1a
pop ecx
cmp eax, 1
jne 0x100033f4
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push 0
push ebx
push edi
call fcn.1000301d
mov esi, eax
test esi, esi
jns 0x100033e0
cmp dword [esp + 0x2c], 0
je 0x1000353e
mov ecx, dword [esp + 0x10]
push edi
call fcn.10002625
mov esi, eax
test esi, esi
js 0x1000353e
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x1000344c
test eax, eax
je 0x10003415
cmp dword [ebp + 0x14], 0
jne 0x1000344c
mov ecx, eax
call fcn.1000131d
mov esi, eax
jmp 0x1000353e
cmp dword [ebp + 0x14], 0
je 0x1000345d
push ebx
call fcn.10002b7c
test eax, eax
je 0x1000345d
lea eax, [esp + 0x60]
push eax
call fcn.10002b4d
test eax, eax
je 0x1000344c
cmp dword [esp + 0x28], 0
je 0x1000344c
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.10001fd8
mov ebx, dword [esp + 0x1c]
push 0x7d
pop eax
cmp word [edi], ax
jne 0x10003073
jmp 0x1000353e
push ebx
call fcn.10002b7c
mov ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x10003480
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
and dword [esp + 0x20], 0
test eax, eax
jne 0x10003407
cmp dword [esp + 0x28], eax
je 0x1000344c
test ecx, ecx
jne 0x1000344c
mov eax, dword [esp + 0x14]
and dword [esp + 0x58], ecx
and dword [esp + 0x5c], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
push eax
call fcn.10001e88
and dword [esp + 0x54], 0
test eax, eax
jne 0x10003407
cmp dword [ebp + 0x10], 0
je 0x10003448
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10003448
push edi
call fcn.10012f1a
mov ebx, dword [esp + 0x20]
pop ecx
cmp eax, 1
jne 0x1000344c
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.1000301d
mov esi, eax
test esi, esi
js 0x1000353e
mov ecx, dword [esp + 0x10]
push edi
call fcn.10002625
jmp 0x10003284
mov ecx, eax
call fcn.1000131d
mov esi, eax
test ebx, ebx
je 0x1000353e
push ebx
jmp 0x10003531
mov ecx, eax
call fcn.1000131d
cmp dword [esp + 0x3c], 0
mov esi, eax
je 0x1000353e
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000353e
mov esi, 0x80020009
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1000354d
push ecx
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.1000e1c5
mov esp, ebp
pop ebp
ret 0x10