Function at 0x461930
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df95e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::DeleteKeyValue
push 0xd3
push 3
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00431610
mov byte [ebp - 4], 2
mov edx, str.DeleteKeyValue___START
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.004327d0
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [ebp + 0x3c]
mov byte [ebp - 4], 4
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0043eae0
mov edi, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
jne 0x461a79
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
lea ecx, [ebp - 0x10]
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::DeleteKeyValue
test esi, esi
jne 0x461a39
push 0xdd
push 3
call fcn.00431610
mov byte [ebp - 4], 5
mov edx, str.Successfully_Removed_from_registry_value
mov ecx, dword [eax]
call fcn.004333c0
lea edx, [ebp + 0x24]
mov ecx, eax
call fcn.00433d20
mov byte [ebp - 4], 6
jmp 0x461ac4
push 0xe1
push 4
call fcn.00431610
mov byte [ebp - 4], 7
mov edx, str.Failed_to_delete_value
mov ecx, dword [eax]
call fcn.004333c0
push esi
lea edx, [ebp + 0x24]
mov ecx, eax
call fcn.00433d20
mov edx, str..Error_code_:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 8
jmp 0x461ac4
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::DeleteKeyValue
push 0xe6
push 4
lea ecx, [ebp - 0x10]
call fcn.00431610
mov byte [ebp - 4], 9
mov edx, str.Failed_to_Open_subkey
mov ecx, dword [eax]
call fcn.004333c0
push esi
lea edx, [ebp + 0xc]
mov ecx, eax
call fcn.00433d20
mov edx, str..Error_code_:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
call fcn.004327d0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call ebx
push str...includeMcRegistryOps.cpp
push str.CMcRegistryOps::DeleteKeyValue
push 0xe8
push 3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00431610
mov byte [ebp - 4], 0xb
mov edx, str.DeleteKeyValue___END
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
call fcn.004327d0
mov eax, dword [ebp - 0x10]
add eax, 0x14
push eax
call ebx
test edi, edi
je 0x461b22
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x461b39
push 2
inc eax
push eax
push dword [ebp + 0xc]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
cmp eax, 8
jb 0x461b64
push 2
inc eax
push eax
push dword [ebp + 0x24]
call fcn.00402ff0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38