Function at 0x4271ce
Capabilities:
Delete registry key

Disassembly:
push 0x2c
mov eax, 0x57e6fe
call fcn.0042c498
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
call fcn.00431378
test al, al
je 0x427216
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
xor ebx, ebx
call fcn.0043166f
test al, al
je 0x427238
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov esi, 0x582f58
mov dword [ebp - 0x18], ebx
push esi
mov word [ebp - 0x28], ax
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004202e4
mov esi, str.F6130F86_C7EB_4FFB_9E70_A1476A4CAB71
mov dword [ebp - 4], ebx
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00420e5e
mov esi, 0x582fac
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00420e5e
call fcn.0043110b
test al, al
je 0x4272a8
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
xor ebx, ebx
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov esi, 0xf013f
push ecx
push esi
push ebx
push eax
push dword [ebp - 0x38]
call edi
test eax, eax
jne 0x4273a5
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
push 0x58307c
push dword [ebp - 0x34]
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x427345
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push ebx
mov ebx, 0x583084
push ebx
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x427322
push 0x583088
push dword [ebp - 0x30]
call esi
push str.win64
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push dword [ebp - 0x2c]
call esi
push str.FLAGS
push dword [ebp - 0x2c]
call esi
push str.HELPDIR
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043155b
test al, al
je 0x42735e
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
push 0x58307c
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004315e5
test al, al
je 0x427392
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call esi
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0042019a
call fcn.0042c453
ret 4