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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x84
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionDevices
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
test eax, eax
setne al
test al, al
je 0x421394
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x80]
mov eax, dword [0x56896c]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x10], str.Error_opening_registry
mov dword [esp + 0xc], 0x148
mov dword [esp + 8], str._builds_Soffid_esso_libmazinger_engine_src_main_native_script_EcmaNetworkResource.cpp
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044ce0f
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionPrinterPorts
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
test eax, eax
setne al
test al, al
je 0x42142b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x80]
mov eax, dword [0x56896c]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x10], str.Error_opening_registry
mov dword [esp + 0xc], 0x14e
mov dword [esp + 8], str._builds_Soffid_esso_libmazinger_engine_src_main_native_script_EcmaNetworkResource.cpp
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044ce0f
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PrintersConnections
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
test eax, eax
setne al
test al, al
je 0x4214c2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x80]
mov eax, dword [0x56896c]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x10], str.Error_opening_registry
mov dword [esp + 0xc], 0x154
mov dword [esp + 8], str._builds_Soffid_esso_libmazinger_engine_src_main_native_script_EcmaNetworkResource.cpp
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044ce0f
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00420604
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ea84
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ea60
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004b0f68
test al, al
je 0x42153f
lea eax, [ebp - 0x48]
mov ecx, eax
call fcn.004b2730
mov ecx, eax
call fcn.004bfb20
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
lea eax, [ebp - 0x48]
mov dword [esp], 0
mov ecx, eax
call fcn.004afe9c
sub esp, 4
jmp 0x4214e1
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00420604
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov ecx, eax
call fcn.0052ece8
sub esp, 4
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0052ecac
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ea84
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ea60
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.004b0f68
test al, al
je 0x4215d9
lea eax, [ebp - 0x4c]
mov ecx, eax
call fcn.004b2730
mov ecx, eax
call fcn.004bfb20
mov edx, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
lea eax, [ebp - 0x4c]
mov dword [esp], 0
mov ecx, eax
call fcn.004afe9c
sub esp, 4
jmp 0x42157b
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0042079b
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x18]
mov dword [esp], edx
mov ecx, eax
call fcn.0052ece8
sub esp, 4
lea eax, [ebp - 0x18]
mov ecx, eax
call fcn.0052ecac
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ea84
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ea60
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.004b0f68
test al, al
je 0x421673
lea eax, [ebp - 0x50]
mov ecx, eax
call fcn.004b2730
mov ecx, eax
call fcn.004bfb20
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
call eax
sub esp, 8
lea eax, [ebp - 0x50]
mov dword [esp], 0
mov ecx, eax
call fcn.004afe9c
sub esp, 4
jmp 0x421615
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
lea eax, [ebp - 0x44]
mov ecx, eax
call fcn.0052ecac
jmp 0x4216c5
mov ebx, dword [ebp - 4]
leave
ret