Function at 0x140003a80
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14006f0d8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov ecx, 0x78
call fcn.14001a140
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140003cc5
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct__public:_static_class_std::shared_ptr_class_EscapeHandler____cdecl_EscapeHandler::AcquireEscapeHandler_void_::_5::Wrapper_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x38], rbx
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
mov rcx, rbx
call fcn.14000f6f0
nop
lea rax, vtable.EscapeHandler.0
mov qword [rbx], rax
mov qword [rbx + 0x20], 0
mov dword [rbx + 0x28], 0
lea rcx, str.gdi32.dll
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x140003cb9
lea rdx, str.D3DKMTOpenAdapterFromGdiDisplayName
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rdx, str.D3DKMTOpenAdapterFromDeviceName
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, str.D3DKMTCloseAdapter
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, str.D3DKMTCreateDevice
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, str.D3DKMTDestroyDevice
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, str.D3DKMTEscape
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x48], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x58], xmm0
cmp qword [rbx + 0x50], 0
je 0x140003cb9
cmp qword [rbx + 0x58], 0
je 0x140003cb9
cmp qword [rbx + 0x38], 0
je 0x140003cb9
cmp qword [rbx + 0x40], 0
je 0x140003cb9
cmp qword [rbx + 0x48], 0
je 0x140003cb9
cmp qword [rbx + 0x60], 0
je 0x140003cb9
lea r8, [rbx + 0x20]
lea rdx, [0x140050440]
mov rcx, rbx
call fcn.140003320
test eax, eax
jne 0x140003cb9
cmp dword [rbx + 0x20], eax
je 0x140003cb9
xorps xmm0, xmm0
xor eax, eax
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayAccessData
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8d, [r9 + 0x44]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003010
test eax, eax
js 0x140003cb9
cmp dword [rsp + 0x5c], 1
jne 0x140003cb9
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x28], eax
lea rax, vtable.._AUWrapper__4__AcquireEscapeHandler_EscapeHandler__SA_AV__shared_ptr_VEscapeHandler___std__XZ_.0
mov qword [rbx], rax
jmp 0x140003cc7
xor edi, edi
lea rcx, [rdi + 0x10]
mov qword [rsi], rcx
mov qword [rsi + 8], rdi
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14001a210
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret