Function at 0x412710
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x63890b
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x814], eax
push ebp
push esi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov esi, dword [esp + 0x834]
call fcn.00447470
neg eax
sbb eax, eax
and eax, 0x100
lea ecx, [esp + 0xc]
push ecx
add eax, 0xf003f
push eax
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41295c
mov eax, dword [0x752c30]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x412795
mov eax, 0x752c34
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push eax
push edx
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x41281d
lea eax, [esp + 0x20]
push eax
call fcn.0061bcc7
lea ecx, [esp + 0x24]
push 0x671084
push ecx
call fcn.00617adb
add esp, 0xc
test eax, eax
jne 0x412807
lea edx, [esp + 0x20]
push str.RUNAS
push edx
call fcn.00617adb
add esp, 8
test eax, eax
jne 0x412807
lea eax, [esp + 0x20]
push str.VISTA
push eax
call fcn.00617adb
add esp, 8
test eax, eax
je 0x41281d
mov eax, dword [0x752c30]
test eax, eax
jne 0x412815
mov eax, 0x752c34
mov ecx, dword [esp + 0xc]
push eax
push ecx
call ebp
xor edx, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov word [esp + 0x18], dx
mov dword [esp + 0x82c], edx
mov eax, dword [0x752c3c]
test eax, eax
jne 0x412849
mov eax, 0x752c40
push 0
push eax
push str._sUninstall.exe
lea ecx, [esp + 0x20]
call fcn.004021b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x41286e
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x4128bc
lea ecx, [esp + 0x20]
push ecx
call fcn.0061bcc7
lea edx, [esp + 0x24]
push 0x671084
push edx
call fcn.00617adb
add esp, 0xc
test eax, eax
je 0x4128bc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4128b4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push eax
call ebp
mov eax, dword [0x752c3c]
test eax, eax
jne 0x4128ca
mov eax, 0x752c40
push 0
push eax
push str._sIDMGrHlp.exe
lea ecx, [esp + 0x20]
call fcn.004021b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x4128ef
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x41293d
lea ecx, [esp + 0x20]
push ecx
call fcn.0061bcc7
lea edx, [esp + 0x24]
push 0x671084
push edx
call fcn.00617adb
add esp, 0xc
test eax, eax
je 0x41293d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x412935
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x82c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401210
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.006157d3
add esp, 0x824
ret