Function at 0x404cd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dd88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5d2fec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.00417ce3
mov ecx, eax
test ecx, ecx
jne 0x404d17
push 0x80004005
call fcn.00407010
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push 0x5af8f0
mov dword [ebp - 0x18], 0
call fcn.00406840
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
mov dword [ebp - 0x24], ecx
push eax
lea edi, [ebp - 0x18]
call fcn.004069a0
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.004047c0
add esp, 4
mov byte [ebp - 4], 4
lea edi, [esi - 0x10]
mov ecx, dword [eax]
or ebx, 0xffffffff
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x404db8
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x404da9
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x404da9
push edx
call fcn.00406c80
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x404da1
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x404db8
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406bd0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404dd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], ecx
call fcn.004069a0
call fcn.00404900
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, 0x2001f
mov dword [ebp - 0x1c], 0
push 0x5af224
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x404e28
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
je 0x404e55
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x404e50
push str.Wow6432Node
push eax
call fcn.00550fb4
add esp, 8
test eax, eax
je 0x404e50
sub eax, dword [ebp + 8]
sar eax, 1
jns 0x404e55
mov edi, 0x2011f
lea eax, [ebp - 0x20]
push eax
push edi
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404e90
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push dword [ebp - 0x20]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x404e90
mov edi, 1
jmp 0x404e92
xor edi, edi
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404eb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404ecb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404ee9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x404f08
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054e73a
mov esp, ebp
pop ebp
ret