Function at 0x412eda
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x43e7cd
call fcn.0043bc87
mov ebx, ecx
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
mov dword [ebp - 0x14], eax
jge 0x412f6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.00419470
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 4], edi
call fcn.0041a530
push dword [eax]
lea eax, [ebp + 0xc]
push esi
push str.COM_interfaces_initialization_has_failed._System_error:___d___s
push eax
mov byte [ebp - 4], 1
call fcn.0041b950
add esp, 0x18
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00419480
lea ecx, [ebp + 0xc]
call fcn.004195a0
push eax
push 1
push 0x6d
push str..NBService.cpp
push 0x4593c0
call fcn.0040e4bd
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp + 0xc]
call fcn.00419480
mov eax, dword [ebp - 0x14]
call fcn.0043bd5f
ret 8
mov ecx, ebx
call fcn.0040fac6
mov eax, dword [ebx]
push edi
push 1
push 0x64
push ebx
call dword [eax + 0x20]
test eax, eax
mov dword [ebp - 0x14], eax
mov edi, str..NBService.cpp
mov esi, 0x4593c0
je 0x412ff6
lea ecx, [ebp - 0x18]
call fcn.00419470
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 2
call fcn.0041a530
push dword [eax]
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
push str.UpdateRegistryFromResource_has_failed._System_error:__0x_x___s
push eax
call fcn.0041b950
add esp, 0x18
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00419480
lea ecx, [ebp - 0x18]
call fcn.004195a0
push eax
push 1
push 0x7b
push edi
push esi
call fcn.0040e4bd
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.00419480
and dword [ebp - 0x18], 0
push 0x20006
push str.AppID
push SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 4
call fcn.0040d88f
test eax, eax
mov dword [ebp - 0x10], eax
je 0x413099
lea ecx, [ebp + 0xc]
call fcn.00419470
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 5
call fcn.0041a530
push dword [eax]
lea eax, [ebp + 0xc]
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
push str.HKEY_CLASSES_ROOT_open_has_failed._System_error:___d___s
push eax
call fcn.0041b950
add esp, 0x18
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00419480
lea ecx, [ebp + 0xc]
call fcn.004195a0
push eax
push 1
push 0x85
push edi
push esi
call fcn.0040e4bd
add esp, 0x14
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00419480
lea ecx, [ebp - 0x18]
call fcn.0040d82a
mov eax, dword [ebp - 0x10]
jmp 0x412f67
and dword [ebp - 0x14], 0
push 0x20006
push str.0B0A4A53_FEA7_4693_89EE_926A445E3A36
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040d88f
test eax, eax
mov dword [ebp - 0x10], eax
je 0x413141
lea ecx, [ebp + 0xc]
call fcn.00419470
mov ebx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.0041a530
push dword [eax]
lea eax, [ebp + 0xc]
push ebx
push str.Failed_to_open_class_key._System_error:___d___s
push eax
mov byte [ebp - 4], 9
call fcn.0041b950
add esp, 0x18
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00419480
lea ecx, [ebp + 0xc]
call fcn.004195a0
push eax
push 1
push 0x90
push edi
push esi
call fcn.0040e4bd
add esp, 0x14
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00419480
lea ecx, [ebp - 0x14]
call fcn.0040d82a
lea ecx, [ebp - 0x18]
call fcn.0040d82a
mov eax, ebx
jmp 0x412f67
push str.LocalService
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 0xc], 0
je 0x413187
push 0xffffffffffffffff
push 0
push str.LocalService
lea eax, [ebx + 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d94a
push 0xffffffffffffffff
push 0
push str.ServiceParameters
push str._Service
lea ecx, [ebp - 0x14]
call fcn.0040d94a
mov ecx, ebx
call fcn.0040f7b5
push 0
push dword [ebp + 8]
mov ecx, ebx
call fcn.00412dfc
mov ebx, eax
test ebx, ebx
je 0x4131f9
lea ecx, [ebp + 8]
call fcn.00419470
lea eax, [ebp - 0x1c]
push ebx
push eax
mov byte [ebp - 4], 0xa
call fcn.0041a530
push dword [eax]
lea eax, [ebp + 8]
push ebx
push str.RegisterServer_has_failed._System_error:__0x_x___s
push eax
mov byte [ebp - 4], 0xb
call fcn.0041b950
add esp, 0x18
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00419480
lea ecx, [ebp + 8]
call fcn.004195a0
push eax
push 1
push 0xa8
push edi
push esi
call fcn.0040e4bd
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00419480
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x41312a