Function at 0x1800b0cf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsi + 0x2004], eax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x90], rax
mov qword [rbp - 0x58], r13
lea rax, vtable.std::_Func_impl_no_alloc_class__public_virtual:_void___cdecl_VR::on_present_void____ptr64::_2::_lambda_1___void___.0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x98], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0xa0], rax
mov qword [rbp - 0x18], r13
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1800b0d80
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x50]
call qword [rax]
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1800b0d9e
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x58], r13
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + 0x290]
mov dword [rsi + 0x1fdc], ecx
mov rax, qword [rsi + 0x1d00]
mov ecx, dword [rax + 8]
dec ecx
cmp ecx, 1
jbe 0x1800b0dcc
mov rax, qword [rsi + 0x1d10]
cmp byte [rax + 8], 1
jne 0x1800b0dec
mov ecx, dword [rsi + 0x1fe0]
and ecx, 0x80000001
jge 0x1800b0de1
dec ecx
or ecx, 0xfffffffe
inc ecx
movzx eax, byte [rsi + 0x1ff1]
cmp ecx, eax
jne 0x1800b0df9
mov rcx, qword [rsi + 0x210]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r14, qword [rsi + 0x30]
cmp byte [r14 + 8], 0
je 0x1800b11a2
mov rax, qword [r14]
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x48], r13
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [rax + 0x48]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r15, qword [rsi + 0x30]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
cmp al, 2
jne 0x1800b0ecd
cmp byte [r15 + 0xc], 0
je 0x1800b0ec3
mov rcx, qword [r15 + 0x2a8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x78]
dec eax
cmp eax, 1
jbe 0x1800b0e64
xor bl, bl
jmp 0x1800b0e72
mov bl, 1
call fcn.18027b414
mov qword [r15 + 0x52b0], rax
call fcn.18027b414
sub rax, qword [r15 + 0x52b0]
cmp rax, 0x2faf080
jg 0x1800b0e91
mov bl, 1
mov byte [r15 + 0x298], bl
jmp 0x1800b0e9c
mov byte [r15 + 0x298], bl
test bl, bl
je 0x1800b0eab
cmp byte [r15 + 0x299], 0
jne 0x1800b0eab
mov byte [r15 + 9], 1
mov byte [r15 + 0x299], bl
mov rcx, rsi
call fcn.180050ba0
test al, al
jne 0x1800b0ecd
jmp 0x1800b11a2
mov word [r15 + 0x298], 0x101
lea rbx, [rsi + 0x60]
mov qword [rbp + 0x98], rbx
mov rcx, rbx
call fcn.18027bd70
test eax, eax
jne 0x1800b1205
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1800b1210
mov byte [rsi + 0x1ff0], 0
mov rax, qword [0x1804f4240]
movzx edi, byte [rax + 0x421]
mov rax, qword [rsi + 0x1d00]
mov ecx, dword [rax + 8]
dec ecx
cmp ecx, 1
jbe 0x1800b0f29
mov rax, qword [rsi + 0x1d10]
cmp byte [rax + 8], 1
jne 0x1800b0f49
mov ecx, dword [rsi + 0x1fe0]
and ecx, 0x80000001
jge 0x1800b0f3e
dec ecx
or ecx, 0xfffffffe
inc ecx
movzx eax, byte [rsi + 0x1ff1]
cmp ecx, eax
jne 0x1800b0f8c
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x68]
cmp eax, 1
jne 0x1800b0f8c
movzx r12d, byte [r14 + 0xe]
mov rax, qword [r14]
mov byte [rbp + 0x94], 0
mov rdx, qword [rbp + 0x90]
mov rcx, r14
call qword [rax + 0x28]
cmp byte [r14 + 0xc], 0
je 0x1800b0f7f
test r12b, r12b
jne 0x1800b0f8c
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1800b3c00
test dil, dil
jne 0x1800b1087
cmp byte [r14 + 0xe], dil
jne 0x1800b106f
lea rcx, [rbp + 0x90]
call fcn.180033c00
mov rdi, qword [rbp + 0x90]
mov rax, rdi
sub rax, qword [0x1804f4fa8]
cmp rax, 0x3b9aca00
je 0x1800b0fc6
jl 0x1800b103d
call fcn.180269230
lea rcx, str.Attempting_to_sync_
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x13
lea rcx, str.D:_aUEVRUEVR_srcmodsVR.cpp
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], 0x81e
lea rcx, str.VR::on_present
mov qword [rsp + 0x60], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm1
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp], xmm0
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.180033b10
mov qword [0x1804f4fa8], rdi
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x68]
cmp eax, 1
jne 0x1800b1062
mov rax, qword [r14]
mov byte [rbp + 0x94], 0
mov rdx, qword [rbp + 0x90]
mov rcx, r14
call qword [rax + 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1800b3c00
mov byte [rsi + 0x1ff5], 0
lea rcx, [rsi + 0x240]
mov rdx, rsi
call fcn.1800d0590
jmp 0x1800b10a3
cmp dil, 1
jne 0x1800b10bc
mov byte [rsi + 0x1ff5], dil
lea rcx, [rsi + 0x590]
mov rdx, rsi
call fcn.1800da330
cmp eax, 0x6c
jne 0x1800b10bc
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
cmp al, 2
jne 0x1800b10bc
mov word [r15 + 0xb], 1
cmp byte [rsi + 0x1ff0], 0
je 0x1800b1199
cmp byte [rsi + 0x1b88], 0
jne 0x1800b10de
lea rcx, [rsi + 0x1640]
call fcn.18013d8a0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
mov byte [rsi + 0x1ff0], 0
cmp byte [rsi + 0x1ff4], 0
je 0x1800b1199
mov byte [rsi + 0x1ff4], 0
mov ecx, 1
call fcn.18027ee54
mov qword [rbp + 0x90], rax
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x18009a860]
xor edx, edx
xor ecx, ecx
call fcn.1802a2364
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800b11f5
mov qword [rbp + 0x90], r13
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x48], 0
je 0x1800b1226
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.18027bc20
test eax, eax
jne 0x1800b1226
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
cmp dword [rsp + 0x48], eax
jne 0x1800b1220
mov rcx, rbx
call fcn.18027bdb4
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1800b11b2
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rax, [rbp - 0x50]
mov qword [rbp + 0x90], rax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1800b11da
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x18], r13
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x48], r13d
mov ecx, 6
call fcn.18027c200
nop
mov ecx, 5
call fcn.18027c200
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18027c200
nop
call fcn.1802a21cc
nop
mov ecx, 1
call fcn.18027c200
int3