Function at 0x1000ef70
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xc
push ebx
push esi
mov eax, dword [esp + 0x24]
push edi
mov bl, byte [esp + 0x20]
push ebp
push 1
push 0
push 0
push eax
push ebx
call fcn.1000f810
mov esi, dword [esp + 0x3c]
add esp, 0x14
push 1
push 0
push 0
push esi
push ebx
call fcn.1000f810
add esp, 0x14
test bl, bl
je 0x1000f255
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.10025f00
add esp, 8
test eax, eax
je 0x1000f255
cmp dword [0x100307cc], 0
je 0x1000efd1
mov eax, dword [0x100307d0]
jmp 0x1000efd6
call fcn.100188c0
test eax, eax
jne 0x1000f0be
push esi
call fcn.1001f4a6
add esp, 4
lea eax, [eax*2 + 2]
push eax
call fcn.1000ddc0
add esp, 4
mov edi, eax
push edi
push esi
call fcn.10018bb0
mov eax, dword [esp + 0x34]
add esp, 8
push eax
call fcn.1001f4a6
add esp, 4
lea eax, [eax*2 + 2]
push eax
call fcn.1000ddc0
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x2c]
push ebx
push eax
call fcn.10018bb0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
add esp, 8
push eax
push ecx
mov ebp, dword [esp + 0x28]
push 0
push 0x20006
push 0
push 0
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000f071
push ebx
call fcn.1001f43e
add esp, 4
push edi
call fcn.1001f43e
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0x10], 1
je 0x1000f09d
push ebx
call fcn.1001f43e
add esp, 4
push edi
call fcn.1001f43e
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x1000f12c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
mov edx, dword [esp + 0x34]
push 0
mov ebp, dword [esp + 0x2c]
push 0x20006
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
push 0
push edx
push ebp
call edi
test eax, eax
jne 0x1000f255
cmp dword [esp + 0x10], 1
je 0x1000f109
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push esi
push ebp
call edi
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x1000f16e
cmp dword [0x100307cc], 0
je 0x1000f140
mov eax, dword [0x100307d0]
jmp 0x1000f145
call fcn.100188c0
test eax, eax
jne 0x1000f15b
push ebx
call fcn.1001f43e
add esp, 4
push edi
call fcn.1001f43e
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.10013740
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
push eax
jne 0x1000f1ef
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100307cc], 0
je 0x1000f1aa
mov eax, dword [0x100307d0]
jmp 0x1000f1af
call fcn.100188c0
test eax, eax
jne 0x1000f1d5
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
call fcn.1001f43e
add esp, 4
push edi
call fcn.1001f43e
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push esi
push ebp
call fcn.10013c60
add esp, 8
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100307cc], 0
je 0x1000f210
mov eax, dword [0x100307d0]
jmp 0x1000f215
call fcn.100188c0
test eax, eax
jne 0x1000f23b
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
call fcn.1001f43e
add esp, 4
push edi
call fcn.1001f43e
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
push eax
push ebp
call fcn.10013c60
mov eax, dword [esp + 0x34]
add esp, 8
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret