Function at 0x1800b2260
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 + 0x203c], 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 0x1800b22f0
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 0x1800b230e
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 + 0x50]
mov ecx, dword [rax + 0x290]
mov dword [rsi + 0x2014], ecx
mov rax, qword [rsi + 0x1d00]
mov ecx, dword [rax + 8]
dec ecx
cmp ecx, 1
jbe 0x1800b233c
mov rax, qword [rsi + 0x1d10]
cmp byte [rax + 8], 1
jne 0x1800b235c
mov ecx, dword [rsi + 0x2018]
and ecx, 0x80000001
jge 0x1800b2351
dec ecx
or ecx, 0xfffffffe
inc ecx
movzx eax, byte [rsi + 0x2029]
cmp ecx, eax
jne 0x1800b2369
mov rcx, qword [rsi + 0x210]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r14, qword [rsi + 0x50]
cmp byte [r14 + 8], 0
je 0x1800b2715
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 + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r15, qword [rsi + 0x50]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
cmp al, 2
jne 0x1800b243d
cmp byte [r15 + 0xc], 0
je 0x1800b2433
mov rcx, qword [r15 + 0x2d8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x78]
dec eax
cmp eax, 1
jbe 0x1800b23d4
xor bl, bl
jmp 0x1800b23e2
mov bl, 1
call fcn.1802827f4
mov qword [r15 + 0x52e0], rax
call fcn.1802827f4
sub rax, qword [r15 + 0x52e0]
cmp rax, 0x2faf080
jg 0x1800b2401
mov bl, 1
mov byte [r15 + 0x2c8], bl
jmp 0x1800b240c
mov byte [r15 + 0x2c8], bl
test bl, bl
je 0x1800b241b
cmp byte [r15 + 0x2c9], 0
jne 0x1800b241b
mov byte [r15 + 9], 1
mov byte [r15 + 0x2c9], bl
mov rcx, rsi
call fcn.180051a90
test al, al
jne 0x1800b243d
jmp 0x1800b2715
mov word [r15 + 0x2c8], 0x101
lea rbx, [rsi + 0x80]
mov qword [rbp + 0x98], rbx
mov rcx, rbx
call fcn.180283150
test eax, eax
jne 0x1800b2778
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1800b2783
mov byte [rsi + 0x2028], 0
mov rax, qword [0x1804da240]
movzx edi, byte [rax + 0x421]
mov rax, qword [rsi + 0x1d00]
mov ecx, dword [rax + 8]
dec ecx
cmp ecx, 1
jbe 0x1800b249c
mov rax, qword [rsi + 0x1d10]
cmp byte [rax + 8], 1
jne 0x1800b24bc
mov ecx, dword [rsi + 0x2018]
and ecx, 0x80000001
jge 0x1800b24b1
dec ecx
or ecx, 0xfffffffe
inc ecx
movzx eax, byte [rsi + 0x2029]
cmp ecx, eax
jne 0x1800b24ff
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x68]
cmp eax, 1
jne 0x1800b24ff
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 0x1800b24f2
test r12b, r12b
jne 0x1800b24ff
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1800b5170
test dil, dil
jne 0x1800b25fa
cmp byte [r14 + 0xe], dil
jne 0x1800b25e2
lea rcx, [rbp + 0x90]
call fcn.180033f70
mov rdi, qword [rbp + 0x90]
mov rax, rdi
sub rax, qword [0x1804dafd8]
cmp rax, 0x3b9aca00
je 0x1800b2539
jl 0x1800b25b0
call fcn.180270610
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], 0x820
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.180033e80
mov qword [0x1804dafd8], rdi
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x68]
cmp eax, 1
jne 0x1800b25d5
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.1800b5170
mov byte [rsi + 0x202d], 0
lea rcx, [rsi + 0x240]
mov rdx, rsi
call fcn.1800d31d0
jmp 0x1800b2616
cmp dil, 1
jne 0x1800b262f
mov byte [rsi + 0x202d], dil
lea rcx, [rsi + 0x590]
mov rdx, rsi
call fcn.1800dd010
cmp eax, 0x6c
jne 0x1800b262f
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
cmp al, 2
jne 0x1800b262f
mov word [r15 + 0xb], 1
cmp byte [rsi + 0x2028], 0
je 0x1800b270c
cmp byte [rsi + 0x1b88], 0
jne 0x1800b2651
lea rcx, [rsi + 0x1640]
call fcn.180140670
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
mov byte [rsi + 0x2028], 0
cmp byte [rsi + 0x202c], 0
je 0x1800b270c
mov byte [rsi + 0x202c], 0
mov ecx, 1
call fcn.180286234
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, [0x18009b750]
xor edx, edx
xor ecx, ecx
call fcn.18028e0d4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800b2768
mov qword [rbp + 0x90], r13
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x48], 0
je 0x1800b2799
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.180283000
test eax, eax
jne 0x1800b2799
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
cmp dword [rsp + 0x48], eax
jne 0x1800b2793
mov rcx, rbx
call fcn.180283194
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1800b2725
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 0x1800b274d
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.1802835e0
nop
mov ecx, 5
call fcn.1802835e0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1802835e0
nop
call fcn.18028df3c
nop
mov ecx, 1
call fcn.1802835e0
int3