Function at 0x478070
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2f34
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jne 0x4780af
xor al, al
jmp 0x478385
push str._MUTEX
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041d670
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x68]
mov edi, 8
cmp dword [ebp - 0x54], edi
jae 0x4780d4
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
jne 0x47821e
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00414a60
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x11c]
push str.CreateMutex_FAILED._GetLastError:
push edx
call fcn.0041d7d0
add esp, 0xc
push eax
call fcn.00475c10
push 0x1d
mov esi, 0xf
push str.CProcUtility::SetSigletonProc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.004190e0
mov byte [ebp - 4], 2
push esi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004190e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00414b60
mov byte [ebp - 4], 4
push eax
push 0x739
push ebx
call fcn.00413e40
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.00471900
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], edi
jb 0x47819a
mov edx, dword [ebp - 0x84]
push edx
call fcn.0049ca60
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 2
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x4781c7
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], edi
jb 0x4781e5
mov edx, dword [ebp - 0x30]
push edx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x11c]
call fcn.00403e50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x54], 8
jb 0x478215
mov eax, dword [ebp - 0x68]
push eax
call fcn.0049ca60
add esp, 4
xor ecx, ecx
xor al, al
jmp 0x478377
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47835b
lea edx, [ebp - 0x11c]
push edx
call fcn.00414a60
mov byte [ebp - 4], 5
lea eax, [ebp - 0x11c]
push str.ALREADY_existed.
push eax
call fcn.0041d7d0
add esp, 8
push 0x1d
mov esi, 0xf
push str.CProcUtility::SetSigletonProc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.004190e0
mov byte [ebp - 4], 6
push esi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.004190e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.00414b60
mov byte [ebp - 4], 8
push eax
push 0x73f
push ebx
call fcn.00413e40
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x30]
call fcn.00471900
mov byte [ebp - 4], 7
cmp dword [ebp - 0x70], edi
jb 0x4782d6
mov eax, dword [ebp - 0x84]
push eax
call fcn.0049ca60
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0x1c], edi
jb 0x478303
mov edx, dword [ebp - 0x30]
push edx
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x38], edi
jb 0x478321
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x11c]
call fcn.00403e50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x54], 8
jb 0x478351
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0049ca60
add esp, 4
xor edx, edx
mov word [ebp - 0x68], dx
xor al, al
jmp 0x47837b
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x54], edi
jb 0x478373
mov eax, dword [ebp - 0x68]
push eax
call fcn.0049ca60
add esp, 4
xor ecx, ecx
mov al, 1
mov word [ebp - 0x68], cx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret