Function at 0x47b620
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 sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [esp + 0xbc], 0x348
lea esi, [esp + 0x60c]
push 0x208
push str.SOFTWAREMicrosoftDirectX
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov esi, eax
lea edi, [esp + 0x404]
push 0x208
push str.SYSTEMCurrentControlSetControlVideo
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_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 0x47c16f
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 0x47b716
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 0x47c16f
test byte [esp + 0x200], 8
jne 0x47b6fd
lea eax, [esp + 0x304]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov edi, eax
cmp eax, 0x64
jne 0x47c0ca
cmp word [esp + 0x3c4], 0x30
jne 0x47b6fd
cmp word [esp + 0x3c6], 0x30
jne 0x47b6fd
cmp word [esp + 0x3c8], 0x30
jne 0x47b6fd
cmp word [esp + 0x3ca], 0x30
jne 0x47b6fd
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 fcn.0047c1b0
add esp, 0x18
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0xc]
jne 0x47b7ec
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 sub.api_ms_win_crt_heap_l1_1_0.dll_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 0x47b841
cmp edx, 0x106a
jg 0x47b877
cmp edx, 0x1001
jg 0x47b8de
cmp edx, 0x3e7
je 0x47b8d7
cmp edx, 0x955
je 0x47b928
jmp 0x47bc30
cmp edx, 0x1af3
jg 0x47b8aa
cmp edx, 0x15ac
jg 0x47b8f9
cmp edx, 0x1414
je 0x47b951
cmp edx, 0x14c3
jne 0x47bc30
mov ecx, 0x4ab60d
jmp 0x47b964
cmp edx, 0x10dd
jg 0x47b914
mov ecx, 0x505230
cmp edx, 0x106b
je 0x47b92d
cmp edx, 0x108e
jne 0x47bc30
mov ecx, str.Oracle
jmp 0x47b964
lea ecx, [edx - 0x8086]
cmp ecx, 2
jb 0x47b8d7
cmp edx, 0x1af4
je 0x47b958
mov ecx, str.Qualcomm
cmp edx, 0x5143
je 0x47b964
jmp 0x47bc30
mov ecx, 0x505238
jmp 0x47b92d
cmp edx, 0x1002
je 0x47b8f2
cmp edx, 0x1022
jne 0x47bc30
mov ecx, 0x505234
jmp 0x47b92d
cmp edx, 0x15ad
je 0x47b95f
cmp edx, 0x1ab8
jne 0x47bc30
mov ecx, str.Parallel
jmp 0x47b964
cmp edx, 0x10de
je 0x47b928
cmp edx, 0x12d2
jne 0x47bc30
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 0x47b980
jmp 0x47b997
mov ecx, 0x4ab621
jmp 0x47b964
mov ecx, str.RedHat
jmp 0x47b964
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 sub.api_ms_win_crt_string_l1_1_0.dll_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 sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
test eax, eax
je 0x47b9ee
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 0x47ba06
mov eax, dword [0x5052b0]
jmp 0x47ba12
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [0x5052b0]
mov dword [ebx + 0x18], eax
jmp 0x47ba42
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_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 0x47bf20
mov eax, dword [esp + 0x44]
cmp word [esp + eax*2 + 0x326], 0x7b
jne 0x47bf20
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 0x47bb52
test ecx, ecx
je 0x47b6f0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47b6f0
lea eax, [ebx + 0x1c]
push 0
push eax
push str.DriverVersion
push ecx
call fcn.00485460
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 0x47bc51
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 0x47bdea
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 0x47bdbf
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x47bdd2
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 0x47b997
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 0x47bcab
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 0x47bd18
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 0x47bd18
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 0x47bd74
mov eax, dword [esp + 0x30]
mov ecx, str.Direct3D_12._u
test eax, eax
jne 0x47bda9
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 0x47bdea
mov eax, dword [esp + 0x30]
mov ecx, str.Direct3D_11._u
test eax, eax
je 0x47bdea
lea edx, [ebx + 0x28]
shr eax, 8
and eax, 0xf
push eax
push ecx
push edx
call fcn.00472810
add esp, 0xc
jmp 0x47bdea
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 0x47befe
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 fcn.00485460
add esp, 0x10
mov eax, dword [esp + 4]
mov edi, dword [eax]
push str.Intel
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
test eax, eax
je 0x47be7b
mov ecx, dword [0x505238]
cmp dword [esi], 0
mov eax, esi
je 0x47be6e
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov dword [eax], 0
push edi
mov esi, eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_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 0x47bed4
jmp 0x47befe
mov dword [esp + 8], esi
push str.NVIDIA
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
test eax, eax
je 0x47c082
mov ecx, dword [0x50523c]
mov eax, dword [esp + 8]
cmp dword [eax], 0
mov esi, dword [esp + 0x10]
je 0x47bed0
mov dword [esi], 0
mov dword [eax], 0
push edi
mov edi, ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_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 0x47befe
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 sub.api_ms_win_crt_string_l1_1_0.dll_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 0x47bf0d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47bf1c
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 0x47bf51
cmp dword [0x505238], eax
je 0x47bf60
cmp dword [0x505234], eax
jne 0x47b6f0
mov edi, 0x488060
mov dword [esp + 4], str.amd_ags_x86.dll
jmp 0x47bf6d
mov edi, 0x487570
mov dword [esp + 4], str.nvml.dll
jmp 0x47bf6d
mov edi, 0x4879b0
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 0x47bf89
mov eax, dword [ebp + 8]
cmp byte [eax + 0x4d], 0
je 0x47b6f0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
test eax, eax
je 0x47b6f0
mov esi, dword [esp + 0x54]
test esi, esi
je 0x47b6f0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47b6f0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x47b6f0
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 0x47b6f0
push 0x4f9fdb
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
test eax, eax
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
jne 0x47c0b6
push 0x4f9fdf
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
add esp, 8
test eax, eax
mov eax, dword [esp + 8]
je 0x47befe
mov ecx, dword [0x505234]
cmp dword [eax], 0
jne 0x47bea8
jmp 0x47bed0
lea eax, [esp + 0x100]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ecx, [esp + 0x100]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00485df0
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 0x47c137
mov ebx, dword [eax]
mov esi, dword [eax + 4]
xor edi, edi
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0047c180
add esp, 8
test al, al
jne 0x47c128
inc edi
add ebx, esi
cmp dword [esp + 4], edi
jne 0x47c109
mov edi, dword [esp + 4]
lea ebx, [esp + 0xbc]
mov esi, dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
jmp 0x47c139
xor edi, edi
cmp dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
je 0x47c15c
mov dword [esp + 0x20], 0
push dword [esp + 0x28]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
cmp edi, dword [esp + 4]
mov edi, dword [esp + 0xc]
jne 0x47b6fd
jmp 0x47b767
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret