Function at 0x18013df70
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.1800a7940
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp al, 2
jne 0x18013e283
mov rax, qword [rbx + 0x2e8]
cmp byte [rax + 8], 0
je 0x18013e283
call fcn.1800a7940
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18013dfcd
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.180170be0
mov rdi, rax
mov rcx, qword [rsi + 0x1d00]
mov edx, dword [rcx + 8]
dec edx
cmp edx, 1
jbe 0x18013e004
mov rcx, qword [rsi + 0x1d10]
cmp byte [rcx + 8], 1
jne 0x18013e029
mov ecx, dword [rsi + 0x1fdc]
and ecx, 0x80000001
jge 0x18013e019
dec ecx
or ecx, 0xfffffffe
inc ecx
movzx eax, byte [rsi + 0x1ff1]
cmp ecx, eax
je 0x18013e029
xor r8b, r8b
jmp 0x18013e02c
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 0x18013e040
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 0x18013e24b
xor eax, eax
mov qword [rdi + 0xe08], rax
mov rax, qword [0x1804f4240]
cmp byte [rax + 0x421], 0
jne 0x18013e122
mov esi, dword [rax + 0x474]
jmp 0x18013e128
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, [0x1804f48f0]
call fcn.18004d280
mov rax, qword [0x1804f4918]
test rax, rax
jne 0x18013e174
lea rdx, [rsp + 0x88]
lea rcx, str.IVROverlay_026
call qword [sym.imp.openvr_api.dll_VR_GetGenericInterface]
mov qword [0x1804f4918], 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 0x18013e24b
mov eax, dword [rsp + 0x30]
sub eax, 0x12c
je 0x18013e216
sub eax, 1
je 0x18013e206
sub eax, 1
je 0x18013e1f6
cmp eax, 7
jne 0x18013e140
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 0x18013e140
mov byte [rbx + 0x28], 0
mov byte [rdi + 0xe00], 0
jmp 0x18013e140
mov byte [rbx + 0x28], 1
mov byte [rdi + 0xe00], 1
jmp 0x18013e140
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 0x18013e140
test rbp, rbp
je 0x18013e283
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbp + 8], eax
cmp eax, 1
jne 0x18013e283
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 0x18013e283
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