Function at 0x44ec97
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push dword [ebp + 8]
call fcn.0044eb8f
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0x10], ebx
jne 0x44ecd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b2c5
push eax
push str.Unable_to_call_CryptProtectMemory:__s
call fcn.0040c314
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
xor eax, eax
jmp 0x44eec8
push esi
push edi
push ebx
push str.Localputty_connshare_mutex
call fcn.0044ec6b
mov esi, dword [ebp + 0x1c]
mov edi, eax
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1f0001
call fcn.0044e432
add esp, 0x18
test eax, eax
jne 0x44ed12
push edi
call fcn.0040bd73
push ebx
call fcn.0040bd73
pop ecx
pop ecx
jmp 0x44ed80
push 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00452c10
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
add esp, 0xc
push edi
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0xc
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [ebp - 8], eax
jne 0x44ed87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b2c5
push eax
push edi
push str.CreateMutex___s___failed:__s
call fcn.0040c314
push edi
mov dword [esi], eax
call fcn.0040bd73
push ebx
call fcn.0040bd73
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
add esp, 0x18
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
jmp 0x44eec6
push edi
call fcn.0040bd73
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
push dword [ebp - 4]
call edi
push dword [ebp - 0xc]
call edi
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push str..pipeputty_connshare
call fcn.0044ec6b
and dword [esi], 0
cmp dword [ebp + 0x2c], 0
pop ecx
pop ecx
mov ebx, eax
je 0x44ee19
push dword [ebp + 0x10]
push ebx
call fcn.0044d7ac
mov edi, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
add esp, 0xc
test eax, eax
jne 0x44edef
push dword [esi]
call fcn.0040bd73
mov eax, dword [ebp + 0x18]
mov dword [esi], ebx
xor esi, esi
mov dword [eax], edi
inc esi
jmp 0x44eea8
mov eax, dword [ebp + 0x20]
push dword [eax]
call fcn.0040bd73
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
push eax
push ebx
push str._s:__s
call fcn.0040c314
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 0x18
cmp dword [ebp + 0x28], 0
je 0x44ee75
push dword [ebp + 0x14]
push ebx
call fcn.0044db54
mov edi, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
add esp, 0xc
test eax, eax
jne 0x44ee4b
push dword [esi]
call fcn.0040bd73
mov eax, dword [ebp + 0x18]
pop ecx
mov dword [esi], ebx
push 2
mov dword [eax], edi
pop esi
jmp 0x44eea9
mov eax, dword [ebp + 0x24]
push dword [eax]
call fcn.0040bd73
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
push eax
push ebx
push str._s:__s
call fcn.0040c314
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 0x18
xor edi, edi
cmp dword [esi], edi
jne 0x44eea0
mov eax, dword [ebp + 0x20]
cmp dword [eax], edi
jne 0x44eea0
mov eax, dword [ebp + 0x24]
cmp dword [eax], edi
jne 0x44eea0
push 0xe1
push str...windowswinshare.c
push str.logtext__ds_err__us_err
call fcn.004522d8
add esp, 0xc
push ebx
call fcn.0040bd73
xor esi, esi
pop ecx
push dword [ebp - 0x10]
call fcn.0040bd73
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret