Function at 0x10003030
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10020c37
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.10018c90
mov eax, dword [0x1002a080]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x1002a080]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, edi
mov dword [esp + 0x2280], esi
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x100035dd
cmp word [edi], 0x7d
je 0x100035dd
jmp 0x100030c2
xor esi, esi
push str.Delete
push edi
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb ebx, ebx
push str.ForceRemove
inc ebx
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100030f7
cmp ebx, esi
je 0x100031aa
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x100035dd
cmp dword [ebp + 0x10], esi
je 0x100031aa
push 0x5c
mov eax, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.1000256a
pop ecx
test eax, eax
jne 0x10003584
push edi
call fcn.10002c29
test eax, eax
je 0x10003163
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.10002d09
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x1c], esi
je 0x1000319f
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x10003594
mov ecx, dword [esp + 0x10]
call fcn.10002bcc
lea esi, [esp + 0x30]
mov ebx, eax
call fcn.10002e24
test ebx, ebx
js 0x100035dd
jmp 0x1000352d
lea esi, [esp + 0x30]
call fcn.10002e24
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100031d3
mov ecx, dword [esp + 0x10]
mov eax, edi
mov dword [esp + 0x2c], esi
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x100035dd
push 0x10024a28
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100032f5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x100035dd
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x100035dd
cmp word [edi], 0x3d
jne 0x1000358d
cmp dword [ebp + 0x10], esi
je 0x1000327f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x2280], 1
mov dword [esp + 0x40], eax
push edi
lea eax, [esp + 0x270]
push eax
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.1000277c
mov ebx, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
cmp ebx, esi
lea esi, [esp + 0x40]
jl 0x100035d8
mov byte [esp + 0x2280], 0
call fcn.10002e24
jmp 0x10003531
cmp dword [ebp + 0x14], esi
jne 0x100032d9
cmp dword [esp + 0x2c], esi
je 0x100032d9
push esi
push dword [esp + 0x18]
mov eax, 0x20006
lea ebx, [esp + 0x60]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call fcn.10002cb7
test eax, eax
jne 0x1000359a
lea eax, [esp + 0x26c]
push eax
push dword [esp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100032d0
cmp eax, 2
jne 0x1000359a
lea esi, [esp + 0x58]
call fcn.10002e24
mov ecx, dword [esp + 0x10]
call fcn.10002bcc
mov ebx, eax
test ebx, ebx
js 0x100035dd
mov edi, dword [esp + 0x18]
jmp 0x10003476
push 0x5c
mov eax, edi
call fcn.1000256a
pop ecx
test eax, eax
jne 0x1000358d
cmp dword [ebp + 0x10], esi
je 0x10003390
push edi
push dword [esp + 0x18]
mov esi, 0x2001f
mov eax, esi
lea ebx, [esp + 0x28]
call fcn.10002cb7
test eax, eax
je 0x10003352
push edi
push dword [esp + 0x18]
lea eax, [esi - 6]
call fcn.10002cb7
test eax, eax
je 0x10003352
push edi
push dword [esp + 0x18]
mov eax, esi
mov ecx, ebx
call fcn.100025ff
mov ebx, eax
test ebx, ebx
jne 0x100035a5
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.10002f0a
mov ebx, eax
test ebx, ebx
js 0x100035dd
cmp word [edi], 0x3d
jne 0x10003531
mov ecx, dword [esp + 0x10]
push edi
push 0
lea edx, [esp + 0x28]
call fcn.1000277c
mov ebx, eax
test ebx, ebx
js 0x100035dd
jmp 0x10003531
cmp dword [ebp + 0x14], esi
jne 0x100033b0
push edi
push dword [esp + 0x18]
mov eax, 0x20019
lea ebx, [esp + 0x28]
call fcn.10002cb7
mov dword [esp + 0x1c], eax
xor esi, esi
jmp 0x100033b8
mov dword [esp + 0x1c], 2
cmp dword [esp + 0x1c], esi
je 0x100033c5
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.1000cdc2
push eax
call fcn.10002b94
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, edi
call fcn.10002f0a
mov ebx, eax
cmp ebx, esi
jl 0x100035dd
mov ecx, dword [esp + 0x10]
call fcn.10002bcc
mov ebx, eax
xor edi, edi
cmp ebx, edi
jl 0x100035dd
mov esi, dword [esp + 0x18]
cmp word [esi], 0x7b
jne 0x10003456
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003456
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push edi
push dword [esp + 0x28]
push esi
call fcn.10003030
mov ebx, eax
cmp ebx, edi
jge 0x10003441
cmp dword [ebp + 0x14], edi
je 0x100035dd
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.10002f0a
mov ebx, eax
cmp ebx, edi
jl 0x100035dd
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
je 0x10003474
cmp eax, edi
je 0x10003485
cmp dword [esp + 0x3c], edi
je 0x100035b7
mov edi, esi
cmp word [edi], 0x7d
jne 0x100030c0
jmp 0x100035dd
cmp dword [esp + 0x3c], edi
je 0x100034bc
push dword [esp + 0x20]
call fcn.10002def
test eax, eax
je 0x100034bc
lea eax, [esp + 0x64]
push eax
call fcn.10002c29
test eax, eax
je 0x10003474
cmp dword [esp + 0x2c], edi
je 0x10003474
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
call fcn.10002d09
jmp 0x10003474
push dword [esp + 0x20]
call fcn.10002def
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.10002e24
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x100035c0
cmp dword [esp + 0x2c], eax
je 0x100032ec
cmp dword [esp + 0x1c], eax
jne 0x100032ec
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x64]
push eax
lea edi, [esp + 0x50]
mov dword [esp + 0x50], ecx
call fcn.10002e8d
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
cmp eax, ecx
jne 0x100035cd
mov esi, edi
call fcn.10002e24
mov edi, dword [esp + 0x18]
cmp dword [ebp + 0x10], 0
je 0x10003476
cmp word [edi], 0x7b
jne 0x10003476
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003476
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x28]
push edi
call fcn.10003030
mov ebx, eax
test ebx, ebx
js 0x100035dd
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.10002f0a
mov ebx, eax
test ebx, ebx
js 0x100035dd
jmp 0x10003476
lea esi, [esp + 0x30]
call fcn.10002e24
mov ebx, 0x80020009
jmp 0x100035dd
lea esi, [esp + 0x30]
jmp 0x100035d8
call fcn.10002efb
lea esi, [esp + 0x58]
jmp 0x100035d6
lea esi, [esp + 0x20]
call fcn.10002e24
mov eax, ebx
call fcn.10002efb
jmp 0x100035e8
call fcn.10002efb
mov ebx, eax
jmp 0x100035dd
lea esi, [esp + 0x20]
call fcn.10002e24
mov eax, edi
jmp 0x100035b0
call fcn.10002efb
lea esi, [esp + 0x4c]
mov ebx, eax
call fcn.10002e24
lea esi, [esp + 0x20]
call fcn.10002e24
mov eax, ebx
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.1000cdb3
mov esp, ebp
pop ebp
ret 0x10