Function at 0x481010
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2224
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 0x48104f
xor al, al
jmp 0x481346
push str._MUTEX
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00419240
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x4c]
mov edi, 8
cmp dword [ebp - 0x38], edi
jae 0x481074
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
jne 0x4811c2
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00410ff0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x11c]
push str.CreateMutexW_FAILED._GetLastError:
push edx
call fcn.00418890
add esp, 0xc
push eax
call fcn.004102c0
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.004159b0
mov byte [ebp - 4], 2
push esi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.004159b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004110f0
mov byte [ebp - 4], 4
push eax
push 0x70f
push ebx
call fcn.004117f0
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x68]
call fcn.0047acf0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], edi
jb 0x48113a
mov edx, dword [ebp - 0x84]
push edx
call fcn.0049b30a
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 - 0x54], edi
jb 0x481167
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0049b30a
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], edi
jb 0x481185
mov edx, dword [ebp - 0x30]
push edx
call fcn.0049b30a
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.004039f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x4811b5
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov word [ebp - 0x4c], cx
xor al, al
jmp 0x48133c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48131c
lea edx, [ebp - 0x11c]
push edx
call fcn.00410ff0
mov byte [ebp - 4], 5
push str._already_EXISTED.
push ecx
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x11c]
push str.Mutex
push ecx
call fcn.00418890
add esp, 0xc
push eax
call fcn.00418af0
add esp, 0xc
push eax
call fcn.00418890
add esp, 8
push 0x1d
mov esi, 0xf
push str.CProcUtility::SetSigletonProc
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.004159b0
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.004159b0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.004110f0
mov byte [ebp - 4], 8
push eax
push 0x715
push ebx
call fcn.004117f0
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x30]
call fcn.0047acf0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x70], edi
jb 0x481297
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0x1c], edi
jb 0x4812c4
mov eax, dword [ebp - 0x30]
push eax
call fcn.0049b30a
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 - 0x54], edi
jb 0x4812e2
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0049b30a
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x11c]
call fcn.004039f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 8
jb 0x481312
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov word [ebp - 0x4c], ax
xor al, al
jmp 0x48133c
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], edi
jb 0x481334
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov word [ebp - 0x4c], dx
mov al, 1
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 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.0049b315
mov esp, ebp
pop ebp
ret