Function at 0x41a2d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a676
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x29], 0
lea edx, [ebp - 0x198]
mov eax, dword [0x4ece84]
call fcn.00406714
lea eax, [ebp - 0x198]
push eax
lea edx, [ebp - 0x19c]
mov eax, dword [0x4ece38]
call fcn.00406714
mov edx, dword [ebp - 0x19c]
pop eax
call fcn.004037c0
mov eax, dword [ebp - 0x198]
call fcn.004039b8
push eax
push 0
push 0x100000
call sub.KERNEL32.dll_OpenMutexA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41a658
push 0x104
lea eax, [ebp - 0x191]
push eax
push ebx
call sub.KERNEL32.dll_GetModuleFileNameA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x30]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor edx, edx
push ebp
push 0x41a648
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 1
lea ebx, [ebp - 0x8c]
lea esi, [ebp - 0x24]
lea edx, [ebp - 0x1a0]
mov eax, dword [0x4ece84]
call fcn.00406714
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1a4]
mov dl, byte [ebp - 0x64]
add dl, 0x30
call fcn.00403710
mov edx, dword [ebp - 0x1a4]
pop eax
call fcn.004037c0
mov eax, dword [ebp - 0x1a0]
call fcn.004039b8
push eax
push 0
push 0xf001f
call sub.KERNEL32.dll_OpenFileMappingA
mov edi, eax
mov dword [ebx], edi
test edi, edi
je 0x41a427
push 0
push 0
push 0
push 0xf001f
push edi
call sub.KERNEL32.dll_MapViewOfFile
mov dword [esi], eax
cmp dword [esi], 0
jne 0x41a41f
mov eax, dword [ebx]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
mov dword [ebx], eax
jmp 0x41a427
mov eax, dword [esi]
mov eax, dword [eax + 8]
add dword [ebp - 0x68], eax
cmp dword [ebx], 0
je 0x41a43f
inc dword [ebp - 0x64]
add esi, 4
add ebx, 4
cmp dword [ebp - 0x64], 0xa
jne 0x41a3a5
mov eax, dword [ebp - 0x68]
dec eax
cmp eax, 0
jl 0x41a601
mov dword [ebp - 0x64], eax
push ebp
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x64]
call fcn.0041a244
pop ecx
mov eax, dword [ebp - 0x34]
cmp byte [eax], 0
je 0x41a49c
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x41a49c
lea eax, [ebp - 0x191]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x41a4a0
xor ecx, ecx
jmp 0x41a4a2
mov cl, 1
test cl, cl
je 0x41a5f4
cmp byte [ebp + 8], 0
jne 0x41a4e0
mov eax, dword [ebp - 0x4c]
mov al, byte [eax]
cmp al, byte [ebp + 0xc]
jne 0x41a5f4
mov eax, dword [ebp - 0x54]
cmp dword [eax + 4], 0
jne 0x41a5f4
cmp dword [eax], 0
jne 0x41a5f4
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
jne 0x41a5f4
mov byte [ebp - 0x29], 1
mov esi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x68]
sub ebx, 2
sub ebx, esi
jl 0x41a5e9
inc ebx
push ebp
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x38]
lea eax, [esi + 1]
call fcn.0041a244
pop ecx
mov edx, 0x5b
mov eax, dword [ebp - 0x44]
call fcn.00404ee8
mov eax, 0x5a
mov edx, dword [ebp - 0x48]
mov dl, byte [edx + eax]
mov ecx, dword [ebp - 0x44]
mov byte [ecx + eax], dl
dec eax
cmp eax, 0xffffffff
jne 0x41a528
mov eax, dword [ebp - 0x50]
mov al, byte [eax]
mov edx, dword [ebp - 0x4c]
mov byte [edx], al
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov edx, dword [ebp - 0x5c]
mov dword [edx], eax
mov edx, 0x104
mov eax, dword [ebp - 0x3c]
call fcn.00404ee8
mov edx, 0x104
mov eax, dword [ebp - 0x34]
call fcn.00404ee8
mov eax, 0x103
mov edx, dword [ebp - 0x40]
mov dl, byte [edx + eax]
mov ecx, dword [ebp - 0x3c]
mov byte [ecx + eax], dl
dec eax
cmp eax, 0xffffffff
jne 0x41a57d
mov eax, 0x103
mov edx, dword [ebp - 0x38]
mov dl, byte [edx + eax]
mov ecx, dword [ebp - 0x34]
mov byte [ecx + eax], dl
dec eax
test eax, eax
jne 0x41a594
mov ecx, 1
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.004107c8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
cmp byte [eax], 0
je 0x41a5e9
inc esi
dec ebx
jne 0x41a4f6
push 0
mov eax, dword [ebp - 0x34]
push eax
call sub.KERNEL32.dll_InterlockedExchange
dec dword [ebp - 0x64]
cmp dword [ebp - 0x64], 0xffffffff
jne 0x41a44f
mov dword [ebp - 0x64], 9
lea esi, [ebp - 0x8c]
lea ebx, [ebp - 0x24]
cmp dword [esi], 0
je 0x41a631
mov eax, dword [ebx]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
mov eax, dword [esi]
push eax
call sub.KERNEL32.dll_CloseHandle
add ebx, 4
add esi, 4
dec dword [ebp - 0x64]
jne 0x41a611
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a64f
mov eax, dword [ebp - 0x30]
push eax
call sub.KERNEL32.dll_ReleaseMutex
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a67d
lea eax, [ebp - 0x1a4]
mov edx, 4
call fcn.0040354c
ret