Function at 0x140050030
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor ebx, ebx
xor r15b, r15b
call fcn.14004f060
mov rdi, rax
test rax, rax
je 0x14005013e
mov r15b, 1
mov qword [rsp + 0x50], rbx
mov r14d, ebx
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0x887a0002
je 0x14005048a
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax + 0x50]
xor edx, edx
mov r8d, 0x202
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbp + 0xf0]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xc4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, str._lv_detect_:_dx_sw_Adapter__d:_s__vendor_0x_X_device_0x_X_flags_0x_X_
mov edx, 0x100
lea rcx, [rbp + 0x100]
call fcn.140028db0
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [rbp + 0xf0]
test al, 2
jne 0x140050163
lea rcx, str._lv_detect_:_dx_sw_adapter_not_support_software_render
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], rbx
jmp 0x1400502e4
call fcn.14004efd0
mov rdi, rax
test rax, rax
jne 0x14005007d
lea rcx, str._lv_detect_:_dx_sw_failed_to_create_DXGI_factory
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x14005048c
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.d3d11.dll_D3D11CreateDevice
mov esi, eax
mov rcx, qword [rsp + 0x50]
test eax, eax
mov rax, qword [rcx]
jns 0x14005021c
call qword [rax + 0x10]
mov qword [rsp + 0x50], rbx
lea rcx, str._lv_detect_:_dx_sw_failed_to_create_D3D11_device_and_context
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.14004ea90
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__toLocal8Bit_QString__QEHAA_AVQByteArray__XZ]
nop
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400502e4
call qword [rax + 0x10]
mov qword [rsp + 0x50], rbx
mov qword [rbp - 0x50], rbx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rbp - 0x50]
lea rdx, [0x1402a1e08]
call qword [rax]
mov esi, eax
test eax, eax
jns 0x1400502aa
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str._lv_detect_:_dx_sw_failed_to_query_interface_ID3D11DeviceContext1
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.14004ea90
nop
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__toLocal8Bit_QString__QEHAA_AVQByteArray__XZ]
nop
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400502e4
movzx r8d, r15b
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.14004ed00
mov esi, eax
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x140050308
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str._lv_detect_:_dx_sw_failed_to_create_swapchain
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc r14d
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
mov edx, r14d
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0x887a0002
jne 0x1400500a0
jmp 0x14005048a
mov qword [rsp + 0x70], rbx
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8d, 0x2e0
lea rdx, str.DXBC_s4g
call qword [rax + 0x60]
mov edi, eax
test eax, eax
jns 0x1400503a2
mov ebx, 4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str._lv_detect_:_dx_sw_failed_to_create_vertex_shader
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.14004ea90
nop
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__toLocal8Bit_QString__QEHAA_AVQByteArray__XZ]
nop
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x14005048a
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8d, 0x268
lea rdx, str.DXBC
call qword [rax + 0x78]
mov edi, eax
test eax, eax
jns 0x140050449
mov ebx, 4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str._lv_detect_:_dx_sw_failed_to_create_pixel_shader
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.14004ea90
nop
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__toLocal8Bit_QString__QEHAA_AVQByteArray__XZ]
nop
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x14005048a
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp esi, 1
jne 0x14005045d
mov ebx, esi
jmp 0x140050467
mov eax, 2
cmp esi, eax
cmove ebx, eax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea rcx, str._lv_detect_:_dx_sw_Adapter_support_software_render
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, ebx
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140180070
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret