Function at 0x14000b500
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x1400b1318]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rcx + 0x120], 0
mov rdi, rcx
jne 0x14000b579
lea rbx, [rcx + 0x20]
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.1400170d0
mov r8, rbx
mov rdx, rsi
mov ecx, 5
call fcn.140004fb0
xor al, al
jmp 0x14000b85e
call fcn.140018810
test al, 1
je 0x14000b6d7
xor edx, edx
mov qword [rsp + 0x498], rbp
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140028750
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 + 0x190]
test cx, cx
je 0x14000b5e2
cmp cx, 0x5c
jne 0x14000b5cc
movzx eax, bp
jmp 0x14000b5d1
call fcn.140060f30
mov word [rsp + rbx*2 + 0x50], ax
inc rbx
cmp rbx, 0x103
jb 0x14000b5b0
mov dword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.140015240
mov r9d, dword [rdi + 0x128]
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.14000bd90
lea r8, [rsp + 0x260]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbp, qword [rsp + 0x498]
mov qword [rdi + 0x740], rax
test rax, rax
je 0x14000b68d
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x260]
mov qword [rsp + 0x28], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
lea rax, str.Use_external_event__ls_for_quitting
mov r9d, 3
mov r8d, 0x138
mov qword [rsp + 0x20], rax
call fcn.1400170d0
jmp 0x14000b6d7
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rdi + 8]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
mov dword [rsp + 0x38], eax
mov r9d, 2
mov rax, qword [rdi + 0x748]
mov r8d, 0x143
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x260]
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.1400170d0
cmp qword [rdi + 0x740], 0
jne 0x14000b74c
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x740], rax
test rax, rax
jne 0x14000b74c
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rdi + 8]
lea rbx, str.Failed_to_create_quit_event._Error__u
mov dword [rsp + 0x28], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcHostWin32.cpp
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x14f
call fcn.1400170d0
call sub.KERNEL32.dll_GetLastError
mov r8d, eax
mov rdx, rbx
mov ecx, 6
call fcn.140004fb0
xor al, al
jmp 0x14000b85e
cmp qword [rdi + 0x748], 0
je 0x14000b7b6
mov qword [rsp + 0x28], 0
lea r8, [0x14000bb50]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x750], rax
test rax, rax
jne 0x14000b7b6
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.1400170d0
xor al, al
jmp 0x14000b85e
mov rcx, rdi
call fcn.140003360
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.1400170d0
mov rcx, qword [rdi + 0x740]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi + 0x120]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [rdi + 0x130], 0
je 0x14000b827
call fcn.140014dc0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [case.0x14001a41b.0]
cmp qword [rdi + 0x130], 0
je 0x14000b85a
mov rbx, qword [rdi + 0x130]
call fcn.140014dc0
sub eax, dword [rbx + 0x18]
cmp dword [rbx + 0x14], eax
cmovae eax, dword [rbx + 0x14]
mov dword [rbx + 0x14], eax
movzx eax, sil
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140026d60
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret