Function at 0x180131360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rbx, rcx
call fcn.1800a4550
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp al, 2
jne 0x180131673
mov rax, qword [rbx + 0x2e8]
cmp byte [rax + 8], 0
je 0x180131673
call fcn.1800a4550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1801313bd
lock inc dword [rcx + 8]
mov rsi, qword [rax]
mov qword [rsp + 0x20], rsi
mov rbp, qword [rax + 8]
mov qword [rsp + 0x28], rbp
call fcn.180162880
mov rdi, rax
mov rcx, qword [rsi + 0x1ca8]
mov edx, dword [rcx + 8]
dec edx
cmp edx, 1
jbe 0x1801313f4
mov rcx, qword [rsi + 0x1cb8]
cmp byte [rcx + 8], 1
jne 0x180131419
mov ecx, dword [rsi + 0x1efc]
and ecx, 0x80000001
jge 0x180131409
dec ecx
or ecx, 0xfffffffe
inc ecx
movzx eax, byte [rsi + 0x1f11]
cmp ecx, eax
je 0x180131419
xor r8b, r8b
jmp 0x18013141c
mov r8b, 1
lea rcx, [rdi + 0xb24]
lea rdx, [rbx + 0x3c]
mov eax, 5
nop dword [rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x180131430
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0x28]
mov dword [rdi + 0xe00], eax
movzx eax, byte [rbx + 0x2c]
mov byte [rdi + 0xe04], al
movsd xmm0, qword [rbx + 0x20]
movsd qword [rdi + 0xdf8], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0xe08], eax
mov eax, dword [rbx + 0x34]
mov dword [rdi + 0xe0c], eax
movzx eax, byte [rbx + 0x38]
mov byte [rdi + 0xe14], al
movzx eax, byte [rbx + 0x39]
mov byte [rdi + 0xe15], al
movzx eax, byte [rbx + 0x3a]
mov byte [rdi + 0xe16], al
movzx eax, byte [rbx + 0x3b]
mov byte [rdi + 0xe17], al
test r8b, r8b
je 0x18013163b
xor eax, eax
mov qword [rdi + 0xe08], rax
mov rax, qword [0x1804d7680]
cmp byte [rax + 0x421], 0
jne 0x180131512
mov esi, dword [rax + 0x474]
jmp 0x180131518
mov esi, dword [rax + 0x4e4]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
nop
lea rcx, [0x1804d7ce0]
call fcn.18003d520
mov rax, qword [0x1804d7d08]
test rax, rax
jne 0x180131564
lea rdx, [rsp + 0x88]
lea rcx, str.IVROverlay_026
call qword [sym.imp.openvr_api.dll_VR_GetGenericInterface]
mov qword [0x1804d7d08], rax
mov rcx, qword [rax]
mov r10, qword [rcx + 0x180]
mov r9d, 0x40
lea r8, [rsp + 0x30]
mov rdx, qword [rbx + 0x240]
mov rcx, rax
call r10
test al, al
je 0x18013163b
mov eax, dword [rsp + 0x30]
sub eax, 0x12c
je 0x180131606
sub eax, 1
je 0x1801315f6
sub eax, 1
je 0x1801315e6
cmp eax, 7
jne 0x180131530
movss xmm2, dword [rsp + 0x40]
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x34]
movss dword [rbx + 0x34], xmm0
movss xmm1, dword [rsp + 0x44]
addss xmm1, dword [rbx + 0x30]
movss dword [rbx + 0x30], xmm1
movss dword [rdi + 0xe0c], xmm2
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0xe08], xmm0
jmp 0x180131530
mov byte [rbx + 0x28], 0
mov byte [rdi + 0xe00], 0
jmp 0x180131530
mov byte [rbx + 0x28], 1
mov byte [rdi + 0xe00], 1
jmp 0x180131530
mov eax, esi
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
subss xmm1, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x40]
movss dword [rbx + 0x20], xmm0
movss dword [rbx + 0x24], xmm1
movss dword [rdi + 0xdf8], xmm0
movss dword [rdi + 0xdfc], xmm1
jmp 0x180131530
test rbp, rbp
je 0x180131673
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbp + 8], eax
cmp eax, 1
jne 0x180131673
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180131673
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret