Function at 0x180034a98
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x418]
sub rsp, 0x510
mov rax, qword [0x180044230]
xor rax, rsp
mov qword [rbp + 0x400], rax
lea rcx, str.nvngx_dlssg
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r14d, r14d
test rax, rax
je 0x180034b00
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 [0x180044c08]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x180084ec4], eax
jle 0x180034b47
lea rcx, [0x180084ec4]
call fcn.1800376ec
cmp dword [0x180084ec4], ebx
jne 0x180034b47
lea rcx, [0x180084ec4]
call fcn.18003768c
lea rax, [fcn.180034fe4]
mov dword [rsp + 0x70], 0x50
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x74], 0x40
mov qword [rbp - 0x80], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x70]
lea rax, str.temp
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x50], rax
movdqa xmmword [rbp - 0x60], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x78]
lea r8, str.temp_window
mov rdx, qword [rbp - 0x50]
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, [0x180084dc8]
mov dword [rbp - 0x14], 3
lea r8, [0x180040170]
mov qword [rbp - 0x30], r14
mov edx, 0xc000
mov qword [rbp - 0x28], 0x1c
xor ecx, ecx
mov dword [rbp - 4], 0x40
mov rdi, rax
mov dword [rbp - 0x18], 0x20
mov qword [rbp - 0x20], 1
mov qword [rbp - 0xc], 4
mov dword [rbp - 0x10], r14d
call qword [sym.imp.d3d12.dll_Ordinal_101]
test eax, eax
je 0x180034cb5
call fcn.1800349dc
mov r9, rax
mov dword [rsp + 0x28], 0x75
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.180032ad4
lea rax, [rbp]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180034c77
lea rcx, [rbp]
mov edx, 0x300
add rcx, rbx
lea r8, str._D3D12CreateDevice_NULL__featureLevel__IID_PPV_ARGS_g_pd3dDevice____S_OK
call fcn.180032ad4
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp]
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, [rsp + 0x68]
mov qword [rsp + 0x68], r14
lea rcx, [0x180040180]
call qword [sym.imp.dxgi.dll_CreateDXGIFactory1]
test eax, eax
je 0x180034d43
call fcn.1800349dc
mov r9, rax
mov dword [rsp + 0x28], 0x78
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.180032ad4
lea rax, [rbp]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180034d05
lea rcx, [rbp]
mov edx, 0x300
add rcx, rbx
lea r8, str._CreateDXGIFactory1_IID_PPV_ARGS_dxgiFactory____S_OK
call fcn.180032ad4
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp]
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 [0x180084dc8]
lea r9, [0x180084df0]
mov qword [rbp - 0x40], r14
lea r8, [0x18003f7b8]
mov dword [rbp - 0x38], r14d
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x34], 1
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x180034de8
call fcn.1800349dc
mov r9, rax
mov dword [rsp + 0x28], 0x7e
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.180032ad4
lea rax, [rbp]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180034daa
lea rcx, [rbp]
mov edx, 0x300
add rcx, rbx
lea r8, str._g_pd3dDevice__CreateCommandQueue_desc__IID_PPV_ARGS_g_pd3dCommandQueue____S_OK
call fcn.180032ad4
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp]
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 [0x180084d48]
lea r8, [0x180034a10]
mov rcx, qword [0x180084dc8]
mov edx, 8
call qword [rax + 8]
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rdx
lea r9, [rbp - 0x30]
mov rdx, qword [0x180084df0]
mov r8, rdi
mov qword [0x180084d78], rax
mov qword [rsp + 0x60], r14
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [rax + 0x78]
test eax, eax
je 0x180034eb5
call fcn.1800349dc
mov r9, rax
mov dword [rsp + 0x28], 0x95
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.180032ad4
lea rax, [rbp]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180034e77
lea rcx, [rbp]
mov edx, 0x300
add rcx, rbx
lea r8, str._dxgiFactory__CreateSwapChainForHwnd_g_pd3dCommandQueue__hwnd__sd__NULL__NULL__swapChain1___S_OK
call fcn.180032ad4
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp]
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 [rsp + 0x60]
lea r8, [0x180084e00]
lea rdx, [0x180040160]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x180034f44
call fcn.1800349dc
mov r9, rax
mov dword [rsp + 0x28], 0x96
lea rax, str.HookDX12
mov edx, 0x100
lea r8, str._ERROR___s:_s:_d:
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.180032ad4
lea rax, [rbp]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180034f06
lea rcx, [rbp]
mov edx, 0x300
add rcx, rbx
lea r8, str._swapChain1__QueryInterface_IID_PPV_ARGS_g_pSwapChain____S_OK
call fcn.180032ad4
xor r9d, r9d
lea r8, str.Fatal_Error
lea rdx, [rbp]
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 [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x180084d48]
lea r8, [0x1800354b4]
mov rcx, qword [0x180084e00]
mov edx, 8
call qword [rax + 8]
mov rcx, qword [0x180084e00]
mov qword [0x180084d70], rax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x180084df0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x180084dc8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1800372d0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret