Function at 0x140039350
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
test rcx, rcx
jne 0x14003937e
xor eax, eax
jmp 0x1400394fc
mov qword [rbp - 0x11], 0xf
mov qword [rbp - 0x19], SHCreateMemStream
movsd xmm0, qword [str.channelport]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x140062298]
mov word [rbp - 0x21], ax
mov al, byte [0x14006229a]
mov byte [rbp - 0x1f], al
mov byte [rbp - 0x1e], bl
lea r8, [rbp - 0x29]
lea rdx, [rbp - 1]
call qword [sym.imp.Cmmlib.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Cmm::CommandLine::GetSwitchValueASCII_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400393ff
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400393fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400393fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050244
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], bl
cmp qword [rbp + 0xf], rbx
je 0x1400394bc
lea rdx, str.com.zoom.ipc.edgewebview2server
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rdx, [rbp - 1]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::AssignOther_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14009dad8], rax
test rax, rax
je 0x1400394b1
mov edx, 0x1388
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400394b1
mov rcx, qword [0x14009dad8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14009dad8], rbx
mov ebx, 1
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400394fa
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400394f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400394f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050244
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004fc30
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret