Function at 0x404c05
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ebef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push esi
mov byte [ebp - 0x10], 0
mov eax, dword [ebp + 8]
and eax, 0xff
test eax, eax
je 0x404c40
mov dword [ebp - 0x90], str.true
jmp 0x404c4a
mov dword [ebp - 0x90], str.false
push ecx
mov esi, esp
mov dword [ebp - 0x40], esp
push 0x43a79c
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041deec
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x98]
push eax
push str.deleting_component_set:__check_ony:
lea ecx, [ebp - 0x48]
push ecx
call fcn.0041e187
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
push eax
push esi
call fcn.0041e113
mov dword [ebp - 0xa4], eax
call fcn.00403f0e
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041de7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0041de7e
lea ecx, [ebp - 0x20]
push ecx
push 0x2001f
push 0
push 0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x20], 0
jne 0x404d1a
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.unable_to_open_HKLM
call fcn.0041deec
mov dword [ebp - 0xa8], eax
call fcn.00403fae
add esp, 4
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push 0
push 0x43a7e8
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x24], 0
jne 0x404d58
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.unable_to_open_HKLMSOFTWARE
call fcn.0041deec
mov dword [ebp - 0xac], eax
call fcn.00403fae
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x2001f
push 0
push 0x43a814
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x1c], 0
jne 0x404d96
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.unable_to_open_HKLMSOFTWAREMicrosoft
call fcn.0041deec
mov dword [ebp - 0xb0], eax
call fcn.00403fae
add esp, 4
lea eax, [ebp - 0x28]
push eax
push 0x2001f
push 0
push str.Microsoft_SQL_Server
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x28], 0
jne 0x404dd4
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.unable_to_open_HKLMSOFTWAREMicrosoftMicrosoft_SQL_Server
call fcn.0041deec
mov dword [ebp - 0xb4], eax
call fcn.00403fae
add esp, 4
lea edx, [ebp - 0x14]
push edx
push 0x2001f
push 0
push str.Component_Set
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x14], 0
jne 0x404e12
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.unable_to_open_HKLMSOFTWAREMicrosoftMicrosoft_SQL_ServerComponent_Set
call fcn.0041deec
mov dword [ebp - 0xb8], eax
call fcn.00403fae
add esp, 4
mov dword [ebp - 0x18], 1
jmp 0x404e24
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x64
jge 0x40517b
mov dword [ebp - 0x3c], 0x7d0
lea ecx, [ebp - 0x38]
call fcn.00406220
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00406220
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
push edx
push str.InstanceComponentSet._d
lea eax, [ebp - 0x34]
push eax
call fcn.0041c3b1
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0x7d0
lea ecx, [ebp - 0x38]
call fcn.0041e2ae
push eax
lea edx, [ebp - 0x30]
push edx
push 0
lea ecx, [ebp - 0x34]
call fcn.004062a0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call fcn.0041e2fd
cmp dword [ebp - 0x2c], 0
jne 0x40515b
push str.F3BAD33B_5B9A_4025_A066_DDC76E2AF606
lea ecx, [ebp - 0x38]
push ecx
call fcn.00406310
and eax, 0xff
test eax, eax
je 0x405082
mov edx, dword [ebp + 8]
and edx, 0xff
test edx, edx
je 0x404f9f
push ecx
mov esi, esp
mov dword [ebp - 0x60], esp
push 0x43a938
lea eax, [ebp - 0x34]
push eax
push 0x43a93c
lea ecx, [ebp - 0x38]
push ecx
push str.found_value__
lea edx, [ebp - 0x64]
push edx
call fcn.0041e187
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0041e113
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0041e0ad
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xd0]
push ecx
push esi
call fcn.0041e113
mov dword [ebp - 0xd4], eax
call fcn.00403f0e
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.0041de7e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0041de7e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0041de7e
jmp 0x405079
lea ecx, [ebp - 0x34]
call fcn.004062a0
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ecx
mov esi, esp
mov dword [ebp - 0x70], esp
push 0x43a954
lea eax, [ebp - 0x34]
push eax
push str.__of__
lea ecx, [ebp - 0x38]
push ecx
push str.deleting_value__
lea edx, [ebp - 0x74]
push edx
call fcn.0041e187
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.0041e113
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.0041e0ad
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xec]
push ecx
push esi
call fcn.0041e113
mov dword [ebp - 0xf0], eax
call fcn.00403f0e
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.0041de7e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.0041de7e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.0041de7e
mov byte [ebp - 0x10], 1
jmp 0x40515b
push ecx
mov esi, esp
mov dword [ebp - 0x80], esp
push 0x43a974
lea edx, [ebp - 0x38]
push edx
push str._:_value_
lea eax, [ebp - 0x34]
push eax
push str.keeping__
lea ecx, [ebp - 0x84]
push ecx
call fcn.0041e187
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0041e113
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0041e0ad
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x108]
push eax
push esi
call fcn.0041e113
mov dword [ebp - 0x10c], eax
call fcn.00403f0e
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
call fcn.0041de7e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.0041de7e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.0041de7e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0041de7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041de7e
jmp 0x404e1b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret