Function at 0x47b850
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x818
lea eax, [esp + 0xc0]
push 0x344
push 0
push eax
call sym._memset
add esp, 0xc
mov dword [esp + 0xbc], 0x348
lea esi, [esp + 0x60c]
push 0x208
push str.SOFTWAREMicrosoftDirectX
push esi
call sym._memcpy
add esp, 0xc
push esi
call sym._wcslen
add esp, 4
mov esi, eax
lea edi, [esp + 0x404]
push 0x208
push str.SYSTEMCurrentControlSetControlVideo
push edi
call sym._memcpy
add esp, 0xc
push edi
call sym._wcslen
add esp, 4
mov dword [esp + 0x44], eax
lea ebx, [esp + 0xbc]
push 0
push ebx
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x47c39f
lea eax, [esp + esi*2]
add eax, 0x60c
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + eax*2 + 0x404]
mov dword [esp + 0x68], ecx
lea eax, [esp + eax*2 + 0x328]
mov dword [esp + 0x70], eax
mov esi, dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
mov dword [esp + 0x48], 0
jmp 0x47b946
lea ebx, [esp + 0xbc]
mov esi, dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
mov eax, dword [esp + 0x48]
inc eax
push 0
push ebx
mov dword [esp + 0x50], eax
push eax
push 0
call esi
test eax, eax
je 0x47c39f
test byte [esp + 0x200], 8
jne 0x47b92d
lea eax, [esp + 0x304]
push eax
call sym._wcslen
add esp, 4
mov edi, eax
cmp eax, 0x64
jne 0x47c2fa
cmp word [esp + 0x3c4], 0x30
jne 0x47b92d
cmp word [esp + 0x3c6], 0x30
jne 0x47b92d
cmp word [esp + 0x3c8], 0x30
jne 0x47b92d
cmp word [esp + 0x3ca], 0x30
jne 0x47b92d
mov dword [esp + 0x34], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
sub esp, 0x18
lea eax, [esp + 0x64]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
lea eax, [esp + 0x21c]
mov dword [esp], eax
call dbg.swscanf
add esp, 0x18
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0xc]
jne 0x47ba1c
lea edx, [ebx + ebx]
test ebx, ebx
mov ecx, 0x10
cmove edx, ecx
mov dword [esi + 0xc], edx
imul edx, dword [esi + 4]
push edx
push eax
call sym._realloc
add esp, 8
mov dword [esi], eax
mov ebx, dword [esi + 8]
lea ecx, [ebx + 1]
mov dword [esi + 8], ecx
imul ebx, dword [esi + 4]
mov dword [esp + 0x6c], ebx
add ebx, eax
mov edx, dword [esp + 0x34]
cmp edx, 0x1413
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
jg 0x47ba71
cmp edx, 0x106a
jg 0x47baa7
cmp edx, 0x1001
jg 0x47bb0e
cmp edx, 0x3e7
je 0x47bb07
cmp edx, 0x955
je 0x47bb58
jmp 0x47be60
cmp edx, 0x1af3
jg 0x47bada
cmp edx, 0x15ac
jg 0x47bb29
cmp edx, 0x1414
je 0x47bb81
cmp edx, 0x14c3
jne 0x47be60
mov ecx, 0x4ab60d
jmp 0x47bb94
cmp edx, 0x10dd
jg 0x47bb44
mov ecx, 0x505230
cmp edx, 0x106b
je 0x47bb5d
cmp edx, 0x108e
jne 0x47be60
mov ecx, str.Oracle
jmp 0x47bb94
lea ecx, [edx - 0x8086]
cmp ecx, 2
jb 0x47bb07
cmp edx, 0x1af4
je 0x47bb88
mov ecx, str.Qualcomm
cmp edx, 0x5143
je 0x47bb94
jmp 0x47be60
mov ecx, 0x505238
jmp 0x47bb5d
cmp edx, 0x1002
je 0x47bb22
cmp edx, 0x1022
jne 0x47be60
mov ecx, 0x505234
jmp 0x47bb5d
cmp edx, 0x15ad
je 0x47bb8f
cmp edx, 0x1ab8
jne 0x47be60
mov ecx, str.Parallel
jmp 0x47bb94
cmp edx, 0x10de
je 0x47bb58
cmp edx, 0x12d2
jne 0x47be60
mov ecx, 0x50523c
mov ecx, dword [ecx]
mov dword [ebx + 4], 0
lea esi, [ebx + 8]
mov dword [ebx + 8], 0
mov eax, dword [0x5052b0]
lea edi, [ebx + 0xc]
mov dword [ebx + 0xc], eax
test ecx, ecx
jne 0x47bbb0
jmp 0x47bbc7
mov ecx, 0x4ab621
jmp 0x47bb94
mov ecx, str.RedHat
jmp 0x47bb94
mov ecx, str.VMware
mov dword [ebx + 4], 0
lea esi, [ebx + 8]
mov dword [ebx + 8], 0
mov eax, dword [0x5052b0]
lea edi, [ebx + 0xc]
mov dword [ebx + 0xc], eax
push ecx
mov dword [esp + 8], ebx
mov ebx, ecx
call sym._strlen
add esp, 4
mov dword [esi], eax
mov dword [edi], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 4], edi
lea edi, [esp + 0x100]
push edi
call sym._wcslen
add esp, 4
test eax, eax
je 0x47bc1e
mov esi, eax
sub esp, 0x20
pxor xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
inc eax
mov dword [ebx + 0x10], eax
jne 0x47bc36
mov eax, dword [0x5052b0]
jmp 0x47bc42
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [0x5052b0]
mov dword [ebx + 0x18], eax
jmp 0x47bc72
push eax
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], 0
push 0
push 0
push edi
push eax
push esi
lea eax, [esp + 0x114]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebx + 0x14], edi
mov eax, dword [ebx + 0x18]
mov byte [eax + edi], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov eax, dword [0x5052b0]
mov dword [ebx + 0x24], eax
lea edx, [ebx + 0x50]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 8
mov dword [ebx + 0x30], str.Direct3D
mov dword [ebx + 0x3c], 0x7ff80000
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x40], 0xffffffff
mov dword [ebx], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [ebx + 0x50], xmm0
movdqu xmmword [ebx + 0x60], xmm0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x4c], 0x7ff80000
mov dword [ebx + 0x48], 0
cmp dword [esp + 0xc], 0x64
mov esi, dword [esp + 0x70]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jne 0x47c150
mov eax, dword [esp + 0x44]
cmp word [esp + eax*2 + 0x326], 0x7b
jne 0x47c150
mov dword [esp + 0xc], edx
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x50], eax
movups xmm0, xmmword [esi + 0x40]
movups xmmword [ecx + 0x40], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ecx + 0x20], xmm0
movdqu xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
movups xmmword [ecx + 0x10], xmm1
movdqu xmmword [ecx], xmm0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea eax, [esp + 0x410]
push eax
push 0x80000002
call edi
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x47bd82
test ecx, ecx
je 0x47b920
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47b920
lea eax, [ebx + 0x1c]
push 0
push eax
push str.DriverVersion
push ecx
call dbg.ffRegReadStrbuf
add esp, 0x10
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
mov eax, dword [esp + 0x64]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [eax + 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x3a]
movdqu xmmword [eax + 0x3a], xmm0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x618]
push eax
push 0x80000002
call edi
test eax, eax
je 0x47be81
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 8
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x10]
push 0
push 0x48
push str.HardwareInformation.qwMemorySize
push 0
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
call esi
test eax, eax
je 0x47c01a
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x18
push str.HardwareInformation.MemorySize
push 0
push eax
call esi
test eax, eax
je 0x47bfef
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x47c002
mov dword [ebx + 4], 0
lea esi, [ebx + 8]
mov dword [ebx + 8], 0
mov eax, dword [0x5052b0]
lea edi, [ebx + 0xc]
mov dword [ebx + 0xc], eax
jmp 0x47bbc7
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 8
lea esi, [esp + 0x38]
push esi
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x48
push str.DedicatedVideoMemory
push 0
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
call edi
test eax, eax
jne 0x47bedb
mov eax, 0x3fffffff
cmp eax, dword [esp + 0x20]
mov eax, 0
sbb eax, dword [esp + 0x24]
mov eax, 0
adc eax, 1
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], 8
lea ecx, [esp + 0x58]
push ecx
push esi
push 0
push 0x48
push str.DedicatedSystemMemory
push 0
push eax
call edi
test eax, eax
jne 0x47bf48
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0x48
push str.SharedSystemMemory
push 0
push eax
call edi
test eax, eax
jne 0x47bf48
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
adc ecx, dword [esp + 0x24]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
movq xmm0, qword [esp + 0x58]
movq qword [ebx + 0x60], xmm0
lea eax, [ebx + 0x70]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 8
lea esi, [esp + 0x1c]
push esi
push eax
push 0
push 0x48
push str.AdapterLuid
push 0
push ecx
call edi
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 4
push esi
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x18
push str.MaxD3D12FeatureLevel
push 0
push eax
call edi
test eax, eax
jne 0x47bfa4
mov eax, dword [esp + 0x30]
mov ecx, str.Direct3D_12._u
test eax, eax
jne 0x47bfd9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x18
push str.MaxD3D11FeatureLevel
push 0
push eax
call edi
test eax, eax
jne 0x47c01a
mov eax, dword [esp + 0x30]
mov ecx, str.Direct3D_11._u
test eax, eax
je 0x47c01a
lea edx, [ebx + 0x28]
shr eax, 8
and eax, 0xf
push eax
push ecx
push edx
call dbg.ffStrbufSetF
add esp, 0xc
jmp 0x47c01a
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov dword [edx + 4], 0
mov edx, 0x40000000
cmp edx, eax
mov eax, 0
sbb eax, ecx
mov eax, 0
adc eax, 1
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
jne 0x47c12e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
lea esi, [eax + ecx]
add esi, 4
push 0
push esi
push str.ProviderName
push dword [esp + 0x24]
call dbg.ffRegReadStrbuf
add esp, 0x10
mov eax, dword [esp + 4]
mov edi, dword [eax]
push str.Intel
push edi
call sym._strstr
add esp, 8
test eax, eax
je 0x47c0ab
mov ecx, dword [0x505238]
cmp dword [esi], 0
mov eax, esi
je 0x47c09e
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov dword [eax], 0
push edi
mov esi, eax
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov ecx, dword [esp + 8]
mov eax, esi
test ecx, ecx
mov esi, dword [esp + 0x10]
jne 0x47c104
jmp 0x47c12e
mov dword [esp + 8], esi
push str.NVIDIA
push edi
call sym._strstr
add esp, 8
test eax, eax
je 0x47c2b2
mov ecx, dword [0x50523c]
mov eax, dword [esp + 8]
cmp dword [eax], 0
mov esi, dword [esp + 0x10]
je 0x47c100
mov dword [esi], 0
mov dword [eax], 0
push edi
mov edi, ecx
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [esp + 8]
test ecx, ecx
je 0x47c12e
mov dword [eax], 0
mov dword [esi], 0
mov eax, dword [0x5052b0]
mov esi, dword [esp + 4]
mov dword [esi], eax
push ecx
mov edi, ecx
call sym._strlen
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi], edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47c13d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47c14c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov eax, dword [eax]
cmp dword [0x50523c], eax
je 0x47c181
cmp dword [0x505238], eax
je 0x47c190
cmp dword [0x505234], eax
jne 0x47b920
mov edi, dbg.ffDetectAmdGpuInfo
mov dword [esp + 4], str.amd_ags_x86.dll
jmp 0x47c19d
mov edi, dbg.ffDetectNvidiaGpuInfo
mov dword [esp + 4], str.nvml.dll
jmp 0x47c19d
mov edi, dbg.ffDetectIntelGpuInfo
mov dword [esp + 4], str.ControlLib32.dll
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x4c]
mov byte [esp + 0xc], al
test al, al
jne 0x47c1b9
mov eax, dword [ebp + 8]
cmp byte [eax + 0x4d], 0
je 0x47b920
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
test eax, eax
je 0x47b920
mov esi, dword [esp + 0x54]
test esi, esi
je 0x47b920
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47b920
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x47b920
mov dword [esp + 0x88], 6
pxor xmm0, xmm0
mov dword [esp + 8], edi
mov edi, edx
lea edx, [esp + 0x8c]
movdqu xmmword [edx], xmm0
mov dword [esp + 0x9c], esi
mov edx, dword [esp + 0x10]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0xb4], ecx
cmp byte [esp + 0xc], 0
mov dword [esp + 0xb0], eax
lea eax, [ebx + 0x38]
mov ecx, 0
cmove eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x4d], 0
cmove edi, ecx
mov dword [esp + 0x78], edi
lea eax, [ebx + 0x40]
cmove eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
lea eax, [ebx + 0x48]
mov dword [esp + 0x84], eax
sub esp, 0x1c
mov dword [esp + 0x14], eax
movdqu xmm0, xmmword [esp + 0x90]
movdqu xmmword [esp + 4], xmm0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xa4]
mov dword [esp], eax
call dword [esp + 0x24]
add esp, 0x1c
jmp 0x47b920
push 0x4fa0bb
push edi
call sym._strstr
add esp, 8
test eax, eax
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
jne 0x47c2e6
push 0x4fa0bf
push edi
call sym._strstr
add esp, 8
test eax, eax
mov eax, dword [esp + 8]
je 0x47c12e
mov ecx, dword [0x505234]
cmp dword [eax], 0
jne 0x47c0d8
jmp 0x47c100
lea eax, [esp + 0x100]
push eax
call sym._wcslen
add esp, 4
lea ecx, [esp + 0x100]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call dbg.ffStrbufInitNWS
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 4], ecx
test ecx, ecx
mov dword [esp + 0xc], edi
je 0x47c367
mov ebx, dword [eax]
mov esi, dword [eax + 4]
xor edi, edi
lea eax, [esp + 0x20]
push eax
push ebx
call dbg.isGpuNameEqual
add esp, 8
test al, al
jne 0x47c358
inc edi
add ebx, esi
cmp dword [esp + 4], edi
jne 0x47c339
mov edi, dword [esp + 4]
lea ebx, [esp + 0xbc]
mov esi, dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
jmp 0x47c369
xor edi, edi
cmp dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
je 0x47c38c
mov dword [esp + 0x20], 0
push dword [esp + 0x28]
call sym._free
add esp, 4
cmp edi, dword [esp + 4]
mov edi, dword [esp + 0xc]
jne 0x47b92d
jmp 0x47b997
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret