Function at 0x10053860
Capabilities:
Link many functions at runtime
Rebuild import table

Disassembly:
sub esp, 0x98
mov eax, dword [0x10206870]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push edi
push 0x94
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1003f7d0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x1017f06c
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
je 0x100539c8
push 0x1017f07c
push eax
call edi
mov edx, dword [esi + 8]
push 0x1017f098
push edx
mov dword [esi + 0x8c], eax
call edi
mov dword [esi + 0x90], eax
mov eax, dword [esi + 8]
push 0x1017f0b8
push eax
call edi
mov ecx, dword [esi + 8]
push 0x1017f0dc
push ecx
mov dword [esi + 0x94], eax
call edi
mov edx, dword [esi + 8]
push 0x1017f0f4
push edx
mov dword [esi + 0x9c], eax
call edi
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 8]
push 0x1017f118
push eax
call edi
mov ecx, dword [esi + 8]
push str.SetupDiEnumDeviceInfo
push ecx
mov dword [esi + 0x98], eax
call edi
mov edx, dword [esi + 8]
push str.SetupDiOpenDevRegKey
push edx
mov dword [esi + 0xa4], eax
call edi
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 8]
push 0x1017f164
push eax
call edi
mov ecx, dword [esi + 8]
push 0x1017f188
push ecx
mov dword [esi + 0xac], eax
call edi
mov edx, dword [esi + 8]
push 0x1017f19c
push edx
mov dword [esi + 0xc0], eax
call edi
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 8]
push str.CM_Get_Device_Interface_List_SizeA
push eax
call edi
mov ecx, dword [esi + 8]
push 0x1017f1d4
push ecx
mov dword [esi + 0xc8], eax
call edi
mov edx, dword [esi + 8]
push 0x1017f1e4
push edx
mov dword [esi + 0xb0], eax
call edi
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 8]
push 0x1017f1f4
push eax
call edi
mov ecx, dword [esi + 8]
push 0x1017f204
push ecx
mov dword [esi + 0xb8], eax
call edi
mov dword [esi + 0xbc], eax
push 0x1017f21c
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x10053ad3
push str.LoadLibraryExA
push eax
call edi
mov edx, dword [esi + 4]
push 0x1017f23c
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push 0x1017f250
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetLogicalProcessorInformation
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 4]
push str.GetLogicalProcessorInformationEx
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push str.GetActiveProcessorGroupCount
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetMaximumProcessorCount
push ecx
mov dword [esi + 0x44], eax
call edi
mov edx, dword [esi + 4]
push str.GetActiveProcessorCount
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.IsWow64Process2
push eax
call edi
mov ecx, dword [esi + 4]
push 0x1017f30c
push ecx
mov dword [esi + 0x58], eax
call edi
mov edx, dword [esi + 4]
push str.GetThreadGroupAffinity
push edx
mov dword [esi + 0x64], eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 4]
push str.SetThreadGroupAffinity
push eax
call edi
mov ecx, dword [esi + 4]
push str.SetThreadDescription
push ecx
mov dword [esi + 0x4c], eax
call edi
mov edx, dword [esi + 4]
push str.GetThreadDescription
push edx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 4]
push 0x1017f384
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetProductInfo
push ecx
mov dword [esi + 0x68], eax
call edi
mov edx, dword [esi + 4]
mov dword [esi + 0x6c], eax
push str.GetPhysicallyInstalledSystemMemory
push edx
call edi
mov dword [esi + 0x70], eax
mov eax, dword [esi + 4]
push 0x1017f3cc
push eax
call edi
mov dword [esi + 0x74], eax
push str.gdi32.dll
call ebx
mov dword [esi + 0xc], eax
test eax, eax
je 0x10053b44
push str.D3DKMTOpenAdapterFromDeviceName
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.D3DKMTOpenAdapterFromGdiDisplayName
push ecx
mov dword [esi + 0xd0], eax
call edi
mov edx, dword [esi + 0xc]
push str.D3DKMTCloseAdapter
push edx
mov dword [esi + 0xd4], eax
call edi
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xc]
push str.D3DKMTQueryStatistics
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.D3DKMTQueryAdapterInfo
push ecx
mov dword [esi + 0xdc], eax
call edi
mov edx, dword [esi + 0xc]
push str.D3DKMTOpenAdapterFromHdc
push edx
mov dword [esi + 0xe0], eax
call edi
mov dword [esi + 0xe4], eax
push str.NtDll.dll
call ebx
mov dword [esi + 0x10], eax
test eax, eax
je 0x10053b90
push str.NtQuerySystemInformation
push eax
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x10]
push str.RtlGetVersion
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.RtlGetNtVersionNumbers
push ecx
mov dword [esi + 0x80], eax
call edi
mov edx, dword [esi + 0x10]
push str.NtQueryKey
push edx
mov dword [esi + 0x84], eax
call edi
mov dword [esi + 0x88], eax
push str.User32.dll
call ebx
mov dword [esi + 0x14], eax
test eax, eax
je 0x10053bb7
cmp dword [esp + 0x18], 2
jne 0x10053bb7
cmp dword [esp + 0xc], 4
jb 0x10053bb7
push 0x1017f4fc
push eax
call edi
mov dword [esi + 0x78], eax
push str.DXGI.dll
call ebx
mov dword [esi + 0x1c], eax
test eax, eax
je 0x10053bd3
push str.CreateDXGIFactory
push eax
call edi
mov dword [esi + 0xe8], eax
push str.pdh.dll
call ebx
mov dword [esi + 0x20], eax
test eax, eax
je 0x10053cbf
push str.PdhEnumObjectItemsA
push eax
call edi
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0x20]
push str.PdhOpenQueryA
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.PdhAddCounterA
push ecx
mov dword [esi + 0xf0], eax
call edi
mov edx, dword [esi + 0x20]
push str.PdhEnumMachinesA
push edx
mov dword [esi + 0xf4], eax
call edi
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0x20]
push str.PdhConnectMachineA
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.PdhEnumObjectsA
push ecx
mov dword [esi + 0xfc], eax
call edi
mov edx, dword [esi + 0x20]
push str.PdhLookupPerfNameByIndexA
push edx
mov dword [esi + 0x100], eax
call edi
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x20]
push str.PdhLookupPerfIndexByNameA
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.PdhAddEnglishCounterA
push ecx
mov dword [esi + 0x108], eax
call edi
mov edx, dword [esi + 0x20]
push str.PdhCloseQuery
push edx
mov dword [esi + 0x10c], eax
call edi
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x20]
push str.PdhCollectQueryData
push eax
call edi
mov ecx, dword [esi + 0x20]
push str.PdhGetFormattedCounterValue
push ecx
mov dword [esi + 0x110], eax
call edi
mov edx, dword [esi + 0x20]
push str.PdhGetRawCounterValue
push edx
mov dword [esi + 0x118], eax
call edi
mov dword [esi + 0x11c], eax
push str.advapi32.dll
call ebx
mov dword [esi + 0x18], eax
test eax, eax
je 0x10053d41
push 0x1017f65c
push eax
call edi
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x18]
push 0x1017f678
push eax
call edi
mov ecx, dword [esi + 0x18]
push 0x1017f680
push ecx
mov dword [esi + 0x124], eax
call edi
mov edx, dword [esi + 0x18]
push 0x1017f690
push edx
mov dword [esi + 0x128], eax
call edi
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x18]
push 0x1017f6a0
push eax
call edi
mov ecx, dword [esi + 0x18]
push 0x1017f6c0
push ecx
mov dword [esi + 0x130], eax
call edi
mov edx, dword [esi + 0x18]
push str.AddAce
push edx
mov dword [esi + 0x134], eax
call edi
mov dword [esi + 0x138], eax
mov ecx, dword [esp + 0x9c]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1003dc89
add esp, 0x98
ret