Function at 0x1006ab70
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10090e19
push eax
mov eax, dword [0x100ac568]
mov dword fs:[0], esp
sub esp, 0x64
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x1006ad80
push esi
push edi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x24]
push str.NabeLogWrapperMultiStatic_InitialMutex__d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0xffffffffffffffff
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x100ac568], ebx
jne 0x1006ad6b
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov dword [esp + 0x78], ebx
je 0x1006ad63
mov dl, byte [esp + 0xf]
mov al, byte [esp + 0xf]
push ebp
mov ecx, edi
mov byte [edi], dl
mov byte [edi + 1], al
mov byte [edi + 8], bl
call fcn.1006c410
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea ecx, [edi + 0x10]
mov byte [esp + 0x7c], 1
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.1006c410
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x13]
lea esi, [edi + 0x20]
push 1
push ebx
mov byte [esp + 0x84], 2
mov byte [esi], cl
mov ecx, esi
mov byte [esi + 1], dl
mov byte [esi + 8], bl
call fcn.1006c810
lea ecx, [esp + 0x14]
mov ebp, eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x100ac570], ebx
jne 0x1006ac8d
mov eax, ebp
xor ebp, ebp
mov dword [0x100ac570], eax
mov dword [eax], ebx
mov eax, dword [0x100ac570]
mov dword [eax + 8], ebx
mov ecx, dword [0x100ac56c]
inc ecx
mov dword [0x100ac56c], ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x1006acb1
push ebp
call fcn.10088e50
add esp, 4
mov ecx, dword [0x100ac570]
push ebx
push ecx
mov ecx, esi
call fcn.1006c810
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea esi, [edi + 0x30]
push 1
push ebx
mov ecx, esi
mov byte [esp + 0x84], 3
mov byte [esi], dl
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.1006c810
lea ecx, [esp + 0x18]
mov ebp, eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x100ac570], ebx
jne 0x1006ad1b
mov eax, ebp
xor ebp, ebp
mov dword [0x100ac570], eax
mov dword [eax], ebx
mov ecx, dword [0x100ac570]
mov dword [ecx + 8], ebx
mov ecx, dword [0x100ac56c]
inc ecx
mov dword [0x100ac56c], ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x1006ad3f
push ebp
call fcn.10088e50
add esp, 4
mov edx, dword [0x100ac570]
push ebx
push edx
mov ecx, esi
call fcn.1006c810
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
pop ebp
mov dword [esi + 8], esi
mov esi, dword [esp + 0x18]
jmp 0x1006ad65
xor edi, edi
mov dword [0x100ac568], edi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x100ac568]
pop edi
pop esi
mov ecx, dword [esp + 0x68]
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret