Function at 0x64df20
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
call fcn.0044a610
mov bl, byte [esp + 0x88]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x13], 0
mov dword [esp + 0x34], eax
mov byte [esp + 0x60], 0
mov byte [esp + 0x14], 1
mov byte [esp + 0x40], 1
mov byte [esp + 0x30], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x48], 0
mov al, byte [esp + 0x11]
test al, al
jne 0x64e03f
mov al, byte [esp + 0x11]
test al, al
jne 0x64e13a
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
test al, al
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edi
jne 0x64e2d1
mov cl, byte [esp + 0x14]
mov dword [esp + 0x44], 0x70a72771
mov eax, dword [esp + 0x20]
test cl, cl
mov dword [esp + 0x1c], eax
jne 0x64e0b5
mov dl, byte [esp + 0x13]
test dl, dl
je 0x64e00a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
and eax, 0xff
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*2 + 3]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x12]
test al, al
sete byte [esp + 0x14]
jmp 0x64e152
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add ecx, eax
test dl, dl
mov dword [esp + 0x28], ecx
je 0x64e033
call fcn.005ba120
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
call section..text
jmp 0x64e0b5
mov ecx, dword [esp + 0x34]
test bl, bl
mov dword [esp + 0x20], ecx
je 0x64e059
mov al, byte [esp + 0x11]
mov dword [esp + 0x58], ebp
test al, al
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], ebp
jne 0x64e0ea
jmp 0x64e084
mov al, byte [esp + 0x11]
mov dword [esp + 0x3c], ebp
test al, al
jne 0x64e22f
mov al, byte [esp + 0x12]
mov dl, byte [esp + 0x48]
test al, al
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x14], dl
sete byte [esp + 0x11]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x88]
test al, al
mov dword [esp + 0x18], ecx
je 0x64e213
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 0x70a72771
mov ecx, dword [esp + 0x44]
mov eax, edi
xor eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x14]
test al, al
je 0x64e30c
mov al, byte [esp + 0x30]
xor esi, esi
xor ecx, ecx
test al, al
sete cl
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
test cl, cl
mov dword [esp + 0x64], edx
je 0x64e186
mov al, byte [esp + 0x48]
test al, al
jne 0x64e291
mov eax, str.web_socket_extension_8B15764251D0
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov al, byte [esp + 0x11]
mov esi, dword [esp + 0x28]
test al, al
jne 0x64e1f0
mov al, byte [esp + 0x14]
mov dword [esp + 0x20], esi
test al, al
jne 0x64e213
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x13]
mov esi, dword [esp + 0x70]
test dl, dl
je 0x64e1f0
cmp ecx, dword [esp + 0x38]
setbe bl
test bl, bl
jne 0x64e00a
push ecx
call fcn.005bac20
mov eax, dword [esp + 0x30]
add esp, 4
xor eax, 2
mov dword [esp + 0x2c], eax
jmp 0x64e30c
mov dl, byte [esp + 0x40]
mov byte [esp + 0x14], dl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 0x48]
and eax, 0xff
mov edx, 0xb7
sub edx, eax
mov al, byte [esp + 0x13]
cmp ecx, edx
mov dword [esp + 0x24], ecx
sete bl
test al, al
jne 0x64df78
mov eax, dword [esp + 0x54]
test bl, bl
mov dword [esp + 0x28], eax
je 0x64e12a
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x60]
and eax, 0xff
lea ecx, [eax + eax*8 + 0x67]
mov al, byte [esp + 0x40]
test al, al
mov dword [esp + 0x2c], ecx
jne 0x64e20b
jmp 0x64df78
mov ebp, dword [esp + 0x74]
mov cl, byte [esp + 0x14]
xor eax, eax
mov dword [esp + 0x28], esi
cmp ebp, eax
mov dword [esp + 0x3c], eax
setne bl
test cl, cl
je 0x64e27a
test bl, bl
je 0x64df90
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x1c]
test cl, cl
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0x49377df6
je 0x64e338
mov al, byte [esp + 0x30]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
test al, al
mov eax, edi
sete byte [esp + 0x13]
or eax, ecx
xor edi, ecx
cmp eax, edi
mov dword [esp + 0x34], eax
setae bl
test bl, bl
je 0x64df48
mov dword [esp + 0x24], 0x85
mov dword [esp + 0x38], 0x53f91426
mov dword [esp + 0x68], 0x53f914a3
jmp 0x64e356
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x30]
test al, al
mov dword [esp + 0x5c], 0xcd1bec52
sete byte [esp + 0x12]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x11]
test al, al
mov dword [esp + 0x20], edx
jne 0x64dfc9
mov ecx, dword [esp + 0x18]
mov eax, str.web_socket_extension_8B15764251D0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
mov al, byte [esp + 0x60]
mov dword [esp + 0x1c], ebp
test al, al
jne 0x64dfd9
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x11]
test ecx, ecx
setne bl
test al, al
mov dword [esp + 0x24], 0x85
je 0x64e213
mov dl, byte [esp + 0x40]
mov dword [esp + 0x38], 0x53f91426
mov dword [esp + 0x68], 0x53f914a3
mov byte [esp + 0x13], dl
mov dword [esp + 0x64], ebp
jmp 0x64e368
mov eax, dword [esp + 0x14]
and eax, 0xff
push eax
mov eax, str.Web_Socket
push eax
mov eax, 0x652238
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, dword [esp + 0x24]
pop ebp
pop ebx
add esp, 0x68
ret 0x10
mov cl, byte [esp + 0x14]
test cl, cl
je 0x64e356
mov ecx, dword [esp + 0x20]
add eax, 0x49377df6
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x64e059
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov al, byte [esp + 0x12]
sub edi, ecx
test al, al
je 0x64e3bd
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
xor edx, eax
push edx
call fcn.0064de50
mov dword [esp + 0x28], eax
mov dword [0xa53150], eax
call fcn.004dd3c0
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
and eax, 0xff
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea ecx, [ecx + ecx*2 + 0xee]
push ecx
push 0x9000133
mov dword [esp + 0x7c], ecx
call fcn.00604700
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x64dfd9
mov dword [esp + 0x74], edi
jmp 0x64df84