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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
mov rdi, qword [0x180200980]
mov rbx, rcx
cmp byte [rdi + 0x1ef1], 0
lea rsi, [rdi + 0x1f00]
mov rbp, qword [rdi + 0x1a30]
jne 0x180015887
mov r8d, 0x236e
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.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 0x1800158a7
mov r8d, 0x236f
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.cpp
lea rcx, str.payload.DataFrameCount____1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
test rbx, rbx
je 0x1800158fd
cmp dword [rsi + 0x14], 0xffffffff
je 0x180015bf5
lea rdx, [rsi + 0x18]
sub rdx, rbx
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x1800158f5
inc rbx
test eax, eax
jne 0x1800158e3
test ecx, ecx
jne 0x180015bf5
movups xmm6, xmmword [rdi + 0x1f40]
mov r15d, dword [rdi + 0x1f60]
mov r14d, dword [rdi + 0x1f50]
cmp r15d, r14d
movaps xmm7, xmm6
movaps xmm8, xmm6
shufps xmm7, xmm6, 0xff
movaps xmm9, xmm6
shufps xmm8, xmm6, 0xaa
movaps xmm1, xmm7
movaps xmm0, xmm8
shufps xmm9, xmm6, 0x55
subss xmm0, xmm6
sete al
subss xmm1, xmm9
mulss xmm1, xmm0
movss xmm0, dword [rdi + 0x1f58]
comiss xmm0, xmm1
jbe 0x18001596b
movss dword [rdi + 0x1f58], xmm1
mov dword [rdi + 0x1f54], 0
mov dword [rdi + 0x1f5c], r14d
mov byte [rsi + 0x39], al
test dword [rdi + 0x1ef4], 0x800
jne 0x180015ba0
cmp r15d, r14d
jne 0x180015ba0
movss xmm0, dword [0x1800e78d0]
subss xmm6, xmm0
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x90], r13
subss xmm9, xmm0
addss xmm8, xmm0
addss xmm7, xmm0
comiss xmm6, dword [rbp + 0x230]
jb 0x1800159e4
comiss xmm9, dword [rbp + 0x234]
jb 0x1800159e4
movss xmm0, dword [rbp + 0x238]
comiss xmm0, xmm8
jb 0x1800159e4
movss xmm0, dword [rbp + 0x23c]
comiss xmm0, xmm7
jb 0x1800159e4
xor r12b, r12b
jmp 0x180015a2f
movss xmm0, dword [0x1800e7818]
movaps xmm4, xmm8
mov rcx, qword [rbp + 0x2a8]
addss xmm4, xmm0
movaps xmm1, xmm6
movaps xmm3, xmm7
subss xmm1, xmm0
movaps xmm2, xmm9
subss xmm2, xmm0
xor r9d, r9d
addss xmm3, xmm0
mov r12b, 1
movaps xmm0, xmm4
unpcklps xmm1, xmm2
unpcklps xmm0, xmm3
movq rdx, xmm1
movq r8, xmm0
call fcn.18001fdd0
mov rax, qword [0x180200980]
lea rcx, [rsp + 0x30]
mov rbx, qword [rbp + 0x2a8]
movups xmm0, xmmword [rax + 0x18cc]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1558]
movss dword [rsp + 0x3c], xmm0
call fcn.180003330
mov r13d, eax
test eax, 0xff000000
je 0x180015b25
test byte [rbx + 0x30], 1
lea r8, [rsp + 0xc0]
movss xmm0, dword [0x1800e77dc]
lea rdx, [rsp + 0xd0]
addss xmm6, xmm0
mov dword [rsp + 0x20], 0xffffffff
addss xmm9, xmm0
xorps xmm3, xmm3
mov rcx, rbx
movss dword [rsp + 0xd0], xmm6
movss dword [rsp + 0xd4], xmm9
je 0x180015ac6
subss xmm8, xmm0
subss xmm7, xmm0
jmp 0x180015ad7
subss xmm8, dword [0x1800e77d8]
subss xmm7, dword [0x1800e77d8]
movss dword [rsp + 0xc0], xmm8
movss dword [rsp + 0xc4], xmm7
call fcn.1800219d0
movss xmm0, dword [0x1800e7870]
mov r9d, r13d
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.1800201d0
mov dword [rbx + 0x80], 0
mov r13, qword [rsp + 0x90]
test r12b, r12b
mov r12, qword [rsp + 0xc8]
je 0x180015ba0
mov rbx, qword [rbp + 0x2a8]
cmp dword [rbx + 0x60], 0
jg 0x180015b61
mov r8d, 0x1ef
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui_draw.cpp
lea rcx, str._ClipRectStack.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x60]
test eax, eax
jg 0x180015b85
mov r8d, 0x527
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x60]
dec eax
mov rcx, rbx
mov dword [rbx + 0x60], eax
call fcn.18001fb90
mov eax, dword [rdi + 0x19c8]
mov dword [rdi + 0x1f64], eax
jmp 0x180015bb1
mov eax, dword [rdi + 0x19c8]
mov dword [rdi + 0x1f64], eax
cmp r15d, r14d
jne 0x180015bf1
movsxd rbx, dword [rdi + 0x1efc]
mov rdi, qword [0x180200980]
cmp ebx, 4
jbe 0x180015bde
mov r8d, 0x10d8
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.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 0x180015bf1
mov byte [rsi + 0x3a], 1
mov rax, rsi
jmp 0x180015bf7
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 r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret