Function at 0x140007128
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, 0x800
lea rcx, str.dxgi.dll
mov r8d, esi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop dword [rax + rax]
xor edi, edi
mov qword [0x140025f50], rax
test rax, rax
je 0x1400072c8
lea rdx, str.CreateDXGIFactory1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140007281
lea rdx, [0x140025f28]
lea rcx, [0x14001b4b0]
call qword [vtable.H_MA8HI.0]
test eax, eax
js 0x1400071b0
mov rax, qword [0x140025f28]
mov qword [0x140025f58], rax
jmp 0x1400071d9
lea rdx, [0x140025f58]
mov qword [0x140025f28], rdi
lea rcx, [0x14001b080]
mov rax, rbx
call qword [vtable.H_MA8HI.0]
test eax, eax
js 0x1400071e2
mov rax, qword [0x140025f58]
mov qword [0x140025f78], rax
jmp 0x14000720b
lea rdx, [0x140025f78]
mov qword [0x140025f58], rdi
lea rcx, [0x14001b1d0]
mov rax, rbx
call qword [vtable.H_MA8HI.0]
test eax, eax
js 0x140007214
mov rax, qword [0x140025f78]
mov qword [0x140025f98], rax
jmp 0x14000723d
lea rdx, [0x140025f98]
mov qword [0x140025f78], rdi
lea rcx, [0x14001b198]
mov rax, rbx
call qword [vtable.H_MA8HI.0]
test eax, eax
js 0x140007246
mov rax, qword [0x140025f98]
mov qword [0x140025f88], rax
jmp 0x14000726f
lea rdx, [0x140025f88]
mov qword [0x140025f98], rdi
lea rcx, [0x14001b090]
mov rax, rbx
call qword [vtable.H_MA8HI.0]
test eax, eax
js 0x140007278
mov rax, qword [0x140025f88]
mov qword [0x140025f68], rax
jmp 0x1400072c8
mov qword [0x140025f88], rdi
jmp 0x1400072c8
mov rcx, qword [0x140025f50]
lea rdx, str.CreateDXGIFactory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x1400072c8
lea rdx, [0x140025f68]
lea rcx, [0x14001b1a8]
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x140025f68]
test eax, eax
cmovs rcx, rdi
mov qword [0x140025f68], rcx
mov r8d, esi
lea rcx, str.d3d10_1.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop dword [rax + rax]
mov qword [0x140025f60], rax
test rax, rax
je 0x14000730b
lea rdx, str.D3D10CreateDevice1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140025f40], rax
jmp 0x14000734c
mov r8d, esi
lea rcx, str.d3d10.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop dword [rax + rax]
mov qword [0x140025f38], rax
test rax, rax
je 0x14000734c
lea rdx, str.D3D10CreateDevice
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140025f30], rax
mov r8d, esi
lea rcx, str.d3d11.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop dword [rax + rax]
mov qword [0x140025f80], rax
test rax, rax
je 0x14000738d
lea rdx, str.D3D11CreateDevice
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140025f90], rax
mov r8d, esi
lea rcx, str.d3d12.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop dword [rax + rax]
mov qword [0x140025f48], rax
test rax, rax
je 0x1400073ce
lea rdx, str.D3D12CreateDevice
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140025f70], rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret