Function at 0x7d701080
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, 0x84
mov word [ebp - 0x4c], ax
mov ecx, 0x86
mov word [ebp - 0x4a], cx
mov dword [ebp - 0x48], str.RegistryMACHINESystemCurrentControlSetControlSafeBootOption
mov edx, 0xa6
mov word [ebp - 0x3c], dx
mov eax, 0xa8
mov word [ebp - 0x3a], ax
mov dword [ebp - 0x38], str.RegistryMACHINESystemCurrentControlSetControlSession_ManagerAppCompatibility
mov ecx, 0x7e
mov word [ebp - 0x2c], cx
mov edx, 0x80
mov word [ebp - 0x2a], dx
mov dword [ebp - 0x28], str.RegistryMACHINESoftwarePoliciesMicrosoftWindowsAppCompat
mov eax, 0x16
mov word [ebp - 0x44], ax
mov ecx, 0x18
mov word [ebp - 0x42], cx
mov dword [ebp - 0x40], str.OptionValue
mov edx, 0x20
mov word [ebp - 0x54], dx
mov eax, 0x22
mov word [ebp - 0x52], ax
mov dword [ebp - 0x50], str.DisableAppCompat
mov ecx, 0x1a
mov word [ebp - 0x34], cx
mov edx, 0x1c
mov word [ebp - 0x32], dx
mov dword [ebp - 0x30], str.DisableEngine
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x84], 0x18
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0x40
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x9c], 0x18
mov dword [ebp - 0x98], 0
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], 0x40
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
cmp dword [0x7d7390a0], 0xffffffff
jne 0x7d70131f
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x6c]
push eax
push 1
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntext.dll_NtOpenKey]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x7d70122f
lea edx, [ebp - 0x14]
push edx
push 0x10
lea eax, [ebp - 0x24]
push eax
push 2
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryValueKey]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntext.dll_NtClose]
cmp dword [ebp - 4], 0
jl 0x7d70122f
cmp dword [ebp - 0x20], 4
jne 0x7d70122f
cmp dword [ebp - 0x1c], 4
jne 0x7d70122f
mov ecx, 1
imul ecx, ecx, 0
movzx edx, byte [ebp + ecx - 0x18]
test edx, edx
je 0x7d70122f
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jne 0x7d7012a3
lea eax, [ebp - 0x84]
push eax
push 1
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntext.dll_NtOpenKey]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x7d7012a3
lea edx, [ebp - 0x14]
push edx
push 0x10
lea eax, [ebp - 0x24]
push eax
push 2
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryValueKey]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntext.dll_NtClose]
cmp dword [ebp - 4], 0
jl 0x7d7012a3
cmp dword [ebp - 0x20], 4
jne 0x7d7012a3
cmp dword [ebp - 0x1c], 4
jne 0x7d7012a3
mov ecx, 1
imul ecx, ecx, 0
movzx edx, byte [ebp + ecx - 0x18]
cmp edx, 1
jne 0x7d7012a3
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jne 0x7d701317
lea eax, [ebp - 0x9c]
push eax
push 1
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntext.dll_NtOpenKey]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x7d701317
lea edx, [ebp - 0x14]
push edx
push 0x10
lea eax, [ebp - 0x24]
push eax
push 2
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryValueKey]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntext.dll_NtClose]
cmp dword [ebp - 4], 0
jl 0x7d701317
cmp dword [ebp - 0x20], 4
jne 0x7d701317
cmp dword [ebp - 0x1c], 4
jne 0x7d701317
mov ecx, 1
imul ecx, ecx, 0
movzx edx, byte [ebp + ecx - 0x18]
cmp edx, 1
jne 0x7d701317
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov dword [0x7d7390a0], eax
cmp dword [0x7d7390a0], 0
je 0x7d701331
mov dword [ebp - 0x10], 1
jmp 0x7d701338
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret