Function at 0x180025b10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rbx, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x40], r14d
cmp byte [rcx + 0x15], r14b
je 0x180025b45
mov al, 1
jmp 0x180026152
call fcn.180017150
cmp byte [rbx + 0x41d], dil
je 0x180025b61
mov dword [rbx + 0x418], r14d
mov byte [rbx + 0x41d], dil
mov eax, dword [rbx + 0x418]
cmp eax, 0x3c
jae 0x180025b79
inc eax
mov dword [rbx + 0x418], eax
jmp 0x180026150
cmp byte [rbx + 0x13], dil
je 0x180025def
call fcn.180254440
lea r8, str.Attempting_to_initialize_DirectX_11
mov edx, 2
mov rcx, rax
call fcn.180019c60
mov rax, qword [rbx + 0x2c0]
cmp byte [rax + 0x28], dil
je 0x180026150
mov rcx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
test rcx, rcx
je 0x180025d85
test rsi, rsi
je 0x180025d85
mov qword [rbp + 0x30], r14
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
call qword [rax + 0x140]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov rax, qword [rsi]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [rax + 0x60]
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x1a0], rax
mov qword [rbp + 0x38], rax
call fcn.180254440
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
lea rcx, str.Window_Handle:_0:x
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0x14
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x70], xmm1
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
mov r8d, 2
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.18000b6f0
call fcn.180254440
lea r8, str.Initializing_ImGui
mov edx, 2
mov rcx, rax
call fcn.180019c60
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov edx, 0x37c0
mov r9d, 8
mov r8d, 0x440
lea rcx, str.1.89.9
call fcn.18015f460
xor ecx, ecx
call fcn.18015f0f0
mov rcx, rbx
call fcn.1800289a0
mov edx, dword [0x1804deea8]
mov rax, qword gs:[0x58]
mov ecx, 0x44
mov rax, qword [rax + rdx*8]
lea rsi, [0x1804d7b28]
mov eax, dword [rcx + rax]
cmp dword [0x1804d7b48], eax
jg 0x180026180
cmp qword [0x1804d7b40], 0x10
cmovae rsi, qword [0x1804d7b28]
call fcn.180162880
mov qword [rax + 0x18], rsi
lea rcx, str.Initializing_ImGui_Win32
call fcn.180019b40
mov rcx, qword [rbx + 0x1a0]
call fcn.180153990
test al, al
jne 0x180025d4b
call fcn.180254440
lea r8, str.Failed_to_initialize_ImGui.
mov edx, 4
mov rcx, rax
call fcn.180019c60
jmp 0x180026150
lea rcx, str.Creating_render_target
call fcn.180019b40
mov rcx, rbx
call fcn.180024c20
test al, al
jne 0x180025f54
call fcn.180254440
lea r8, str.Failed_to_init_D3D11
mov edx, 4
mov rcx, rax
call fcn.180019c60
jmp 0x180026150
mov byte [rbx + 0x41d], 1
lea rcx, str.Device_or_SwapChain_null._DirectX_12_may_be_in_use._Unhooking_D3D11...
call fcn.180019b40
mov rcx, qword [rbx + 0x2c0]
call fcn.18002d730
test al, al
je 0x180025db6
lea rcx, str.D3D11_unhooked_
call fcn.180019b40
jmp 0x180025dcf
call fcn.180254440
lea r8, str.Cannot_unhook_D3D11__this_might_crash.
mov edx, 4
mov rcx, rax
call fcn.180019c60
mov word [rbx + 0x13], di
mov rcx, rbx
call fcn.180024340
test al, al
jne 0x180026150
lea rcx, str.Failed_to_hook_D3D12_after_unhooking_D3D11.
jmp 0x18002614b
cmp byte [rbx + 0x12], dil
je 0x180026150
call fcn.180254440
lea r8, str.Attempting_to_initialize_DirectX_12
mov edx, 2
mov rcx, rax
call fcn.180019c60
mov rax, qword [rbx + 0x2c8]
cmp byte [rax + 0x51], dil
je 0x180026150
mov rcx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
test rcx, rcx
je 0x180026024
test rsi, rsi
je 0x180026024
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov rax, qword [rsi]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [rax + 0x60]
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x1a0], rax
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov edx, 0x37c0
mov r9d, 8
mov r8d, 0x440
lea rcx, str.1.89.9
call fcn.18015f460
xor ecx, ecx
call fcn.18015f0f0
mov rcx, rbx
call fcn.1800289a0
mov edx, dword [0x1804deea8]
mov rax, qword gs:[0x58]
mov ecx, 0x44
mov rax, qword [rax + rdx*8]
lea rsi, [0x1804d7b50]
mov eax, dword [rcx + rax]
cmp dword [0x1804d7b70], eax
jg 0x180026258
cmp qword [0x1804d7b68], 0x10
cmovae rsi, qword [0x1804d7b50]
call fcn.180162880
mov qword [rax + 0x18], rsi
mov rcx, qword [rbx + 0x1a0]
call fcn.180153990
test al, al
jne 0x180025f2a
call fcn.180254440
lea r8, str.Failed_to_initialize_ImGui_ImplWin32.
mov edx, 4
mov rcx, rax
call fcn.180019c60
jmp 0x180026150
mov rcx, rbx
call fcn.180025150
test al, al
jne 0x180025f54
call fcn.180254440
lea r8, str.Failed_to_init_D3D12.
mov edx, 4
mov rcx, rax
call fcn.180019c60
jmp 0x180026150
mov rcx, rbx
call fcn.1800263f0
mov rcx, rbx
call fcn.180026580
mov rcx, rbx
call fcn.180026340
cmp byte [rbx + 0x10], 0
je 0x180025b3e
mov byte [rbx + 0x10], 0
lea rcx, str.Starting_game_data_initialization_thread
call fcn.180019b40
nop
mov ecx, 8
call fcn.18026a164
test rax, rax
je 0x180025f9b
mov qword [rax], rbx
jmp 0x180025f9e
mov rax, r14
mov qword [rbp + 0x30], rax
or edi, 0x40
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x180019080]
xor edx, edx
xor ecx, ecx
call fcn.18028d0dc
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18002616a
mov qword [rbp + 0x30], r14
and edi, 0xffffffbf
mov dword [rsp + 0x40], edi
cmp dword [rsp + 0x58], 0
je 0x18002632f
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.180266cd0
test eax, eax
jne 0x18002632f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp dword [rsp + 0x58], eax
jne 0x18002617a
jmp 0x180025b3e
mov byte [rbx + 0x41d], 1
mov qword [rbp + 0x30], rcx
call fcn.180254440
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
lea rcx, str.Device:_:x
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0xc
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x70], xmm1
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
mov r8d, 2
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.18000b6f0
mov qword [rbp + 0x30], rsi
call fcn.180254440
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
lea rcx, str.SwapChain:_:x
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0xf
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x70], xmm1
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
mov r8d, 2
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.18000b6f0
lea rcx, str.Device_or_SwapChain_null._DirectX_11_may_be_in_use._Unhooking_D3D12...
call fcn.180019b40
mov rcx, qword [rbx + 0x2c8]
call fcn.180030f30
test al, al
je 0x180026117
lea rcx, str.D3D12_unhooked_
call fcn.180019b40
jmp 0x180026130
call fcn.180254440
lea r8, str.Cannot_unhook_D3D12__this_might_crash.
mov edx, 4
mov rcx, rax
call fcn.180019c60
mov byte [rbx + 0x14], dil
mov byte [rbx + 0x12], dil
mov rcx, rbx
call fcn.180023fc0
test al, al
jne 0x180026150
lea rcx, str.Failed_to_hook_D3D11_after_unhooking_D3D12.
call fcn.18000a630
xor al, al
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rsp + 0x58], r14d
mov ecx, 6
call fcn.1802673a8
nop
call fcn.18028cf18
int3
lea rcx, [0x1804d7b48]
call fcn.18026a604
cmp dword [0x1804d7b48], 0xffffffff
jne 0x180025cf8
lea rax, [rsp + 0x60]
mov qword [rbp + 0x38], rax
lea rax, str.imgui.ini
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 9
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180008860
mov dword [rsp + 0x40], 1
mov edi, 1
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x10]
call fcn.180023f20
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.180012940
nop
or edi, 2
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180015050
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180017160
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x80]
call fcn.1800155b0
nop
lea rcx, [rbp - 0x10]
call fcn.1800155b0
nop
lea rcx, [rsp + 0x60]
call fcn.1800155b0
lea rcx, [0x1802eebc0]
call fcn.18026a544
nop
lea rcx, [0x1804d7b48]
call fcn.18026a598
jmp 0x180025cf8
lea rcx, [0x1804d7b70]
call fcn.18026a604
cmp dword [0x1804d7b70], 0xffffffff
jne 0x180025ee3
lea rax, [rsp + 0x60]
mov qword [rbp + 0x30], rax
lea rax, str.imgui.ini
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 9
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180008860
mov edi, 0x80
mov dword [rsp + 0x40], edi
btr edi, 7
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x10]
call fcn.180023f20
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.180012940
nop
bts edi, 8
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180015050
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180017160
btr edi, 8
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x80]
call fcn.1800155b0
nop
lea rcx, [rbp - 0x10]
call fcn.1800155b0
nop
lea rcx, [rsp + 0x60]
call fcn.1800155b0
lea rcx, [0x1802eeb50]
call fcn.18026a544
nop
lea rcx, [0x1804d7b70]
call fcn.18026a598
jmp 0x180025ee3
mov ecx, 1
call fcn.1802673a8
int3