Function at 0x18003edd8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
lea rcx, str.nvngx_dlssg
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r14d, r14d
test rax, rax
je 0x18003ee29
xor r9d, r9d
lea r8, str.BetterConsole_Error
lea rdx, str.BetterConsole_is_currently_not_compatible_with_mods_that_load_ngngx_dlssg.dll_which_is_used_for_the_optional_DLSS3_frame_generation_feature_of_some_mods_in_the_future_compatibility_will_improve_but_for_now_you_will_need_to_remove_ngngx_dlssg.dll_in_the_nv_streamline_folder._NOTE:_ngngx_dlss.dll__without_the_g__IS_COMPATIBLE_with_BetterConsole_and_will_continue_to_be_compatible_going_forward._Press_OK_to_exit_starfield
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword gs:[0x58]
or rbx, 0xffffffffffffffff
mov ecx, dword [0x180053a68]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1800965bc], eax
jle 0x18003ee70
lea rcx, [0x1800965bc]
call fcn.180042c7c
cmp dword [0x1800965bc], ebx
jne 0x18003ee70
lea rcx, [0x1800965bc]
call fcn.180042c1c
lea rax, [fcn.18003f30c]
mov dword [rbp - 0x60], 0x50
xor ecx, ecx
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x5c], 0x40
mov qword [rbp - 0x50], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x60]
lea rax, str.temp
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x20], rax
movdqa xmmword [rbp - 0x30], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x48]
lea r8, str.temp_window
mov rdx, qword [rbp - 0x20]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], r14
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov eax, Ordinal_101
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x320
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9, [0x1800954c0]
mov dword [rbp - 0x74], 3
lea r8, [0x18004d910]
mov qword [rsp + 0x70], r14
mov edx, 0xc000
mov qword [rsp + 0x78], 0x1c
xor ecx, ecx
mov dword [rbp - 0x64], 0x40
mov rdi, rax
mov dword [rbp - 0x78], 0x20
mov qword [rbp - 0x80], 1
mov qword [rbp - 0x6c], 4
mov dword [rbp - 0x70], r14d
call qword [sym.imp.d3d12.dll_Ordinal_101]
test eax, eax
je 0x18003efdc
call fcn.18003ed34
mov r9, rax
mov dword [rsp + 0x28], 0x85
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.18003a538
lea rax, [rbp - 0x10]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x18003ef9e
lea rcx, [rbp - 0x10]
mov edx, 0x300
add rcx, rbx
lea r8, str._D3D12CreateDevice_NULL__featureLevel__IID_PPV_ARGS_g_pd3dDevice____S_OK
call fcn.18003a538
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x418]
mov qword [rbp + 0x418], r14
lea rcx, [0x18004d920]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory1]
test eax, eax
je 0x18003f06e
call fcn.18003ed34
mov r9, rax
mov dword [rsp + 0x28], 0x88
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.18003a538
lea rax, [rbp - 0x10]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x18003f030
lea rcx, [rbp - 0x10]
mov edx, 0x300
add rcx, rbx
lea r8, str._CreateDXGIFactory1_IID_PPV_ARGS_dxgiFactory____S_OK
call fcn.18003a538
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [0x1800954c0]
lea r9, [0x1800954e8]
mov qword [rsp + 0x60], r14
lea r8, [0x18004c948]
mov dword [rsp + 0x68], r14d
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x6c], 1
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x18003f117
call fcn.18003ed34
mov r9, rax
mov dword [rsp + 0x28], 0x8e
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.18003a538
lea rax, [rbp - 0x10]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x18003f0d9
lea rcx, [rbp - 0x10]
mov edx, 0x300
add rcx, rbx
lea r8, str._g_pd3dDevice__CreateCommandQueue_desc__IID_PPV_ARGS_g_pd3dCommandQueue____S_OK
call fcn.18003a538
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rax, qword [0x180052548]
lea r8, [0x18003ed68]
mov rcx, qword [0x1800954c0]
mov edx, 8
call qword [rax + 8]
mov rcx, qword [rbp + 0x418]
lea rdx, [rbp + 0x410]
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x70]
mov rdx, qword [0x1800954e8]
mov r8, rdi
mov qword [0x180095430], rax
mov qword [rbp + 0x410], r14
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [rax + 0x78]
test eax, eax
je 0x18003f1eb
call fcn.18003ed34
mov r9, rax
mov dword [rsp + 0x28], 0xa5
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.18003a538
lea rax, [rbp - 0x10]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x18003f1ad
lea rcx, [rbp - 0x10]
mov edx, 0x300
add rcx, rbx
lea r8, str._dxgiFactory__CreateSwapChainForHwnd_g_pd3dCommandQueue__hwnd__sd__NULL__NULL__swapChain1___S_OK
call fcn.18003a538
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [rbp + 0x410]
lea r8, [0x1800954f8]
lea rdx, [0x18004d900]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x18003f27c
call fcn.18003ed34
mov r9, rax
mov dword [rsp + 0x28], 0xa6
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.18003a538
lea rax, [rbp - 0x10]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x18003f23e
lea rcx, [rbp - 0x10]
mov edx, 0x300
add rcx, rbx
lea r8, str._swapChain1__QueryInterface_IID_PPV_ARGS_g_pSwapChain____S_OK
call fcn.18003a538
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [rbp + 0x410]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x418]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x180052548]
lea r8, [0x18003f82c]
mov rcx, qword [0x1800954f8]
mov edx, 8
call qword [rax + 8]
mov rcx, qword [0x1800954f8]
mov qword [0x180095428], rax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1800954e8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1800954c0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rbx, qword [rsp + 0x520]
add rsp, 0x4f0
pop r14
pop rdi
pop rbp
ret