Function at 0x427971
Capabilities:
Delete registry key

Disassembly:
push 0x30
mov eax, 0x57e768
call fcn.0042c498
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], eax
call fcn.004312ee
test al, al
je 0x4279b1
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.0043148c
test al, al
je 0x4279d6
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, str.SOFTWAREClassesCLSID_
mov dword [ebp - 0x14], 7
push esi
mov word [ebp - 0x28], ax
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004202e4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0xf013f
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427a41
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
call fcn.00427022
cmp dword [ebp - 0x2c], 0
je 0x427a41
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004312ee
test al, al
je 0x427a64
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.0043148c
test al, al
je 0x427a89
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
mov esi, str.CLSID_
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004202e4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427adf
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
call fcn.00427022
cmp dword [ebp - 0x30], 0
je 0x427adf
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00431378
test al, al
je 0x427afd
pop edx
pop ebp
pop eax
push ecx
pop edx
push edx
pop edi
push eax
pop ebx
push esp
pop esi
push ebp
pop eax
pop ebx
pop edi
pop eax
push ebx
push edx
push ebx
push edi
pop eax
call fcn.0043110b
test al, al
je 0x427b16
pop ecx
push ebp
pop ebp
push eax
pop ebp
pop ecx
push ebp
pop ecx
push edx
pop edi
pop edx
push eax
pop edx
pop edx
pop ecx
pop eax
call fcn.004316b4
test al, al
je 0x427b33
pop esi
push ecx
pop edx
pop edx
push ebx
pop ebx
pop ecx
push edx
pop esi
pop ebp
push esi
push esi
pop esi
push ebp
push edi
pop ebx
push ebx
pop edi
pop ebp
pop esi
mov esi, str.TypeLib_
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004202e4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427b89
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
call fcn.004271ce
cmp dword [ebp - 0x34], 0
je 0x427b89
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00431378
test al, al
je 0x427baf
push ebp
push ecx
push edi
pop esi
pop ecx
pop eax
pop esp
push ebx
push edi
pop ecx
push ecx
pop esp
push ecx
push eax
push ebx
push edi
push ebp
push esp
push eax
push ebx
pop esp
push eax
pop ebx
pop esi
pop eax
push ebp
push esi
push ecx
push edx
call fcn.004315e5
test al, al
je 0x427bd3
push esp
pop edx
push ebx
pop ebp
pop eax
pop ebp
push ecx
pop eax
push eax
push ecx
pop ebx
push edx
pop esi
push edx
pop esp
pop esp
push ebp
pop edx
pop ecx
push ebp
push eax
push edi
push esp
pop edi
push esi
push ecx
pop edi
mov esi, str.SOFTWAREClassesDirectory_background_shellexContextMenuHandlers_
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004202e4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x3c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427c43
mov esi, str.XiangcaoWifiAccer
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004202e4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042019a
call fcn.0042c453
ret