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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
mov rdi, qword [0x180067d60]
mov rbx, rcx
cmp byte [rdi + 0x1e94], 0
lea rsi, [rdi + 0x1ea8]
mov rbp, qword [rdi + 0x1a18]
jne 0x180019d87
mov r8d, 0x2347
lea rdx, str.D:CBodycam_Internal_pBodycam_Internalimguiimgui.cpp
lea rcx, str.g.DragDropActive
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rsi + 0x14], 0xffffffff
jne 0x180019da7
mov r8d, 0x2348
lea rdx, str.D:CBodycam_Internal_pBodycam_Internalimguiimgui.cpp
lea rcx, str.payload.DataFrameCount____1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], r14
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
test rbx, rbx
je 0x180019dfd
cmp dword [rsi + 0x14], 0xffffffff
je 0x18001a15e
lea rdx, [rsi + 0x18]
sub rdx, rbx
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x180019df5
inc rbx
test eax, eax
jne 0x180019de3
test ecx, ecx
jne 0x18001a15e
movups xmm6, xmmword [rdi + 0x1ee8]
mov r13d, dword [rdi + 0x1f08]
mov r14d, dword [rdi + 0x1ef8]
cmp r13d, r14d
movaps xmm8, xmm6
movaps xmm7, xmm6
shufps xmm8, xmm6, 0xaa
movaps xmm9, xmm6
shufps xmm7, xmm6, 0xff
movaps xmm1, xmm8
movaps xmm0, xmm7
shufps xmm9, xmm6, 0x55
subss xmm0, xmm9
sete al
subss xmm1, xmm6
mulss xmm1, xmm0
movss xmm0, dword [rdi + 0x1f00]
comiss xmm0, xmm1
jbe 0x180019e6b
movss dword [rdi + 0x1f00], xmm1
mov dword [rdi + 0x1efc], 0
mov dword [rdi + 0x1f04], r14d
mov byte [rsi + 0x39], al
test dword [rdi + 0x1e98], 0x800
jne 0x18001a109
cmp r13d, r14d
jne 0x18001a109
movss xmm0, dword [0x18005e8b0]
subss xmm6, xmm0
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x80], r15
subss xmm9, xmm0
addss xmm8, xmm0
addss xmm7, xmm0
comiss xmm6, dword [rbp + 0x230]
jb 0x180019ee7
comiss xmm9, dword [rbp + 0x234]
jb 0x180019ee7
movss xmm0, dword [rbp + 0x238]
comiss xmm0, xmm8
jb 0x180019ee7
movss xmm0, dword [rbp + 0x23c]
comiss xmm0, xmm7
jb 0x180019ee7
xor r12b, r12b
jmp 0x180019f8d
movss xmm0, dword [0x18005e810]
movaps xmm1, xmm6
mov r15, qword [rbp + 0x2a8]
subss xmm1, xmm0
movaps xmm2, xmm9
movaps xmm4, xmm8
subss xmm2, xmm0
movaps xmm3, xmm7
addss xmm4, xmm0
mov r12b, 1
mov ecx, dword [r15 + 0x60]
addss xmm3, xmm0
mov r8d, dword [r15 + 0x64]
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x34], xmm2
maxss xmm1, xmm4
maxss xmm2, xmm3
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x3c], xmm2
cmp ecx, r8d
jne 0x180019f6d
inc ecx
test r8d, r8d
je 0x180019f58
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180019f5d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [r15 + 0x60]
call fcn.18002c8d0
movsxd rdx, dword [r15 + 0x60]
mov rcx, r15
mov rax, qword [r15 + 0x68]
add rdx, rdx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + rdx*8], xmm0
inc dword [r15 + 0x60]
call fcn.1800240d0
mov rax, qword [0x180067d60]
lea rcx, [rsp + 0x30]
mov rbx, qword [rbp + 0x2a8]
movups xmm0, xmmword [rax + 0x18b8]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1558]
movss dword [rsp + 0x3c], xmm0
call fcn.1800076d0
mov r15d, eax
test eax, 0xff000000
je 0x18001a094
test byte [rbx + 0x30], 1
lea r8, [rsp + 0xc0]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0xd0]
xorps xmm3, xmm3
mov rcx, rbx
je 0x18001a011
movss xmm0, dword [0x18005e7d8]
subss xmm8, xmm0
subss xmm7, xmm0
addss xmm6, xmm0
addss xmm9, xmm0
jmp 0x18001a033
subss xmm8, dword [0x18005e7d4]
subss xmm7, dword [0x18005e7d4]
addss xmm6, dword [0x18005e7d8]
addss xmm9, dword [0x18005e7d8]
movss dword [rsp + 0xc0], xmm8
movss dword [rsp + 0xc4], xmm7
movss dword [rsp + 0xd0], xmm6
movss dword [rsp + 0xd4], xmm9
call fcn.180025f70
movss xmm0, dword [0x18005e844]
mov r9d, r15d
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.180024760
mov dword [rbx + 0x80], 0
mov r15, qword [rsp + 0x80]
test r12b, r12b
mov r12, qword [rsp + 0xc8]
je 0x18001a109
mov rbx, qword [rbp + 0x2a8]
cmp dword [rbx + 0x60], 0
jg 0x18001a0f0
mov r8d, 0x1f5
lea rdx, str.D:CBodycam_Internal_pBodycam_Internalimguiimgui_draw.cpp
lea rcx, str._ClipRectStack.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx + 0x60], 0
jg 0x18001a0f0
mov r8d, 0x50e
lea rdx, str.D:CBodycam_Internal_pBodycam_Internalimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec dword [rbx + 0x60]
mov rcx, rbx
call fcn.1800240d0
mov eax, dword [rdi + 0x19b0]
mov dword [rdi + 0x1f0c], eax
jmp 0x18001a11a
mov eax, dword [rdi + 0x19b0]
mov dword [rdi + 0x1f0c], eax
cmp r13d, r14d
jne 0x18001a15a
movsxd rbx, dword [rdi + 0x1ea0]
mov rdi, qword [0x180067d60]
cmp ebx, 4
jbe 0x18001a147
mov r8d, 0x10d1
lea rdx, str.D:CBodycam_Internal_pBodycam_Internalimguiimgui.cpp
lea rcx, str.button___0__button_____int__sizeof_g.IO.MouseDown____sizeof_g.IO.MouseDown___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + rdi + 0x138], 0
jne 0x18001a15a
mov byte [rsi + 0x3a], 1
mov rax, rsi
jmp 0x18001a160
mov byte [rsi + 0x3a], 0
xor eax, eax
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret