Function at 0x1400018b0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x598]
sub rsp, 0x698
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov qword [rsp + 0x50], rcx
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x1400018f7
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400018f7
call qword [sym.imp.multi_window_windows_plugin.dll_void___cdecl_CreateAndAttachConsole_void_]
mov qword [rsp + 0x6b8], rbx
mov edx, 2
mov qword [rsp + 0x6c0], rsi
xor ecx, ecx
mov qword [rsp + 0x6c8], r12
mov qword [rsp + 0x690], r13
mov qword [rsp + 0x688], r14
mov qword [rsp + 0x680], r15
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edi, edi
mov qword [rbp - 0x58], 7
lea rdx, str.data
mov qword [rbp - 0x70], rdi
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x60], rdi
lea r8d, [rdi + 4]
call fcn.140001760
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.140001110
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400019a7
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019a2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002080
call fcn.140002830
lea rcx, [rsp + 0x28]
call qword [sym.imp.multi_window_windows_plugin.dll_class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______cdecl_GetCommandLineArguments_void_]
mov r15, qword [rsp + 0x28]
xor sil, sil
mov r12, qword [rsp + 0x30]
xor r13b, r13b
mov byte [rsp + 0x20], sil
cmp r15, r12
je 0x140001bf2
cmp qword [r15 + 0x18], 0x10
movabs rax, 0x7fffffffffffffff
mov rsi, qword [r15 + 0x10]
mov r14, r15
mov qword [rbp - 0x58], rdi
jb 0x1400019ef
mov r14, qword [r15]
cmp rsi, 0x10
jae 0x140001a08
movups xmm0, xmmword [r14]
mov edi, 0xf
movups xmmword [rbp - 0x70], xmm0
mov rbx, qword [rbp - 0x70]
jmp 0x140001a73
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140001a4f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000210f
mov rcx, rax
call fcn.1400027f4
test rax, rax
je 0x140002080
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001a60
test rcx, rcx
je 0x140001a5e
call fcn.1400027f4
mov rbx, rax
jmp 0x140001a60
xor ebx, ebx
lea r8, [rsi + 1]
mov qword [rbp - 0x70], rbx
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str._minQuote
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x60], rsi
call qword [sym.imp.multi_window_windows_plugin.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Utf8FromUtf16_wchar_t_const____ptr64_]
cmp qword [rax + 0x18], 0x10
mov rdx, qword [rax + 0x10]
jb 0x140001a9a
mov rax, qword [rax]
cmp rdi, 0x10
lea rcx, [rbp - 0x70]
cmovae rcx, rbx
cmp rsi, rdx
jne 0x140001abf
mov r8, rsi
mov rdx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001abf
mov r14b, 1
jmp 0x140001ac2
xor r14b, r14b
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140001afd
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001be4
call fcn.140002830
test r14b, r14b
je 0x140001b0f
mov sil, 1
mov byte [rsp + 0x20], sil
jmp 0x140001ba2
lea rdx, str._force
lea rcx, [rbp - 0x10]
call qword [sym.imp.multi_window_windows_plugin.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Utf8FromUtf16_wchar_t_const____ptr64_]
cmp qword [rax + 0x18], 0x10
mov rdx, qword [rax + 0x10]
jb 0x140001b2e
mov rax, qword [rax]
cmp rdi, 0x10
lea rcx, [rbp - 0x70]
cmovae rcx, rbx
cmp rsi, rdx
jne 0x140001b53
mov r8, rsi
mov rdx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001b53
mov sil, 1
jmp 0x140001b56
xor sil, sil
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140001b8d
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b88
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001beb
call fcn.140002830
test sil, sil
movzx r13d, r13b
movzx esi, byte [rsp + 0x20]
mov eax, 1
cmovne r13d, eax
cmp rdi, 0x10
jb 0x140001bd9
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001bd1
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002080
mov rcx, rbx
call fcn.140002830
add r15, 0x20
xor edi, edi
jmp 0x1400019c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movaps xmmword [rsp + 0x670], xmm6
lea rbx, [0x1400044d0]
mov r15d, 0x1f6
movaps xmmword [rsp + 0x660], xmm7
mov r8d, 3
mov qword [rbp - 0x30], rdi
mov rdx, rbx
mov qword [rbp - 0x20], rdi
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x18], 7
lea r12d, [r15 + 0x62]
mov r14d, 0x2e8
xorps xmm6, xmm6
xorps xmm7, xmm7
call fcn.140001760
lea rax, str.traderMasterFloat
test sil, sil
lea r8, str.traderMasterFlutter
mov edx, 1
cmovne r8, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140007268], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001cc4
test r13b, r13b
jne 0x140001cc4
lea rdx, [0x140004528]
test sil, sil
lea rcx, str.FLUTTER_RUNNER_WIN32_WINDOW
cmovne rbx, rdx
mov rdx, rbx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140001cbd
mov rcx, rax
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetFocus]
mov esi, edi
jmp 0x140001f7e
test sil, sil
je 0x140001cf4
mov r15d, 0x55
lea rdx, [0x140004528]
mov r14d, 0x140
lea rcx, [rbp - 0x30]
mov r12d, r14d
lea r8d, [r15 - 0x52]
call fcn.140001760
call qword [sym.imp.multi_window_windows_plugin.dll_public:_static_bool___cdecl_MultiWindow::setFloaterAutoStart_void_]
jmp 0x140001d30
xor edx, edx
lea r8, [rbp - 0x70]
xor r9d, r9d
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [rbp - 0x68]
xorps xmm6, xmm6
xorps xmm7, xmm7
lea ecx, [rax - 0x2e8]
shr ecx, 1
add eax, ecx
cvtsi2sd xmm6, rax
mov eax, dword [rbp - 0x64]
add eax, 0xfffffe0a
shr eax, 1
add eax, dword [rbp - 0x6c]
cvtsi2sd xmm7, rax
mov rsi, qword [rsp + 0x38]
lea rcx, [rbp + 0x90]
mov rbx, qword [rsp + 0x28]
xor eax, eax
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
call fcn.140001580
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___class_flutter::PluginRegistry____ptr64___void__class_flutter::PluginRegistry____ptr64_.0
mov qword [rbp + 0x98], rdi
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x70]
lea rax, [0x140002180]
mov qword [rbp + 0x90], rbx
mov rbx, qword [sym.imp.multi_window_windows_plugin.dll_class_std::function_void____cdecl___class_flutter::PluginRegistry____ptr64___FlutterWindow::registerPluginsHaneler]
lea rcx, [rbp - 0x10]
mov qword [rbp - 8], rax
xor edi, edi
lea rax, [rbp - 0x10]
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0x28], rax
mov rax, qword [method.std::_Func_impl_no_alloc_void____cdecl___class_flutter::PluginRegistry____ptr64___void__class_flutter::PluginRegistry____ptr64_.virtual_0]
mov qword [rbp - 0x38], rdi
call rax
mov rcx, qword [rbp + 0x28]
mov r8, rax
mov qword [rbp - 0x38], rax
test rcx, rcx
je 0x140001dd7
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp - 0x38]
mov ecx, edi
mov qword [rbp + 0x28], rcx
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x140001e29
mov rcx, r9
cmp r9, rbx
jne 0x140001e21
mov rax, qword [r9]
lea rdx, [rbp - 0x10]
call qword [rax + 8]
mov r8, qword [rbx + 0x38]
mov rcx, rax
mov qword [rbp + 0x28], rax
test r8, r8
je 0x140001e1b
mov rax, qword [r8]
cmp r8, rbx
mov rcx, r8
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x28]
mov r8, qword [rbp - 0x38]
jmp 0x140001e25
mov r8, qword [rbp - 0x38]
jmp 0x140001e29
mov qword [rbp + 0x28], rcx
mov qword [rbx + 0x38], rdi
test r8, r8
je 0x140001e6a
lea rax, [rbp - 0x70]
cmp r8, rax
jne 0x140001e66
mov rax, qword [r8]
mov rdx, rbx
mov rcx, r8
call qword [rax + 8]
mov rcx, qword [rbp - 0x38]
mov qword [rbx + 0x38], rax
test rcx, rcx
je 0x140001e60
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x28]
jmp 0x140001e6a
mov qword [rbx + 0x38], r8
test rcx, rcx
je 0x140001e7f
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea r9, [rbp - 0x70]
mov dword [rbp - 0x70], r12d
xor r8d, r8d
mov dword [rbp - 0x6c], r15d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.multi_window_windows_plugin.dll_public:_void___cdecl_MultiWindow::constructor_class_flutter::DartProject____ptr64__int__struct_Win32Window::Size_const____ptr64____ptr64]
cvttsd2si rax, xmm6
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
lea r8, [rsp + 0x48]
mov dword [rsp + 0x44], r15d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xb0]
mov dword [rsp + 0x48], eax
cvttsd2si rax, xmm7
mov dword [rsp + 0x4c], eax
call qword [sym.imp.multi_window_windows_plugin.dll_public:_bool___cdecl_Win32Window::CreateAndShow_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__struct_Win32Window::Point_const____ptr64__struct_Win32Window::Size_const____ptr64____ptr64]
test al, al
jne 0x140001ee4
mov esi, 1
jmp 0x140001f71
cmp byte [rsp + 0x20], dil
je 0x140001efd
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.multi_window_windows_plugin.dll_public:_void___cdecl_MultiWindow::InitTray_struct_HINSTANCE______ptr64____ptr64]
mov dl, 1
lea rcx, [rbp + 0xb0]
call qword [sym.imp.multi_window_windows_plugin.dll_public:_void___cdecl_Win32Window::SetQuitOnClose_bool____ptr64]
xor r9d, r9d
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001f50
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001f23
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [0x140007268]
test rcx, rcx
je 0x140001f6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140007268], rdi
mov esi, edi
lea rcx, [rbp + 0xb0]
call qword [sym.imp.multi_window_windows_plugin.dll_public_virtual:_void___cdecl_MultiWindow::destructor_void____ptr64]
mov rdx, qword [rbp - 0x18]
movaps xmm7, xmmword [rsp + 0x660]
movaps xmm6, xmmword [rsp + 0x670]
cmp rdx, 8
jb 0x140001fce
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fc9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002080
call fcn.140002830
mov rbx, qword [rsp + 0x28]
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
test rbx, rbx
je 0x14000209d
mov rdi, qword [rsp + 0x30]
xor r14d, r14d
cmp rbx, rdi
je 0x140002053
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140002036
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140002031
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002080
mov rcx, r8
call fcn.140002830
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
add rbx, 0x20
cmp rbx, rdi
jne 0x140002000
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rax, rbx
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140002087
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002087
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140002830
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
movdqu xmmword [rsp + 0x28], xmm0
lea rcx, [rbp + 0x90]
call fcn.140001580
lea rcx, [rbp + 0x70]
call fcn.140001660
lea rcx, [rbp + 0x50]
call fcn.140001660
lea rcx, [rbp + 0x30]
call fcn.140001660
mov r15, qword [rsp + 0x680]
mov eax, esi
mov rsi, qword [rsp + 0x6c0]
mov r14, qword [rsp + 0x688]
mov r13, qword [rsp + 0x690]
mov r12, qword [rsp + 0x6c8]
mov rbx, qword [rsp + 0x6b8]
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140002950
add rsp, 0x698
pop rdi
pop rbp
ret
call fcn.140001560
int3