Function at 0x4623ef
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x1c
push ebx
push dword [esp + 0x24]
call fcn.0044e5ef
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x46242a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045e42b
push eax
push str.Unable_to_call_CryptProtectMemory:__s
call fcn.0044dc6c
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword [ecx], eax
xor eax, eax
jmp 0x46263d
push ebp
push esi
push ebx
push str.Localputty_connshare_mutex
call fcn.004623c3
mov ebp, dword [esp + 0x48]
mov esi, eax
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0x1f0001
call fcn.00461b10
add esp, 0x18
test al, al
jne 0x46246e
push esi
call fcn.0040dab8
push ebx
call fcn.0040dab8
pop ecx
pop ecx
xor eax, eax
jmp 0x46263b
push edi
push 0xc
xor edi, edi
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00467540
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x28], edi
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4624ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045e42b
push eax
push esi
push str.CreateMutex___s___failed:__s
call fcn.0044dc6c
push esi
mov dword [ebp], eax
call fcn.0040dab8
push ebx
call fcn.0040dab8
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
add esp, 0x18
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call esi
xor eax, eax
jmp 0x46263a
push esi
call fcn.0040dab8
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call esi
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push str..pipeputty_connshare
call fcn.004623c3
cmp byte [esp + 0x5c], 0
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov dword [ebp], edi
je 0x46257f
push dword [esp + 0x38]
push eax
call fcn.00460a4b
mov esi, eax
push esi
mov ecx, dword [esi]
call dword [ecx + 0x18]
add esp, 0xc
test eax, eax
jne 0x46254b
xor edi, edi
inc edi
jmp 0x4625a2
mov eax, dword [esp + 0x48]
push dword [eax]
call fcn.0040dab8
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push eax
push str._s:__s
call fcn.0044dc6c
mov ecx, dword [esp + 0x5c]
push esi
mov dword [ecx], eax
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp byte [esp + 0x50], 0
je 0x4625e9
push dword [esp + 0x3c]
push eax
call fcn.00460c3e
mov esi, eax
push esi
mov eax, dword [esi]
call dword [eax + 0x18]
add esp, 0xc
test eax, eax
jne 0x4625b9
push 2
pop edi
push dword [ebp]
call fcn.0040dab8
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x44]
mov dword [eax], esi
jmp 0x46261e
mov eax, dword [esp + 0x4c]
push dword [eax]
call fcn.0040dab8
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push eax
push str._s:__s
call fcn.0044dc6c
mov ecx, dword [esp + 0x60]
push esi
mov dword [ecx], eax
mov eax, dword [esi]
call dword [eax + 4]
add esp, 0x18
cmp dword [ebp], edi
jne 0x462615
mov eax, dword [esp + 0x48]
cmp dword [eax], edi
jne 0x462615
mov eax, dword [esp + 0x4c]
cmp dword [eax], edi
jne 0x462615
push 0x86
push str...windowswinshare.c
push str.logtext__ds_err__us_err
call fcn.0046a02e
add esp, 0xc
push dword [esp + 0x10]
call fcn.0040dab8
pop ecx
push ebx
call fcn.0040dab8
mov ebx, dword [esp + 0x20]
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret