Function at 0x4c4b06
Capabilities:
Delete registry value

Disassembly:
push 0x2b4
mov eax, 0x665877
call fcn.005b47af
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0040bd70
mov byte [ebp - 4], 1
cmp esi, 0x80000001
jne 0x4c4bc2
lea eax, [ebp - 0xa4]
push eax
call fcn.004c407a
mov ecx, eax
call fcn.004c4019
mov esi, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push 0x6869a4
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
call fcn.004290f9
push edi
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
call fcn.0042ab45
add esp, 0x18
lea ecx, [ebp - 0x58]
push eax
call fcn.0040c133
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00409de7
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00409de7
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00409de7
push 0x6869a4
call fcn.005ff18e
pop ecx
push eax
push 0xffffffffffffffff
push 0x6869a4
lea ecx, [ebp - 0x58]
call fcn.0041203b
mov edi, eax
cmp edi, 0xffffffff
je 0x4c4dc6
push edi
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041210e
push 0xffffffffffffffff
lea eax, [edi + 1]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041210e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xf003f
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb0]
push eax
push esi
mov byte [ebp - 4], 5
call fcn.004c2721
test eax, eax
je 0x4c4ca6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xf013f
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb0]
push eax
push esi
call fcn.004c2721
test eax, eax
je 0x4c4ca6
push 1
push 3
lea ecx, [ebp - 0x160]
call fcn.004078ff
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 6
push str.Error:_key.Open_parentKey__keyName.c_str____KEY_ALL_ACCESS__
push eax
call fcn.0040710b
pop ecx
pop ecx
lea eax, [ebp - 0x160]
push eax
push str.Registry::removeValue
push 0x1fc
push str.D:_build6c589d3ff8507062_src_systemRegistry.cpp
push ebx
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x160]
jmp 0x4c4da5
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0xb0]
call edi
test eax, eax
je 0x4c4dac
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xf013f
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb0]
push eax
push esi
call fcn.004c2721
test eax, eax
jne 0x4c4d56
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0xb0]
call edi
test eax, eax
je 0x4c4dac
push 1
push 3
lea ecx, [ebp - 0x210]
call fcn.004078ff
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 7
push str.Error:_key.DeleteValue_valueName.c_str_____KEY_WOW64_64KEY
push eax
call fcn.0040710b
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
push str.Registry::removeValue
push 0x209
push str.D:_build6c589d3ff8507062_src_systemRegistry.cpp
push ebx
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x210]
jmp 0x4c4da5
push 1
push 3
lea ecx, [ebp - 0x2c0]
call fcn.004078ff
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 8
push str.Error:_key.DeleteValue_valueName.c_str____
push eax
call fcn.0040710b
pop ecx
pop ecx
lea eax, [ebp - 0x2c0]
push eax
push str.Registry::removeValue
push 0x20f
push str.D:_build6c589d3ff8507062_src_systemRegistry.cpp
push ebx
call fcn.0040b02b
mov ecx, eax
call fcn.0041875b
lea ecx, [ebp - 0x2c0]
call fcn.0040843a
jmp 0x4c4dae
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00409de7
lea ecx, [ebp - 0xb0]
call fcn.004c23fc
mov al, bl
call fcn.005b4759
ret