Function at 0x180120040
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.180269230
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.1802696a0
movzx esi, al
cmp ebx, 2
jle 0x1801200ce
test al, al
je 0x180120146
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x1801200dd
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.180266880
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.18026e5b0
mov byte [rbp + 0xfc], 0
call fcn.180227ce0
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180120231
call fcn.180269230
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.1802696a0
movzx esi, al
cmp ebx, 4
jle 0x1801201b2
test al, al
je 0x180120847
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x1801201c1
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.180266880
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.18026e5b0
jmp 0x180120847
mov rbx, qword [r13]
test rbx, rbx
je 0x1801207e2
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1801207e2
mov dword [rbp + 0xf0], 1
lea rdi, str.Analyzing_index_...
lea rsi, str.Scanning_vfunc_at_index___:x_...
lea r14, [0x18034ee70]
cmp byte [rbp + 0xfc], 0
jne 0x180120545
call fcn.180269230
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.180024180
movsxd rax, dword [rbp + 0xf0]
mov rcx, qword [rbx + rax*8]
mov qword [rbp - 0x80], rcx
test rcx, rcx
je 0x1801203f8
mov edx, 1
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1801203f8
call fcn.180269230
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.180103380
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.1802135f0
mov eax, dword [rbp + 0xf0]
inc eax
mov dword [rbp + 0xf0], eax
cmp eax, 0x19
jl 0x180120273
jmp 0x180120464
call fcn.180269230
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.180024180
cmp byte [rbp + 0xfc], 0
jne 0x180120545
call fcn.180269230
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.1802696a0
movzx esi, al
cmp ebx, 4
jle 0x1801204c0
test al, al
je 0x180120538
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x1801204cf
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.180266880
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.18026e5b0
cmp byte [rbp + 0xfc], 0
je 0x1801207bf
call fcn.180269230
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.1802696a0
movzx esi, al
cmp ebx, 2
jle 0x180120594
test al, al
je 0x18012060c
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0xf
jbe 0x1801205a3
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.180266880
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.18026e5b0
mov rdi, qword gs:[0x60]
movzx r12d, byte [rdi + 2]
mov byte [rdi + 2], 1
mov ecx, dword [0x1804fbc9c]
mov rax, qword gs:[0x58]
mov edx, 0x44
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x1804f5900], eax
jg 0x180120899
mov eax, dword [rbx]
cmp dword [0x1804f5920], eax
jg 0x1801208d0
mov eax, dword [rbx]
cmp dword [0x1804f5940], eax
jg 0x180120862
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, [0x18034eee0]
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.1802135f0
lea rdx, [0x1800deb60]
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.180269230
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.1802696a0
movzx r14d, al
cmp ebx, 2
jle 0x180120735
test al, al
je 0x1801207b2
lea rcx, [rsi + 8]
cmp qword [rsi + 0x20], 0xf
jbe 0x180120744
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.180266880
movzx r9d, r14b
movzx r8d, r13b
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.18026e5b0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov byte [rdi + 2], r12b
mov rcx, qword [0x1804f50d0]
add rcx, 0x108
call fcn.1800392a0
mov rax, qword [0x1804f50d0]
mov byte [rax + 0x1154], 1
jmp 0x180120847
call fcn.180269230
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.180033b10
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, [0x1804f5940]
call fcn.18027f2e4
cmp dword [0x1804f5940], 0xffffffff
jne 0x180120663
lea rcx, [0x180306580]
call fcn.18027f224
nop
lea rcx, [0x1804f5940]
call fcn.18027f278
jmp 0x180120663
lea rcx, [0x1804f5900]
call fcn.18027f2e4
cmp dword [0x1804f5900], 0xffffffff
jne 0x180120647
lea rcx, [0x180306a30]
call fcn.18027f224
nop
lea rcx, [0x1804f5900]
call fcn.18027f278
jmp 0x180120647
lea rcx, [0x1804f5920]
call fcn.18027f2e4
cmp dword [0x1804f5920], 0xffffffff
jne 0x180120655
lea rcx, [0x1803069c0]
call fcn.18027f224
nop
lea rcx, [0x1804f5920]
call fcn.18027f278
jmp 0x180120655