Function at 0x180122e10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov r13, rdx
call fcn.180270610
mov rdi, rax
lea rax, str.Searching_for_PostInitProperties_virtual_function...
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0x34
lea r15, str.D:_aUEVRUEVR_srcmods_vrFFakeStereoRenderingHook.cpp
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x130e
mov r8d, dword [rsp + 0x5c]
mov dword [rsp + 0x3c], r8d
lea r12, str.FFakeStereoRenderingHook::post_init_properties
mov qword [rsp + 0x40], r12
mov ebx, dword [rdi + 0x40]
cmp ebx, 2
setle r14b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx esi, al
cmp ebx, 2
jle 0x180122e9e
test al, al
je 0x180122f16
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x180122ead
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x40], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.18026dc60
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.180275990
mov byte [rbp + 0xfc], 0
call fcn.18022f2b0
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180123001
call fcn.180270610
mov rdi, rax
lea rax, str.Cannot_proceed_without_engine_
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0x1e
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x1314
mov qword [rsp + 0x40], r12
mov ebx, dword [rdi + 0x40]
cmp ebx, 4
setle r14b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx esi, al
cmp ebx, 4
jle 0x180122f82
test al, al
je 0x180123617
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x180122f91
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x50], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.18026dc60
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.180275990
jmp 0x180123617
mov rbx, qword [r13]
test rbx, rbx
je 0x1801235b2
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1801235b2
mov dword [rbp + 0xf0], 1
lea rdi, str.Analyzing_index_...
lea rsi, str.Scanning_vfunc_at_index___:x_...
lea r14, [0x18033b020]
cmp byte [rbp + 0xfc], 0
jne 0x180123315
call fcn.180270610
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x1326
mov qword [rsp + 0x40], r12
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0x15
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x50]
mov r8d, 2
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1800244a0
movsxd rax, dword [rbp + 0xf0]
mov rcx, qword [rbx + rax*8]
mov qword [rbp - 0x80], rcx
test rcx, rcx
je 0x1801231c8
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1801231c8
call fcn.180270610
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x132f
mov qword [rsp + 0x40], r12
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0x24
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x80]
mov r8d, 2
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.180106150
lea rax, [rbp + 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x20], r14
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x38], xmm1
lea rax, [rbp + 0x20]
mov qword [rbp + 0x58], rax
mov rcx, qword [rbp - 0x80]
lea r8, [rbp + 0x20]
mov edx, 0x19
call fcn.180219380
mov eax, dword [rbp + 0xf0]
inc eax
mov dword [rbp + 0xf0], eax
cmp eax, 0x19
jl 0x180123043
jmp 0x180123234
call fcn.180270610
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x132b
mov qword [rsp + 0x40], r12
lea rcx, str.Encountered_invalid_vfunc_at_index__
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], 0x26
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x90]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1800244a0
cmp byte [rbp + 0xfc], 0
jne 0x180123315
call fcn.180270610
mov rdi, rax
lea rax, str.Failed_to_find_PostInitProperties_virtual_function__A_crash_may_occur_
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x46
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x1346
mov qword [rsp + 0x40], r12
mov ebx, dword [rdi + 0x40]
cmp ebx, 4
setle r14b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx esi, al
cmp ebx, 4
jle 0x180123290
test al, al
je 0x180123308
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x18012329f
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x20], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.18026dc60
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.180275990
cmp byte [rbp + 0xfc], 0
je 0x18012358f
call fcn.180270610
mov rdi, rax
lea rax, str.Calling_PostInitProperties_on_local_player_
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0x2b
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x134e
mov qword [rsp + 0x40], r12
mov ebx, dword [rdi + 0x40]
cmp ebx, 2
setle r14b
lea rcx, [rdi + 0x88]
call fcn.180270a80
movzx esi, al
cmp ebx, 2
jle 0x180123364
test al, al
je 0x1801233dc
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x180123373
mov rcx, qword [rdi + 8]
mov qword [rbp], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp], xmm1
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.18026dc60
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.180275990
mov rdi, qword gs:[0x60]
movzx r12d, byte [rdi + 2]
mov byte [rdi + 2], 1
mov ecx, dword [0x1804e1ddc]
mov rax, qword gs:[0x58]
mov edx, 0x44
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x1804db930], eax
jg 0x180123669
mov eax, dword [rbx]
cmp dword [0x1804db950], eax
jg 0x1801236a0
mov eax, dword [rbx]
cmp dword [0x1804db970], eax
jg 0x180123632
mov rcx, qword [r13]
mov eax, dword [rbp + 0xf8]
mov rbx, qword [rcx + rax*8]
lea rax, [rbp + 0x20]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x58], 0
lea rax, [0x18033b090]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x20]
mov edx, 0x64
mov rcx, rbx
call fcn.180219380
lea rdx, [0x1800e1930]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov r15, rax
mov rsi, qword [rbp + 0xe0]
mov byte [rsi + 0x148], 1
mov rcx, r13
call rbx
mov byte [rsi + 0x148], 0
call fcn.180270610
mov rsi, rax
lea rax, str.PostInitProperties_called_
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x1a
lea rax, str.D:_aUEVRUEVR_srcmods_vrFFakeStereoRenderingHook.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x13c6
lea rax, str.FFakeStereoRenderingHook::post_init_properties
mov qword [rsp + 0x40], rax
mov ebx, dword [rsi + 0x40]
cmp ebx, 2
setle r13b
lea rcx, [rsi + 0x88]
call fcn.180270a80
movzx r14d, al
cmp ebx, 2
jle 0x180123505
test al, al
je 0x180123582
lea rcx, [rsi + 8]
cmp qword [rsi + 0x20], 0xf
jbe 0x180123514
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x70], rcx
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.18026dc60
movzx r9d, r14b
movzx r8d, r13b
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.180275990
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov byte [rdi + 2], r12b
mov rcx, qword [0x1804db100]
add rcx, 0x108
call fcn.180039610
mov rax, qword [0x1804db100]
mov byte [rax + 0x1154], 1
jmp 0x180123617
call fcn.180270610
lea rcx, str.Cannot_proceed__vtable_for_so_called__local_player__is_invalid_
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0x3f
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0x131b
mov qword [rsp + 0x40], r12
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm0
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.180033e80
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1804db970]
call fcn.1802866bc
cmp dword [0x1804db970], 0xffffffff
jne 0x180123433
lea rcx, [0x1802f2660]
call fcn.1802865fc
nop
lea rcx, [0x1804db970]
call fcn.180286650
jmp 0x180123433
lea rcx, [0x1804db930]
call fcn.1802866bc
cmp dword [0x1804db930], 0xffffffff
jne 0x180123417
lea rcx, [0x1802f2b10]
call fcn.1802865fc
nop
lea rcx, [0x1804db930]
call fcn.180286650
jmp 0x180123417
lea rcx, [0x1804db950]
call fcn.1802866bc
cmp dword [0x1804db950], 0xffffffff
jne 0x180123425
lea rcx, [0x1802f2aa0]
call fcn.1802865fc
nop
lea rcx, [0x1804db950]
call fcn.180286650
jmp 0x180123425