Function at 0x14000ccd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x1400c7338]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rcx + 0x128], 0
mov rdi, rcx
jne 0x14000cd49
lea rbx, [rcx + 0x28]
mov r9d, 1
mov rcx, qword [rcx + 8]
lea rsi, str.Window_of_class__ls_has_not_been_created._Exiting
mov qword [rsp + 0x28], rbx
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
mov r8d, 0x111
mov qword [rsp + 0x20], rsi
call fcn.14001c5c0
mov r8, rbx
mov rdx, rsi
mov ecx, 5
call fcn.140005700
xor al, al
jmp 0x14000d034
call fcn.14001fc40
test al, 1
je 0x14000cea9
xor edx, edx
mov qword [rsp + 0x498], rbp
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140037a40
xor ebx, ebx
lea rax, [rsp + 0x50]
mov rsi, rdi
sub rsi, rax
lea ebp, [rbx + 0x5f]
lea rax, [rsi + rbx*2]
movzx ecx, word [rsp + rax + 0x198]
test cx, cx
je 0x14000cdb2
cmp cx, 0x5c
jne 0x14000cd9c
movzx eax, bp
jmp 0x14000cda1
call fcn.140070e30
mov word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x103
jb 0x14000cd80
mov dword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.140017230
mov r9d, dword [rdi + 0x130]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, str.GlobalNvContainer_u_session_u__s
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x260]
mov edx, 0x104
mov dword [rsp + 0x20], eax
call fcn.14000d4f0
lea r8, [rsp + 0x260]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, qword [rdi + 8]
mov rbp, qword [rsp + 0x498]
mov qword [rdi + 0x7b8], rax
test rax, rax
je 0x14000ce60
lea rax, [rsp + 0x260]
mov r9d, 3
mov qword [rsp + 0x28], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
lea rax, str.Use_external_event__ls_for_quitting
mov r8d, 0x138
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14001c5c0
jmp 0x14000cea9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x38], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
mov rax, qword [rdi + 0x7c0]
mov r9d, 2
mov qword [rsp + 0x30], rax
mov r8d, 0x143
lea rax, [rsp + 0x260]
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea rax, str.Child_container_is_unable_to_use_external_event__ls_for_quitting__parent___p_._Error__u
mov qword [rsp + 0x20], rax
call fcn.14001c5c0
cmp qword [rdi + 0x7b8], 0
jne 0x14000cf21
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x7b8], rax
test rax, rax
jne 0x14000cf21
mov rbx, qword [rdi + 8]
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea rdi, str.Failed_to_create_quit_event._Error__u
mov r9d, 1
mov qword [rsp + 0x20], rdi
mov r8d, 0x14f
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
mov rcx, rbx
call fcn.14001c5c0
call sub.KERNEL32.dll_GetLastError
mov r8d, eax
mov rdx, rdi
mov ecx, 6
call fcn.140005700
xor al, al
jmp 0x14000d034
cmp qword [rdi + 0x7c0], 0
je 0x14000cf8b
mov qword [rsp + 0x28], 0
lea r8, [0x14000d2a0]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x7c8], rax
test rax, rax
jne 0x14000cf8b
mov rcx, qword [rdi + 8]
lea rax, str.Failed_to_create_parent_process_tracking_thread.
mov r9d, 1
mov qword [rsp + 0x20], rax
mov r8d, 0x159
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
call fcn.14001c5c0
xor al, al
jmp 0x14000d034
mov rcx, rdi
call fcn.140003b20
mov rcx, qword [rdi + 8]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
movzx esi, al
mov r9d, 3
lea rax, str.Base_host_main_completed__setting_quit_event
mov r8d, 0x160
mov qword [rsp + 0x20], rax
call fcn.14001c5c0
mov rcx, qword [rdi + 0x7b8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi + 0x128]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [rdi + 0x138], 0
je 0x14000cffc
call fcn.140016db0
mov rcx, qword [rdi + 0x138]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x1400a2660]
cmp qword [rdi + 0x138], 0
je 0x14000d030
mov rbx, qword [rdi + 0x138]
call fcn.140016db0
sub eax, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x14]
cmp ecx, eax
cmovb ecx, eax
mov dword [rbx + 0x14], ecx
movzx eax, sil
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140035de0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret