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

Disassembly:
push 0xffffffffffffffff
push 0x61b82b
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x814], eax
push ebp
push esi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov esi, dword [esp + 0x834]
call fcn.00445c40
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 0x412d9c
mov eax, dword [0x70f660]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x412bd5
mov eax, 0x70f664
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 0x412c5d
lea eax, [esp + 0x20]
push eax
call fcn.005fd244
lea ecx, [esp + 0x24]
push 0x651f98
push ecx
call fcn.005fa8fb
add esp, 0xc
test eax, eax
jne 0x412c47
lea edx, [esp + 0x20]
push str.RUNAS
push edx
call fcn.005fa8fb
add esp, 8
test eax, eax
jne 0x412c47
lea eax, [esp + 0x20]
push str.VISTA
push eax
call fcn.005fa8fb
add esp, 8
test eax, eax
je 0x412c5d
mov eax, dword [0x70f660]
test eax, eax
jne 0x412c55
mov eax, 0x70f664
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 [0x70f66c]
test eax, eax
jne 0x412c89
mov eax, 0x70f670
push 0
push eax
push str._sUninstall.exe
lea ecx, [esp + 0x20]
call fcn.00402190
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x412cae
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 0x412cfc
lea ecx, [esp + 0x20]
push ecx
call fcn.005fd244
lea edx, [esp + 0x24]
push 0x651f98
push edx
call fcn.005fa8fb
add esp, 0xc
test eax, eax
je 0x412cfc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x412cf4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push eax
call ebp
mov eax, dword [0x70f66c]
test eax, eax
jne 0x412d0a
mov eax, 0x70f670
push 0
push eax
push str._sIDMGrHlp.exe
lea ecx, [esp + 0x20]
call fcn.00402190
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x412d2f
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 0x412d7d
lea ecx, [esp + 0x20]
push ecx
call fcn.005fd244
lea edx, [esp + 0x24]
push 0x651f98
push edx
call fcn.005fa8fb
add esp, 0xc
test eax, eax
je 0x412d7d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x412d75
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.004011f0
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.005f85e7
add esp, 0x824
ret