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

Disassembly:
push 0xffffffffffffffff
push 0x6433cb
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x814], eax
push ebp
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov esi, dword [esp + 0x834]
call fcn.00447810
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 0x4129cc
mov eax, dword [0x75dc4c]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x412805
mov eax, 0x75dc50
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 0x41288d
lea eax, [esp + 0x20]
push eax
call fcn.00626737
lea ecx, [esp + 0x24]
push 0x67c200
push ecx
call fcn.0062254b
add esp, 0xc
test eax, eax
jne 0x412877
lea edx, [esp + 0x20]
push str.RUNAS
push edx
call fcn.0062254b
add esp, 8
test eax, eax
jne 0x412877
lea eax, [esp + 0x20]
push str.VISTA
push eax
call fcn.0062254b
add esp, 8
test eax, eax
je 0x41288d
mov eax, dword [0x75dc4c]
test eax, eax
jne 0x412885
mov eax, 0x75dc50
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 [0x75dc58]
test eax, eax
jne 0x4128b9
mov eax, 0x75dc5c
push 0
push eax
push str._sUninstall.exe
lea ecx, [esp + 0x20]
call fcn.004021c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x4128de
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 0x41292c
lea ecx, [esp + 0x20]
push ecx
call fcn.00626737
lea edx, [esp + 0x24]
push 0x67c200
push edx
call fcn.0062254b
add esp, 0xc
test eax, eax
je 0x41292c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x412924
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push eax
call ebp
mov eax, dword [0x75dc58]
test eax, eax
jne 0x41293a
mov eax, 0x75dc5c
push 0
push eax
push str._sIDMGrHlp.exe
lea ecx, [esp + 0x20]
call fcn.004021c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x800
test eax, eax
jne 0x41295f
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 0x4129ad
lea ecx, [esp + 0x20]
push ecx
call fcn.00626737
lea edx, [esp + 0x24]
push 0x67c200
push edx
call fcn.0062254b
add esp, 0xc
test eax, eax
je 0x4129ad
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4129a5
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.0062023e
add esp, 0x824
ret