Function at 0x10002f20
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x100131a6
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1001c7a0]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001c7a0]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov eax, dword [esp + 0x458]
mov edi, dword [esp + 0x454]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x460]
push edi
mov dword [esp + 0x450], ebx
mov dword [esp + 0x2c], edx
call fcn.10001680
mov esi, eax
cmp esi, ebx
jl 0x100035a0
cmp word [edi], 0x7d
je 0x1000359e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call ebx
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
add ebp, 1
call ebx
test eax, eax
je 0x10002fd6
test ebp, ebp
je 0x100030d5
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
xor esi, esi
cmp dword [esp + 0x45c], esi
je 0x100030d7
movzx ecx, word [edi]
cmp cx, si
mov dword [esp + 0x20], esi
mov eax, edi
je 0x10003029
movzx ecx, cx
cmp cx, 0x5c
je 0x10003021
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, si
jne 0x1000300a
jmp 0x10003029
cmp eax, esi
jne 0x10003520
mov ecx, dword [esp + 0x1c]
push edi
call fcn.100017e0
test eax, eax
je 0x1000304d
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.10001ef0
mov dword [esp + 0x20], esi
cmp ebp, esi
je 0x100030d7
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, ebx
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x10003539
push edi
mov ecx, ebx
call fcn.10001870
mov esi, eax
test esi, esi
jl 0x10003539
cmp word [edi], 0x7b
jne 0x100030c6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100030c6
mov ecx, dword [esp + 0x45c]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x24]
push edx
push edi
call fcn.10002f20
mov esi, eax
test esi, esi
jl 0x1000358f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
cmp word [edi], 0x7d
jne 0x10002fa3
jmp 0x1000358f
xor esi, esi
push str.NoRemove
push edi
call ebx
test eax, eax
jne 0x100030fd
mov ecx, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], eax
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
xor esi, esi
push 0x10015384
push edi
call ebx
test eax, eax
jne 0x100031ff
lea ecx, [esp + 0x238]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
cmp word [edi], 0x3d
jne 0x10003529
xor ebx, ebx
cmp dword [esp + 0x45c], ebx
je 0x10003192
mov edx, dword [esp + 0x24]
push edi
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x458], 1
mov dword [esp + 0x20], edx
call fcn.10002bf0
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], ebx
jl 0x1000353f
mov byte [esp + 0x44c], bl
jmp 0x1000307d
cmp dword [esp + 0x460], ebx
jne 0x100031ec
cmp dword [esp + 0x14], ebx
je 0x100031ec
mov edx, dword [esp + 0x24]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.100012a0
cmp eax, ebx
jne 0x1000357b
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x238]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100031e1
cmp eax, 2
jne 0x1000357b
cmp esi, ebx
je 0x100031ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001870
mov esi, eax
cmp esi, ebx
jmp 0x100030c0
movzx ecx, word [edi]
cmp cx, si
mov eax, edi
je 0x1000322f
movzx ecx, cx
lea esp, [esp]
cmp cx, 0x5c
je 0x10003227
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, si
jne 0x10003210
jmp 0x1000322f
cmp eax, esi
jne 0x10003529
cmp dword [esp + 0x45c], esi
je 0x1000334e
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push esi
push edi
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x1000327e
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, esi
je 0x1000326c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
je 0x10003310
xor esi, esi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20019
push esi
push edi
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100032ba
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, esi
je 0x100032ae
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
je 0x10003310
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x10003553
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100032fe
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov edx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18], edx
jne 0x10003553
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
cmp word [edi], 0x3d
jne 0x1000307d
mov ecx, dword [esp + 0x1c]
push edi
push 0
lea eax, [esp + 0x20]
push eax
call fcn.10002bf0
mov esi, eax
test esi, esi
jl 0x1000358f
jmp 0x1000307d
cmp dword [esp + 0x460], esi
jne 0x10003464
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push esi
push edi
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10003393
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, esi
je 0x1000338b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
cmp eax, esi
mov ebp, eax
je 0x100033a4
mov dword [esp + 0x460], 1
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x38]
push 0x104
push edx
call fcn.1000b651
push eax
call fcn.10001070
mov ecx, dword [esp + 0x30]
add esp, 0x14
push edi
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001870
mov esi, eax
test esi, esi
jl 0x1000358f
cmp word [edi], 0x7b
jne 0x10003434
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003434
mov ebx, dword [esp + 0x460]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebx
push 0
push eax
push edi
call fcn.10002f20
mov esi, eax
test esi, esi
jge 0x10003420
test ebx, ebx
je 0x1000358f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10001680
mov esi, eax
test esi, esi
jl 0x1000358f
cmp ebp, 2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x460], eax
je 0x100030c6
test ebp, ebp
je 0x1000346e
test eax, eax
jne 0x100030c6
push ebp
call fcn.10001200
add esp, 4
mov esi, eax
jmp 0x1000358f
mov ebp, 2
jmp 0x10003399
test eax, eax
je 0x100034b8
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.10001820
test eax, eax
je 0x100034b8
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.100017e0
test eax, eax
je 0x100030c6
cmp dword [esp + 0x14], 0
je 0x100030c6
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001ef0
jmp 0x100030c6
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.10001820
test ebp, ebp
mov ebx, eax
je 0x100034e7
mov ecx, ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], 0
jne 0x10003567
cmp dword [esp + 0x14], 0
je 0x100030c6
test ebx, ebx
jne 0x100030c6
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov dword [esp + 0x14], ebx
jne 0x1000357b
lea ecx, [esp + 0x14]
call fcn.10001ed0
jmp 0x100030c6
lea ecx, [esp + 0x20]
call fcn.10001ed0
lea ecx, [esp + 0x18]
call fcn.10001ed0
mov eax, 0x80020009
jmp 0x100035a0
lea ecx, [esp + 0x20]
jmp 0x1000358a
lea ecx, [esp + 0x14]
call fcn.10001ed0
lea ecx, [esp + 0x18]
call fcn.10001ed0
jmp 0x1000359e
lea ecx, [esp + 0x18]
call fcn.10001ed0
push esi
call fcn.10001200
add esp, 4
jmp 0x100035a0
lea ecx, [esp + 0x18]
call fcn.10001ed0
push ebp
call fcn.10001200
add esp, 4
jmp 0x100035a0
push eax
call fcn.10001200
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10001ed0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000359e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.1000b8b6
add esp, 0x43c
ret 0x10