Function at 0x46d0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x107c
call fcn.005cca70
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x107c], ecx
mov eax, dword [ebp - 0x107c]
mov byte [eax + 0xba], 1
mov ecx, dword [ebp - 0x107c]
cmp dword [ecx + 0x1c], 0
jne 0x46d0fd
xor al, al
jmp 0x46d3e0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x100c], 4
mov dword [ebp - 0x1018], 4
lea edx, [ebp - 0x100c]
push edx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1018]
push ecx
push 0
push str.Version
mov edx, dword [ebp - 0x107c]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x46d152
xor al, al
jmp 0x46d3e0
cmp dword [ebp - 0x1014], 2
je 0x46d162
xor al, al
jmp 0x46d3e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x100c], 4
mov dword [ebp - 0x1018], 4
lea ecx, [ebp - 0x100c]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x1018]
push eax
push 0
push str.MinVidMemory
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x46d1b1
xor al, al
jmp 0x46d3e0
mov eax, dword [ebp - 0x107c]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0xb0]
je 0x46d1c9
xor al, al
jmp 0x46d3e0
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x100c], 4
mov dword [ebp - 0x1018], 4
lea edx, [ebp - 0x100c]
push edx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1018]
push ecx
push 0
push str.RecVidMemory
mov edx, dword [ebp - 0x107c]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x46d21e
xor al, al
jmp 0x46d3e0
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ebp - 0x1010]
cmp edx, dword [ecx + 0xb4]
je 0x46d239
xor al, al
jmp 0x46d3e0
mov dword [ebp - 0x100c], 0x10
mov dword [ebp - 0x1018], 3
lea eax, [ebp - 0x100c]
push eax
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1018]
push edx
push 0
push str.DisplayGUID
mov eax, dword [ebp - 0x107c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x46d284
xor al, al
jmp 0x46d3e0
cmp dword [ebp - 0x100c], 0x10
je 0x46d294
xor al, al
jmp 0x46d3e0
push 0x10
mov edx, dword [ebp - 0x107c]
add edx, 0x20
push edx
lea eax, [ebp - 0x1028]
push eax
call fcn.005ce22d
add esp, 0xc
test eax, eax
je 0x46d2ba
xor al, al
jmp 0x46d3e0
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x100c], 0x1000
lea ecx, [ebp - 0x100c]
push ecx
lea edx, [ebp - 0x1008]
push edx
lea eax, [ebp - 0x1018]
push eax
push 0
push str.FailureReason
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x46d305
xor al, al
jmp 0x46d3e0
lea eax, [ebp - 0x1008]
push eax
call fcn.005cdf90
add esp, 4
mov dword [ebp - 0x102c], eax
mov ecx, dword [ebp - 0x102c]
push ecx
lea edx, [ebp - 0x1008]
push edx
mov ecx, dword [ebp - 0x107c]
add ecx, 0x78
call fcn.0040b080
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x100c], 0x1000
lea eax, [ebp - 0x100c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x1018]
push edx
push 0
push str.Warning
mov eax, dword [ebp - 0x107c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x46d37e
xor al, al
jmp 0x46d3e0
lea edx, [ebp - 0x1008]
push edx
call fcn.005cdf90
add esp, 4
mov dword [ebp - 0x1054], eax
mov eax, dword [ebp - 0x1054]
push eax
lea ecx, [ebp - 0x1008]
push ecx
mov ecx, dword [ebp - 0x107c]
add ecx, 0x94
call fcn.0040b080
mov edx, dword [ebp - 0x107c]
mov byte [edx + 0xba], 0
mov eax, dword [ebp - 0x107c]
xor ecx, ecx
cmp dword [eax + 0x8c], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x46d3de
xor al, al
jmp 0x46d3e0
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret