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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [0x1800cb860]
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
test rbx, rbx
jne 0x180017eef
mov r8d, 0xdde
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.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 rbx, qword [0x1800cb860]
call fcn.180017c10
xor edi, edi
cmp byte [rbx + 0x2ef4], dil
jne 0x180017f70
cmp dword [rbx + 0x2f20], edi
je 0x180017f21
mov r8d, 0xdeb
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180017f69
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rdi
call fcn.180013670
mov rsi, rax
test rax, rax
je 0x180017f69
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1800262b0
mov rcx, qword [0x1800cb860]
test rcx, rcx
je 0x180017f60
dec dword [rcx + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x2ef4], 1
movss xmm0, dword [rbx + 0x2ef8]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180017faf
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2ef8], xmm0
jb 0x180017faf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180017fa2
call fcn.1800265e0
jmp 0x180017fa9
mov byte [rbx + 0x3a4], 1
mov dword [rbx + 0x2ef8], edi
inc dword [rbx + 0x19b0]
movss xmm0, dword [rbx + 0x18]
mov rax, qword [rbx + 0xa8]
mov rsi, qword [0x1800cb860]
mov byte [rbx + 0x19bc], 1
mov dword [rbx + 0x2ec8], edi
mov dword [rbx + 0x1a10], edi
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rbx + 0x19a8]
movsd qword [rbx + 0x19a8], xmm0
mov byte [rax], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x18001802a
mov rsi, qword [rsi + 0xa8]
cmp dword [rsi + 0x40], edi
jg 0x180018023
mov r8d, 0x4f8
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48]
mov rcx, qword [rax]
call fcn.18001f530
mov rax, qword [rbx + 0x1908]
cmp qword [rax + 0x48], rdi
jne 0x180018056
mov r8d, 0xe08
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
mov qword [rbx + 0x1930], rdi
movss dword [rbx + 0x1938], xmm0
movss dword [rbx + 0x193c], xmm1
mov eax, dword [rbx + 0x1604]
mov dword [rbx + 0x192c], eax
mov eax, edi
mov dword [rbx + 0x1940], edi
cmp byte [rbx + 0x1600], dil
je 0x18001809f
mov eax, 1
mov dword [rbx + 0x1940], eax
cmp byte [rbx + 0x1601], dil
je 0x1800180b1
or eax, 2
mov dword [rbx + 0x1940], eax
test byte [rbx + 0xc], 8
je 0x1800180c0
or eax, 4
mov dword [rbx + 0x1940], eax
lea rbp, [rbx + 0x1d40]
mov rcx, rbp
call fcn.18002ff10
mov rax, qword [rbx + 0xa8]
mov esi, 8
mov ecx, dword [rbp + 0x74]
mov r8d, dword [rbp + 0x70]
mov r15, qword [rax + 8]
cmp r8d, ecx
jne 0x180018112
inc r8d
test ecx, ecx
je 0x1800180fd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800180ff
mov eax, esi
cmp eax, r8d
lea rcx, [rbp + 0x70]
cmovg r8d, eax
mov edx, r8d
call fcn.180027660
movsxd rdx, dword [rbp + 0x70]
mov rcx, rbp
mov rax, qword [rbp + 0x78]
mov qword [rax + rdx*8], r15
inc dword [rbp + 0x70]
call fcn.180030360
mov rcx, rbp
call fcn.1800305d0
lea rbp, [rbx + 0x1de8]
mov rcx, rbp
call fcn.18002ff10
mov rax, qword [rbx + 0xa8]
mov r8d, dword [rbp + 0x74]
mov ecx, dword [rbp + 0x70]
mov r15, qword [rax + 8]
cmp ecx, r8d
jne 0x18001817a
inc ecx
test r8d, r8d
je 0x18001816a
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea esi, [r8 + rax]
cmp esi, ecx
cmovg ecx, esi
mov edx, ecx
lea rcx, [rbp + 0x70]
call fcn.180027660
movsxd rdx, dword [rbp + 0x70]
mov rcx, rbp
mov rax, qword [rbp + 0x78]
mov qword [rax + rdx*8], r15
inc dword [rbp + 0x70]
call fcn.180030360
mov rcx, rbp
call fcn.1800305d0
mov rdx, qword [0x1800cb860]
mov byte [rbx + 0x1ce0], dil
mov qword [rbx + 0x1ce8], rdi
mov qword [rbx + 0x1cf4], rdi
mov dword [rbx + 0x1cf0], edi
mov qword [rbx + 0x1d0c], rdi
mov qword [rbx + 0x1d04], rdi
mov qword [rbx + 0x1cfc], rdi
cmp byte [rbx + 0x1e94], dil
je 0x180018204
mov eax, dword [rbx + 0x1eb4]
cmp eax, dword [rbx + 0x1a60]
jne 0x180018204
cmp dword [rdx + 0x1a60], eax
jne 0x1800181f5
mov dword [rdx + 0x1a64], eax
cmp dword [rdx + 0x1a9c], eax
jne 0x180018204
mov byte [rdx + 0x1aa0], 1
cmp dword [rbx + 0x1a54], edi
jne 0x180018214
mov dword [rbx + 0x1a58], edi
jmp 0x180018226
mov eax, dword [rbx + 0x1a4c]
test eax, eax
je 0x18001822c
cmp dword [rbx + 0x1a60], eax
jne 0x18001822c
mov dword [rbx + 0x1a5c], edi
mov eax, dword [rbx + 0x1a4c]
test eax, eax
je 0x180018266
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a58]
movss dword [rbx + 0x1a58], xmm0
cmp dword [rbx + 0x1a60], eax
je 0x180018266
addss xmm1, dword [rbx + 0x1a5c]
movss dword [rbx + 0x1a5c], xmm1
mov dword [rbx + 0x1a54], eax
mov eax, dword [rbx + 0x1a60]
mov dword [rbx + 0x1a4c], edi
mov byte [rbx + 0x1a50], dil
cmp dword [rbx + 0x1a64], eax
je 0x1800182de
cmp dword [rbx + 0x1a9c], eax
jne 0x1800182de
test eax, eax
je 0x1800182de
mov ecx, dword [rdx + 0x1a60]
test ecx, ecx
setne al
mov byte [rdx + 0x1a6c], al
test ecx, ecx
je 0x1800182b5
mov dword [rdx + 0x1a68], edi
mov word [rdx + 0x1a6e], di
mov dword [rdx + 0x1a60], edi
mov byte [rdx + 0x1a6d], dil
mov qword [rdx + 0x1a90], rdi
mov byte [rdx + 0x1a70], dil
mov qword [rdx + 0x1a74], rdi
mov qword [rdx + 0x1a80], rdi
mov ecx, dword [rbx + 0x1a60]
test ecx, ecx
je 0x1800182fd
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1a68]
movss dword [rbx + 0x1a68], xmm0
mov rax, qword [rbx + 0x1a90]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1ab4]
mov qword [rbx + 0x1aa8], rax
movzx eax, byte [rbx + 0x1a6f]
mov byte [rbx + 0x1aa1], al
mov eax, dword [rbx + 0x2e90]
movss dword [rbx + 0x1ab4], xmm0
mov dword [rbx + 0x1a9c], ecx
mov dword [rbx + 0x1a64], edi
mov byte [rbx + 0x1a70], dil
mov byte [rbx + 0x1aa0], dil
mov byte [rbx + 0x1a6c], dil
test eax, eax
je 0x180018362
cmp ecx, eax
je 0x180018362
mov dword [rbx + 0x2e90], edi
test ecx, ecx
jne 0x180018374
mov qword [rbx + 0x1a74], rdi
mov qword [rbx + 0x1a80], rdi
mov eax, dword [rbx + 0x1f04]
lea rcx, [rbx + 0xca0]
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x1f08], eax
mov r8d, 0x800
mov qword [rbx + 0x1f00], 0x7f7fffff
mov byte [rbx + 0x1e95], dil
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1800bc4bc]
lea rcx, [rbx + 0x14d]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x1800183e3
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1800183dc
movaps xmm0, xmm6
jmp 0x1800183e6
addss xmm0, dword [rbx + 0x18]
jmp 0x1800183e6
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x180018405
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1800183fe
movaps xmm0, xmm6
jmp 0x180018408
addss xmm0, dword [rbx + 0x18]
jmp 0x180018408
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x180018428
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x180018421
movaps xmm0, xmm6
jmp 0x18001842b
addss xmm0, dword [rbx + 0x18]
jmp 0x18001842b
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18001844c
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x180018445
movaps xmm0, xmm6
jmp 0x18001844f
addss xmm0, dword [rbx + 0x18]
jmp 0x18001844f
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1800183c7
call fcn.180023300
call fcn.180016d20
movsxd rax, dword [rbx + 0x314c]
movss xmm1, dword [rbx + 0x18]
movss xmm7, dword [0x1800bc4b0]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2f6c]
addss xmm0, dword [rbx + 0x3150]
movss dword [rbx + 0x3150], xmm0
movss dword [rbx + rax*4 + 0x2f6c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x314c]
movss xmm1, dword [rbx + 0x3150]
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 [rbx + 0x314c], ecx
jbe 0x1800184f2
divss xmm1, dword [0x1800bc47c]
movss xmm0, dword [0x1800bc3c8]
divss xmm0, xmm1
jmp 0x1800184f5
movaps xmm0, xmm7
movss dword [rbx + 0x3a8], xmm0
call fcn.180017730
call fcn.180016770
mov r8, qword [0x1800cb860]
mov eax, dword [r8 + 0x1b60]
sub eax, 1
js 0x18001854e
mov r8, qword [r8 + 0x1b68]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x180018544
test dword [rax + 0xc], 0x8000000
jne 0x180018564
sub r8, 0x30
sub rdx, 1
jns 0x180018533
cmp qword [rbx + 0x1bc8], rdi
je 0x180018583
movss xmm0, dword [rbx + 0x1be4]
comiss xmm0, xmm6
jbe 0x180018583
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800bc41c]
addss xmm1, dword [rbx + 0x1d38]
minss xmm1, dword [0x1800bc3c8]
jmp 0x1800185a0
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800bc428]
movss xmm1, dword [rbx + 0x1d38]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1d38], xmm1
mov dword [rbx + 0x1e90], edi
mov qword [rbx + 0x3158], 0xffffffffffffffff
mov dword [rbx + 0x3154], 0xffffffff
mov dword [rbx + 0x2ee4], 0x3f800000
mov dword [rbx + 0x2ee8], 0x3f800000
call fcn.1800171f0
mov r10, qword [rbx + 0x1b80]
test r10, r10
je 0x18001861c
cmp byte [r10 + 0x7e], dil
je 0x18001861c
test dword [r10 + 0xc], 0x40000
jne 0x18001861c
cmp byte [rbx + 0x148], dil
jne 0x18001861c
mov rax, qword [0x1800cb860]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x18001861c
call fcn.180019a70
test al, al
je 0x18001861c
mov al, 1
jmp 0x18001861e
xor al, al
mov byte [rbx + 0x1cd8], al
cmp dword [rbx + 0x1a60], edi
jne 0x180018688
test al, al
je 0x180018688
mov rax, qword [rbx + 0x1b80]
mov qword [rbx + 0x1cc0], rax
mov dword [rbx + 0x1cd0], 0x7fffffff
cmp dword [rbx + 0x1b88], edi
je 0x180018677
mov ecx, dword [rbx + 0x1bf0]
cmp ecx, 0x7fffffff
je 0x180018677
cmp byte [rbx + 0x149], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [rbx + 0x1cd4], eax
jmp 0x180018688
movzx eax, byte [rbx + 0x149]
neg al
sbb ecx, ecx
mov dword [rbx + 0x1cd4], ecx
mov r8, qword [rbx + 0x1cc0]
mov qword [rbx + 0x1cb8], rdi
mov dword [rbx + 0x1ccc], 0x7fffffff
mov dword [rbx + 0x1cc8], 0x7fffffff
test r8, r8
je 0x18001871d
mov eax, dword [rbx + 0x1cd0]
mov qword [rbx + 0x1cb8], r8
cmp eax, 0x7fffffff
je 0x1800186dc
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x1800186dc
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1cc8], edx
mov eax, dword [rbx + 0x1cd4]
cmp eax, 0x7fffffff
je 0x180018702
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x180018702
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1ccc], edx
mov qword [rbx + 0x1cc0], rdi
mov dword [rbx + 0x1cd4], 0x7fffffff
mov dword [rbx + 0x1cd0], 0x7fffffff
mov eax, dword [rbx + 0x19c0]
mov dword [rbx + 0x1bf0], 0x7fffffff
cmp dword [rbx + 0x19d0], eax
je 0x180018755
mov r8d, 0xe8d
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.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 [rbx + 0x19c0]
movss xmm0, dword [rbx + 0xd0]
comiss xmm0, xmm6
jb 0x180018772
movsd xmm7, qword [rbx + 0x19a8]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov esi, edi
test eax, eax
je 0x1800187e8
mov r14, rdi
cmp edi, eax
jl 0x180018799
mov r8d, 0x4f8
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x19c8]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], di
mov byte [rcx + 0x7e], dil
mov byte [rcx + 0x80], dil
test al, al
jne 0x1800187d8
cmp byte [rcx + 0x3a8], dil
jne 0x1800187d8
comiss xmm7, dword [rcx + 0x254]
jbe 0x1800187d8
call fcn.180015da0
mov eax, dword [rbx + 0x19c0]
inc esi
add r14, 8
cmp esi, eax
jne 0x18001877d
mov rax, qword [rbx + 0x1b80]
test rax, rax
je 0x18001888a
cmp byte [rax + 0x7f], dil
jne 0x18001888a
mov r14, qword [0x1800cb860]
mov esi, dword [r14 + 0x19d0]
sub esi, 1
movsxd rbp, esi
js 0x180018883
nop dword [rax + rax]
cmp esi, dword [r14 + 0x19d0]
jl 0x180018843
mov r8d, 0x4f8
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x19d8]
mov r8, qword [rax + rbp*8]
test r8, r8
je 0x18001887b
cmp byte [r8 + 0x7f], dil
je 0x18001887b
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180018a31
dec esi
sub rbp, 1
jns 0x180018820
xor ecx, ecx
call fcn.18001ee70
mov ecx, dword [rbx + 0x19f4]
test ecx, ecx
jns 0x1800188b0
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x19f0]
test eax, eax
cmovg edx, eax
call fcn.180027660
lea rcx, [rbx + 0x1b70]
mov dword [rbx + 0x19f0], edi
xor edx, edx
call fcn.180027390
mov rcx, qword [rbx + 0x1b80]
xor edx, edx
call fcn.1800215e0
mov rsi, qword [0x1800cb860]
mov dword [rsi + 0x2f68], edi
cmp byte [rsi + 0x2f64], dil
je 0x1800189c8
mov ebp, dword [rsi + 0x1a54]
mov dword [rsi + 0x1e90], 7
mov ecx, dword [rsi + 0x74]
test ecx, ecx
js 0x180018913
call fcn.180019a70
test al, al
je 0x180018913
mov byte [rsi + 0x2f64], dil
mov rax, qword [0x1800cb860]
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm6
jp 0x18001893a
jne 0x18001893a
test ebp, ebp
je 0x18001893a
mov dword [rsi + 0x2f68], ebp
mov byte [rsi + 0x2f64], dil
or dword [rax + 0x1ab8], 0x40
mov dword [rax + 0x1b10], 0x3f19999a
call fcn.180021090
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.18003ad00
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18003ad00
mov rcx, qword [0x1800cb860]
lea rdx, str.Click_to_break_in_debugger_
mov eax, 0x10
test ebp, ebp
cmove rdi, rax
add rcx, 0x1608
add rcx, rdi
call fcn.18003ae00
mov rax, qword [0x1800cb860]
mov rcx, qword [rax + 0x1a18]
test dword [rcx + 0xc], 0x2000000
jne 0x1800189c3
mov r8d, 0x1c8f
lea rdx, str.C:UsersPrzemekDesktopBlackEngine2.0BlackEngine_src_FiveM_mainimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.18001eca0
mov rax, qword [0x1800cb860]
lea rcx, str.DebugDefault
movss xmm1, dword [0x1800bc48c]
xor r8d, r8d
movaps xmm0, xmm1
xor edx, edx
unpcklps xmm0, xmm1
or dword [rax + 0x1ab8], 2
movsd qword [rax + 0x1ad8], xmm0
mov dword [rax + 0x1ac0], 4
call fcn.18001c820
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
mov byte [rbx + 0x19bd], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x180018885