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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, qword [0x180200980]
movaps xmmword [rax - 0x28], xmm6
mov qword [rax + 0x18], r15
movaps xmmword [rax - 0x38], xmm7
test rdi, rdi
jne 0x180007078
mov r8d, 0xde4
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x180200980]
call fcn.180006da0
xor r15d, r15d
cmp byte [rdi + 0x2f4c], r15b
jne 0x180007101
cmp dword [rdi + 0x2f78], r15d
je 0x1800070ac
mov r8d, 0xdf1
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800070fa
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], r15
call fcn.180002e00
mov rbx, rax
test rax, rax
je 0x1800070fa
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1800161e0
mov rcx, qword [0x180200980]
test rcx, rcx
je 0x1800070eb
dec dword [rcx + 0x3bc]
mov rdx, qword [0x180200970]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rdi + 0x2f4c], 1
movss xmm0, dword [rdi + 0x2f50]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180007141
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f50], xmm0
jb 0x180007141
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180007133
call fcn.180016520
jmp 0x18000713a
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2f50], r15d
inc dword [rdi + 0x19c8]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov rbx, qword [0x180200980]
mov byte [rdi + 0x19d4], 1
mov dword [rdi + 0x2f20], r15d
mov dword [rdi + 0x1a28], r15d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x19c0]
movsd qword [rdi + 0x19c0], xmm0
mov byte [rax], 1
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
jne 0x1800071bf
mov rbx, qword [rbx + 0xa8]
cmp dword [rbx + 0x40], r15d
jg 0x1800071b8
mov r8d, 0x511
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax]
call fcn.18000ef80
mov rax, qword [rdi + 0x1920]
cmp qword [rax + 0x48], r15
jne 0x1800071eb
mov r8d, 0xe0e
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x1608]
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mov qword [rsp + 0x20], r15
movups xmm2, xmmword [rsp + 0x20]
mov dword [rdi + 0x1944], eax
mov eax, r15d
mov dword [rdi + 0x1958], r15d
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rdi + 0x1948], xmm2
cmp byte [rdi + 0x1604], r15b
je 0x180007244
mov eax, 1
mov dword [rdi + 0x1958], eax
cmp byte [rdi + 0x1605], r15b
je 0x180007256
or eax, 2
mov dword [rdi + 0x1958], eax
test byte [rdi + 0xc], 8
je 0x180007265
or eax, 4
mov dword [rdi + 0x1958], eax
lea rcx, [rdi + 0x1d98]
call fcn.18001f7e0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1d98]
mov rdx, qword [rdx + 8]
call fcn.18001ff00
mov rax, qword [rdi + 0x1dd0]
lea rcx, [rdi + 0x1d98]
xor r9d, r9d
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.18001fdd0
lea rcx, [rdi + 0x1e40]
call fcn.18001f7e0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e40]
mov rdx, qword [rdx + 8]
call fcn.18001ff00
mov rax, qword [rdi + 0x1e78]
lea rcx, [rdi + 0x1e40]
xor r9d, r9d
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.18001fdd0
mov rdx, qword [0x180200980]
mov byte [rdi + 0x1d38], r15b
mov qword [rdi + 0x1d40], r15
mov qword [rdi + 0x1d4c], r15
mov dword [rdi + 0x1d48], r15d
mov qword [rdi + 0x1d64], r15
mov qword [rdi + 0x1d5c], r15
mov qword [rdi + 0x1d54], r15
cmp byte [rdi + 0x1ef1], r15b
je 0x18000738b
mov eax, dword [rdi + 0x1f0c]
cmp eax, dword [rdi + 0x1a78]
jne 0x18000738b
cmp dword [rdx + 0x1a78], eax
jne 0x18000737c
mov dword [rdx + 0x1a7c], eax
cmp dword [rdx + 0x1ab4], eax
jne 0x18000738b
mov byte [rdx + 0x1ab8], 1
mov eax, dword [rdi + 0x1a64]
cmp dword [rdi + 0x1a6c], r15d
jne 0x1800073a3
mov dword [rdi + 0x1a70], r15d
jmp 0x1800073b1
mov ecx, eax
test eax, eax
je 0x1800073ba
cmp dword [rdi + 0x1a78], eax
jne 0x1800073ba
mov dword [rdi + 0x1a74], r15d
mov ecx, eax
movss xmm1, dword [rdi + 0x18]
mov eax, dword [rdi + 0x1a78]
test ecx, ecx
je 0x1800073f3
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a70]
movss dword [rdi + 0x1a70], xmm0
cmp eax, ecx
je 0x1800073f3
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a74]
movss dword [rdi + 0x1a74], xmm0
movaps xmm2, xmm1
mov dword [rdi + 0x1a6c], ecx
mov ecx, eax
mov dword [rdi + 0x1a64], r15d
mov byte [rdi + 0x1a68], r15b
cmp dword [rdi + 0x1a7c], eax
je 0x180007479
cmp dword [rdi + 0x1ab4], eax
jne 0x180007479
test eax, eax
je 0x180007479
mov ecx, dword [rdx + 0x1a78]
test ecx, ecx
setne al
mov byte [rdx + 0x1a84], al
test ecx, ecx
je 0x180007444
mov dword [rdx + 0x1a80], r15d
mov word [rdx + 0x1a86], r15w
mov dword [rdx + 0x1a78], r15d
mov byte [rdx + 0x1a85], r15b
mov qword [rdx + 0x1aa8], r15
mov byte [rdx + 0x1a88], r15b
mov qword [rdx + 0x1a8c], r15
mov qword [rdx + 0x1a98], r15
mov ecx, dword [rdi + 0x1a78]
movss xmm2, dword [rdi + 0x18]
test ecx, ecx
je 0x180007490
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1a80]
movss dword [rdi + 0x1a80], xmm0
mov rax, qword [rdi + 0x1aa8]
addss xmm2, dword [rdi + 0x1acc]
mov qword [rdi + 0x1ac0], rax
movzx eax, byte [rdi + 0x1a87]
mov byte [rdi + 0x1ab9], al
mov eax, dword [rdi + 0x2ee8]
movss dword [rdi + 0x1acc], xmm2
mov dword [rdi + 0x1ab4], ecx
mov dword [rdi + 0x1a7c], r15d
mov byte [rdi + 0x1a88], r15b
mov byte [rdi + 0x1ab8], r15b
mov byte [rdi + 0x1a84], r15b
test eax, eax
je 0x1800074f2
cmp ecx, eax
je 0x1800074f2
mov dword [rdi + 0x2ee8], r15d
test ecx, ecx
jne 0x180007504
mov qword [rdi + 0x1a8c], r15
mov qword [rdi + 0x1a98], r15
mov eax, dword [rdi + 0x1f5c]
lea rcx, [rdi + 0xca0]
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x1f60], eax
mov r8d, 0x800
mov qword [rdi + 0x1f58], 0x7f7fffff
mov byte [rdi + 0x1ef2], r15b
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1800e7a38]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4a4]
mov edx, 0x80
cmp byte [rcx - 1], r15b
je 0x180007572
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18000756b
movaps xmm0, xmm6
jmp 0x180007575
addss xmm0, dword [rdi + 0x18]
jmp 0x180007575
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x180007594
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18000758d
movaps xmm0, xmm6
jmp 0x180007597
addss xmm0, dword [rdi + 0x18]
jmp 0x180007597
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x1800075b7
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1800075b0
movaps xmm0, xmm6
jmp 0x1800075ba
addss xmm0, dword [rdi + 0x18]
jmp 0x1800075ba
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x1800075db
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1800075d4
movaps xmm0, xmm6
jmp 0x1800075de
addss xmm0, dword [rdi + 0x18]
jmp 0x1800075de
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x180007556
call fcn.180012d10
call fcn.180006000
movsxd rax, dword [rdi + 0x31a4]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x1800e7a1c]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2fc4]
addss xmm0, dword [rdi + 0x31a8]
movss dword [rdi + 0x31a8], xmm0
movss dword [rdi + rax*4 + 0x2fc4], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x31a4]
movss xmm1, dword [rdi + 0x31a8]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x31a4], ecx
jbe 0x180007681
divss xmm1, dword [0x1800e798c]
movss xmm0, dword [0x1800e7818]
divss xmm0, xmm1
jmp 0x180007684
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.1800068a0
call fcn.180005b40
mov rax, qword [0x180200980]
movsxd rcx, dword [rax + 0x1bb8]
test ecx, ecx
jle 0x1800076dd
mov r8, qword [rax + 0x1bc0]
lea rdx, [rcx - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x1800076d3
test dword [rax + 0xc], 0x8000000
jne 0x1800076f3
sub r8, 0x30
sub rdx, 1
jns 0x1800076c2
cmp qword [rdi + 0x1c20], r15
je 0x180007712
movss xmm0, dword [rdi + 0x1c3c]
comiss xmm0, xmm6
jbe 0x180007712
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800e78f8]
addss xmm1, dword [rdi + 0x1d90]
minss xmm1, dword [0x1800e7818]
jmp 0x18000772f
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800e7918]
movss xmm1, dword [rdi + 0x1d90]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1d90], xmm1
mov dword [rdi + 0x1ee8], r15d
mov qword [rdi + 0x31b0], 0xffffffffffffffff
mov dword [rdi + 0x31ac], 0xffffffff
mov dword [rdi + 0x2f3c], 0x3f800000
mov dword [rdi + 0x2f40], 0x3f800000
call fcn.180006370
mov rdx, qword [rdi + 0x1bd8]
mov rcx, rdx
test rdx, rdx
je 0x1800077b8
cmp byte [rdx + 0x7e], r15b
je 0x1800077b8
test dword [rdx + 0xc], 0x40000
jne 0x1800077b8
cmp byte [rdi + 0x148], r15b
jne 0x1800077b8
mov rax, qword [0x180200980]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x1800077b5
call fcn.180008b90
mov rcx, qword [rdi + 0x1bd8]
test al, al
je 0x1800077b8
mov al, 1
jmp 0x1800077ba
mov rcx, rdx
xor al, al
mov byte [rdi + 0x1d30], al
cmp dword [rdi + 0x1a78], r15d
jne 0x180007820
test al, al
je 0x180007820
mov qword [rdi + 0x1d18], rcx
mov dword [rdi + 0x1d28], 0x7fffffff
cmp dword [rdi + 0x1be0], r15d
je 0x18000780f
mov ecx, dword [rdi + 0x1c48]
cmp ecx, 0x7fffffff
je 0x18000780f
cmp byte [rdi + 0x149], r15b
mov eax, 2
cmovne eax, r15d
add eax, ecx
mov dword [rdi + 0x1d2c], eax
jmp 0x180007820
movzx eax, byte [rdi + 0x149]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1d2c], ecx
mov r8, qword [rdi + 0x1d18]
mov qword [rdi + 0x1d10], r15
mov dword [rdi + 0x1d24], 0x7fffffff
mov dword [rdi + 0x1d20], 0x7fffffff
test r8, r8
je 0x1800078b5
mov eax, dword [rdi + 0x1d28]
mov qword [rdi + 0x1d10], r8
cmp eax, 0x7fffffff
je 0x180007874
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x180007874
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1d20], edx
mov eax, dword [rdi + 0x1d2c]
cmp eax, 0x7fffffff
je 0x18000789a
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x18000789a
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1d24], edx
mov qword [rdi + 0x1d18], r15
mov dword [rdi + 0x1d2c], 0x7fffffff
mov dword [rdi + 0x1d28], 0x7fffffff
mov eax, dword [rdi + 0x19d8]
mov dword [rdi + 0x1c48], 0x7fffffff
cmp dword [rdi + 0x19e8], eax
je 0x1800078ed
mov r8d, 0xe93
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.cpp
lea rcx, str.g.WindowsFocusOrder.Size__g.Windows.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x19d8]
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x18000790a
movsd xmm7, qword [rdi + 0x19c0]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, r15d
test eax, eax
je 0x180007982
mov rsi, r15
cmp ebx, eax
jl 0x180007932
mov r8d, 0x511
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x19e0]
mov rcx, qword [rsi + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], r15w
mov byte [rcx + 0x7e], r15b
mov byte [rcx + 0x80], r15b
test al, al
jne 0x180007972
cmp byte [rcx + 0x3a8], r15b
jne 0x180007972
comiss xmm7, dword [rcx + 0x254]
jbe 0x180007972
call fcn.180005160
mov eax, dword [rdi + 0x19d8]
inc ebx
add rsi, 8
cmp ebx, eax
jne 0x180007916
mov rax, qword [rdi + 0x1bd8]
movaps xmm7, xmmword [rsp + 0x30]
test rax, rax
je 0x180007a2e
cmp byte [rax + 0x7f], r15b
jne 0x180007a2e
mov qword [rsp + 0x78], rbp
mov rbp, qword [0x180200980]
mov ebx, dword [rbp + 0x19e8]
sub ebx, 1
movsxd rsi, ebx
js 0x180007a22
nop dword [rax + rax]
cmp ebx, dword [rbp + 0x19e8]
jl 0x1800079e2
mov r8d, 0x511
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x19f0]
mov r8, qword [rax + rsi*8]
test r8, r8
je 0x180007a1a
cmp byte [r8 + 0x7f], r15b
je 0x180007a1a
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180007bef
dec ebx
sub rsi, 1
jns 0x1800079c0
xor ecx, ecx
call fcn.18000e8b0
mov rbp, qword [rsp + 0x78]
mov ecx, dword [rdi + 0x1a0c]
test ecx, ecx
jns 0x180007a55
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a08]
test eax, eax
cmovg edx, eax
call fcn.180017660
mov dword [rdi + 0x1a08], r15d
mov ecx, dword [rdi + 0x1bcc]
test ecx, ecx
jns 0x180007a83
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1bc8]
test eax, eax
cmovg edx, eax
call fcn.180017ce0
mov dword [rdi + 0x1bc8], r15d
xor edx, edx
mov rcx, qword [rdi + 0x1bd8]
call fcn.180010ed0
mov rax, qword [0x180200980]
lea r14, [rax + 0x2fc0]
lea rsi, [rax + 0x2fbc]
mov dword [r14], r15d
cmp byte [rsi], 0
mov r15, qword [rsp + 0x80]
je 0x180007b9c
mov ebx, dword [rax + 0x1a6c]
mov dword [rax + 0x1ee8], 7
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x180007aeb
call fcn.180008b90
test al, al
mov rax, qword [0x180200980]
je 0x180007aeb
mov byte [rsi], 0
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm6
jp 0x180007b04
jne 0x180007b04
test ebx, ebx
je 0x180007b04
mov dword [r14], ebx
mov byte [rsi], 0
or dword [rax + 0x1ad0], 0x40
mov dword [rax + 0x1b28], 0x3f19999a
call fcn.1800109f0
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.18002b470
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18002b470
mov eax, reloc.WS2_32.dll_recv
lea rdx, str.Click_to_break_in_debugger_
test ebx, ebx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
cmovne ecx, eax
mov rax, qword [0x180200980]
add rax, 0x160c
add rcx, rax
call fcn.18002b520
mov rax, qword [0x180200980]
mov rcx, qword [rax + 0x1a30]
test dword [rcx + 0xc], 0x2000000
jne 0x180007b90
mov r8d, 0x1cb5
lea rdx, str.C:UsersPublicDocumentsSteamCODEX264710localFiveM_StuffSource_code.scriptHookScriptHook_FiveM_PVPimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.18000e680
mov rax, qword [0x180200980]
or dword [rax + 0x1ad0], 2
lea rcx, str.DebugDefault
xor r8d, r8d
mov dword [rax + 0x1af0], 0x43c80000
xor edx, edx
mov dword [rax + 0x1af4], 0x43c80000
mov dword [rax + 0x1ad8], 4
call fcn.18000c280
mov rbx, qword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0x40]
mov byte [rdi + 0x19d5], 1
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x180007a24