Function at 0x4492b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0x40
mov eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0x44
mov eax, dword [ebp - 0x1c]
mov byte [eax + 2], 0x48
mov eax, dword [ebp - 0x1c]
mov byte [eax + 3], 0x4c
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], 0x50
mov eax, dword [ebp - 0x1c]
mov byte [eax + 5], 0x54
mov eax, dword [ebp - 0x1c]
mov byte [eax + 6], 0x58
mov eax, dword [ebp - 0x1c]
mov byte [eax + 7], 0x5c
mov eax, dword [ebp - 0x1c]
mov byte [eax + 8], 8
mov eax, dword [ebp - 0x1c]
mov word [eax + 0xa], 0
mov eax, dword [ebp - 0x1c]
mov word [eax + 0xc], 2
mov eax, dword [ebp - 0x1c]
mov word [eax + 0xe], 3
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x10], 4
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x12], 5
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x14], 6
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x16], 7
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], 0xfed10000
mov dword [esp], str.inpout32.dll
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
test eax, eax
jne 0x44937c
mov dword [esp], str.inpoutx64.DLL
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4494a2
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.Out32
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.Inp32
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.IsInpOutDriverOpen
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.IsXP64Bit
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.GetPhysLong
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.SetPhysLong
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.MapPhysToLin
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x38]
mov dword [esp + 4], str.UnmapPhysicalMemory
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x2c], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.__Z12find_pci_devhhh_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0x48
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym.__Z18ReadPciConfigDwordmh_8
sub esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], edx
leave
ret