Function at 0x418270
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7ee4
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
cmp eax, edi
jne 0x4182e6
push 0x10
xor eax, eax
push str.Invalid_argument
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], ax
call fcn.004125c0
push 0x2c0
mov ecx, str.srcTaskManagerCacheManager.cpp
lea eax, [ebp - 0x84]
mov dword [ebp - 4], edi
call fcn.00429bf0
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4182f2
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x418459
cmp edi, 1
jle 0x4183aa
cmp edi, 3
jg 0x4183aa
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00403200
lea edx, [ebp - 0x1b4]
push str.Key_value
push edx
mov dword [ebp - 4], 3
call fcn.00404d50
lea eax, [ebp - 0x1b4]
push esi
push eax
call fcn.0041b8e0
lea ecx, [ebp - 0x1b4]
push str._does_not_exist
push ecx
call fcn.00404d50
add esp, 0x18
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x1b4]
call fcn.00402e30
mov edx, esi
push edx
push 3
mov byte [ebp - 4], 4
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x38], ebx
jb 0x41838b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x1b4]
jmp 0x4184d7
lea edx, [ebp - 0x11c]
push edx
call fcn.00403200
lea eax, [ebp - 0x11c]
push str.Failed_to_delete_key_value
push eax
mov dword [ebp - 4], 5
call fcn.00404d50
lea ecx, [ebp - 0x11c]
push esi
push ecx
call fcn.0041b8e0
lea edx, [ebp - 0x11c]
push str._with_error
push edx
call fcn.00404d50
add esp, 0x18
push edi
lea eax, [ebp - 0x11c]
push eax
call fcn.0041b300
lea esi, [ebp - 0x30]
lea eax, [ebp - 0x11c]
call fcn.00402e30
mov ecx, esi
push ecx
push 1
mov byte [ebp - 4], 6
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x1c], ebx
jb 0x41842c
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00401690
xor al, al
jmp 0x4184e5
lea ecx, [ebp - 0x24c]
push ecx
call fcn.00403200
lea edx, [ebp - 0x24c]
push str.Successfully_deleted_key_value
push edx
mov dword [ebp - 4], 1
call fcn.00404d50
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.0041b8e0
add esp, 0x10
lea esi, [ebp - 0x68]
lea eax, [ebp - 0x24c]
call fcn.00402e30
mov ecx, esi
push ecx
push 4
mov byte [ebp - 4], 2
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x54], ebx
jb 0x4184bd
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401690
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret