Function at 0x4d2ec0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa9c4
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00526860
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0x90]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x4d2f3d
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.004079f0
jmp 0x4d31a0
mov ecx, dword [ebp - 0x14c]
add ecx, 0x7c
push ecx
push str.SOFTWARE_
lea edx, [ebp - 0x8c]
push edx
call fcn.0040f440
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x154]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.00528860
add esp, 8
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.004079f0
lea eax, [ebp - 0xed]
mov dword [ebp - 0xec], eax
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.004079f0
mov byte [ebp - 4], 4
mov ecx, dword [0x611c1c]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 0xee], 0x5c
push 1
mov edx, dword [ebp - 0xf4]
push edx
lea eax, [ebp - 0xee]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406220
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4d30e4
mov ecx, dword [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x68]
call fcn.004bcd20
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x15c]
push ecx
push 0x6130e4
lea edx, [ebp - 0xc4]
push edx
call fcn.0040f440
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 6
mov ecx, dword [0x611c1c]
push ecx
push 0
mov edx, dword [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040ae50
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.004079f0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.004079f0
mov eax, dword [0x611c1c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x68]
call fcn.004bcd20
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 7
mov ecx, dword [0x611c1c]
push ecx
push 0
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040aae0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0xe0]
call fcn.004079f0
jmp 0x4d30f8
mov eax, dword [0x611c1c]
push eax
push 0
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040aae0
cmp dword [ebp - 0x34], 0x10
jb 0x4d3109
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x168], edx
jmp 0x4d3112
lea eax, [ebp - 0x48]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x70]
push ecx
push 0x20006
push 0
mov edx, dword [ebp - 0x168]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x4d316d
cmp dword [ebp - 0x18], 0x10
jb 0x4d3149
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x16c], eax
jmp 0x4d3152
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegDeleteValueA]
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004079f0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.004079f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret 4