Function at 0x180033310
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 0x180033345
mov al, 1
jmp 0x180033952
call fcn.180016fa0
cmp byte [rbx + 0x41d], dil
je 0x180033361
mov dword [rbx + 0x418], r14d
mov byte [rbx + 0x41d], dil
mov eax, dword [rbx + 0x418]
cmp eax, 0x3c
jae 0x180033379
inc eax
mov dword [rbx + 0x418], eax
jmp 0x180033950
cmp byte [rbx + 0x13], dil
je 0x1800335ef
call fcn.180270610
lea r8, str.Attempting_to_initialize_DirectX_11
mov edx, 2
mov rcx, rax
call fcn.1800240e0
mov rax, qword [rbx + 0x2c0]
cmp byte [rax + 0x28], dil
je 0x180033950
mov rcx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
test rcx, rcx
je 0x180033585
test rsi, rsi
je 0x180033585
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.180270610
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.18000b390
call fcn.180270610
lea r8, str.Initializing_ImGui
mov edx, 2
mov rcx, rax
call fcn.1800240e0
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.180171b40
xor ecx, ecx
call fcn.1801717d0
mov rcx, rbx
call fcn.180036140
mov edx, dword [0x1804e1ddc]
mov rax, qword gs:[0x58]
mov ecx, 0x44
mov rax, qword [rax + rdx*8]
lea rsi, [0x1804da748]
mov eax, dword [rcx + rax]
cmp dword [0x1804da768], eax
jg 0x180033980
cmp qword [0x1804da760], 0xf
cmova rsi, qword [0x1804da748]
call fcn.180174f70
mov qword [rax + 0x18], rsi
lea rcx, str.Initializing_ImGui_Win32
call fcn.180023fc0
mov rcx, qword [rbx + 0x1a0]
call fcn.180165bc0
test al, al
jne 0x18003354b
call fcn.180270610
lea r8, str.Failed_to_initialize_ImGui.
mov edx, 4
mov rcx, rax
call fcn.1800240e0
jmp 0x180033950
lea rcx, str.Creating_render_target
call fcn.180023fc0
mov rcx, rbx
call fcn.180032420
test al, al
jne 0x180033754
call fcn.180270610
lea r8, str.Failed_to_init_D3D11
mov edx, 4
mov rcx, rax
call fcn.1800240e0
jmp 0x180033950
mov byte [rbx + 0x41d], 1
lea rcx, str.Device_or_SwapChain_null._DirectX_12_may_be_in_use._Unhooking_D3D11...
call fcn.180023fc0
mov rcx, qword [rbx + 0x2c0]
call fcn.18003aec0
test al, al
je 0x1800335b6
lea rcx, str.D3D11_unhooked_
call fcn.180023fc0
jmp 0x1800335cf
call fcn.180270610
lea r8, str.Cannot_unhook_D3D11__this_might_crash.
mov edx, 4
mov rcx, rax
call fcn.1800240e0
mov word [rbx + 0x13], di
mov rcx, rbx
call fcn.180031bf0
test al, al
jne 0x180033950
lea rcx, str.Failed_to_hook_D3D12_after_unhooking_D3D11.
jmp 0x18003394b
cmp byte [rbx + 0x12], dil
je 0x180033950
call fcn.180270610
lea r8, str.Attempting_to_initialize_DirectX_12
mov edx, 2
mov rcx, rax
call fcn.1800240e0
mov rax, qword [rbx + 0x2c8]
cmp byte [rax + 0x51], dil
je 0x180033950
mov rcx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
test rcx, rcx
je 0x180033824
test rsi, rsi
je 0x180033824
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.180171b40
xor ecx, ecx
call fcn.1801717d0
mov rcx, rbx
call fcn.180036140
mov edx, dword [0x1804e1ddc]
mov rax, qword gs:[0x58]
mov ecx, 0x44
mov rax, qword [rax + rdx*8]
lea rsi, [0x1804da770]
mov eax, dword [rcx + rax]
cmp dword [0x1804da790], eax
jg 0x180033a58
cmp qword [0x1804da788], 0xf
cmova rsi, qword [0x1804da770]
call fcn.180174f70
mov qword [rax + 0x18], rsi
mov rcx, qword [rbx + 0x1a0]
call fcn.180165bc0
test al, al
jne 0x18003372a
call fcn.180270610
lea r8, str.Failed_to_initialize_ImGui_ImplWin32.
mov edx, 4
mov rcx, rax
call fcn.1800240e0
jmp 0x180033950
mov rcx, rbx
call fcn.180032950
test al, al
jne 0x180033754
call fcn.180270610
lea r8, str.Failed_to_init_D3D12.
mov edx, 4
mov rcx, rax
call fcn.1800240e0
jmp 0x180033950
mov rcx, rbx
call fcn.180033be0
mov rcx, rbx
call fcn.180033d40
mov rcx, rbx
call fcn.180033b40
cmp byte [rbx + 0x10], 0
je 0x18003333e
mov byte [rbx + 0x10], 0
lea rcx, str.Starting_game_data_initialization_thread
call fcn.180023fc0
nop
mov ecx, 8
call fcn.180286234
test rax, rax
je 0x18003379b
mov qword [rax], rbx
jmp 0x18003379e
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, [0x18001cf10]
xor edx, edx
xor ecx, ecx
call fcn.18028e0d4
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18003396a
mov qword [rbp + 0x30], r14
and edi, 0xffffffbf
mov dword [rsp + 0x40], edi
cmp dword [rsp + 0x58], 0
je 0x180033b2f
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.180283000
test eax, eax
jne 0x180033b2f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp dword [rsp + 0x58], eax
jne 0x18003397a
jmp 0x18003333e
mov byte [rbx + 0x41d], 1
mov qword [rbp + 0x30], rcx
call fcn.180270610
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.18000b390
mov qword [rbp + 0x30], rsi
call fcn.180270610
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.18000b390
lea rcx, str.Device_or_SwapChain_null._DirectX_11_may_be_in_use._Unhooking_D3D12...
call fcn.180023fc0
mov rcx, qword [rbx + 0x2c8]
call fcn.18003e720
test al, al
je 0x180033917
lea rcx, str.D3D12_unhooked_
call fcn.180023fc0
jmp 0x180033930
call fcn.180270610
lea r8, str.Cannot_unhook_D3D12__this_might_crash.
mov edx, 4
mov rcx, rax
call fcn.1800240e0
mov byte [rbx + 0x14], dil
mov byte [rbx + 0x12], dil
mov rcx, rbx
call fcn.180031870
test al, al
jne 0x180033950
lea rcx, str.Failed_to_hook_D3D11_after_unhooking_D3D12.
call fcn.18000a2d0
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.1802835e0
nop
call fcn.18028df3c
int3
lea rcx, [0x1804da768]
call fcn.1802866bc
cmp dword [0x1804da768], 0xffffffff
jne 0x1800334f8
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.1800084f0
mov dword [rsp + 0x40], 1
mov edi, 1
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x10]
call fcn.1800317d0
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.180012740
nop
or edi, 2
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180014ef0
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180016fb0
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x80]
call fcn.1800154a0
nop
lea rcx, [rbp - 0x10]
call fcn.1800154a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800154a0
lea rcx, [0x1802f1f10]
call fcn.1802865fc
nop
lea rcx, [0x1804da768]
call fcn.180286650
jmp 0x1800334f8
lea rcx, [0x1804da790]
call fcn.1802866bc
cmp dword [0x1804da790], 0xffffffff
jne 0x1800336e3
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.1800084f0
mov edi, 0x80
mov dword [rsp + 0x40], edi
btr edi, 7
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x10]
call fcn.1800317d0
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.180012740
nop
bts edi, 8
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180014ef0
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180016fb0
btr edi, 8
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x80]
call fcn.1800154a0
nop
lea rcx, [rbp - 0x10]
call fcn.1800154a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800154a0
lea rcx, [0x1802f1ea0]
call fcn.1802865fc
nop
lea rcx, [0x1804da790]
call fcn.180286650
jmp 0x1800336e3
mov ecx, 1
call fcn.1802835e0
int3