Function at 0x619078da
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61920799
mov eax, dword fs:[0]
push eax
mov eax, 0x4d04
call fcn.6191f1d0
mov eax, dword [0x61931c64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call sub.mfc100.dll_Ordinal_1985
push str.GlobalMUTEX_MUTEX_RUNONCE_ProvestK
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x61931d28], eax
cmp eax, edi
je 0x61907e1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x61907e1d
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
pop ecx
pop ecx
mov byte [eax], 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [esi + 0xb8]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push dword [esi + 0x48]
lea ecx, [ebp - 0x4cf0]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x4cf0]
mov dword [ebp - 4], edi
call dword [sym.imp.mfc100.dll_Ordinal_5207]
push 2
pop ebx
cmp eax, ebx
jle 0x61907dae
push ebx
lea eax, [ebp - 0x4d0c]
push eax
lea ecx, [ebp - 0x4cf0]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push 0x619260bc
lea ecx, [ebp - 0x4d0c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x61907d9e
push 3
lea eax, [ebp - 0x4ce8]
push eax
lea ecx, [ebp - 0x4cf0]
call dword [sym.imp.mfc100.dll_Ordinal_7875]
push eax
lea ecx, [ebp - 0x4d0c]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x4ce8]
mov byte [ebp - 4], 1
call dword [0x61923a58]
push 0x22
lea eax, [ebp - 0x4d0c]
push eax
lea ecx, [ebp - 0x4d08]
call fcn.6191cd53
mov eax, dword [ebp - 0x4d00]
mov byte [ebp - 4], 3
mov dword [ebp - 0x4ce8], eax
cmp eax, edi
jle 0x61907d55
or edi, 0xffffffff
test eax, eax
jg 0x61907a60
push edi
push 1
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 0
jg 0x61907a60
call sub.mfc100.dll_Ordinal_2061
mov ecx, dword [ebp - 0x4d04]
push 0
call dword [sym.imp.mfc100.dll_Ordinal_4464]
cmp al, 0x40
jne 0x61907c4f
cmp dword [ebp - 0x4ce8], 1
jl 0x61907aeb
cmp dword [ebp - 0x4d00], 0
jg 0x61907a9f
push edi
push 1
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 0
jle 0x61907a5b
mov ecx, dword [ebp - 0x4d04]
call dword [sym.imp.mfc100.dll_Ordinal_4499]
push ecx
inc eax
mov ecx, esp
mov dword [ebp - 0x4d10], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea eax, [ebp - 0x4cec]
push eax
mov ecx, esi
call fcn.61905bcb
push eax
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x4cec]
mov byte [ebp - 4], 3
call dword [0x61923a58]
cmp dword [ebp - 0x4ce8], ebx
jl 0x61907b5e
cmp dword [ebp - 0x4d00], 1
jg 0x61907b16
push edi
push ebx
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 1
jle 0x61907a5b
mov eax, dword [ebp - 0x4d04]
push ecx
add eax, 4
mov ecx, esp
mov dword [ebp - 0x4d10], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea eax, [ebp - 0x4cec]
push eax
mov ecx, esi
call fcn.61905bcb
push eax
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x4cec]
mov byte [ebp - 4], 3
call dword [0x61923a58]
cmp dword [ebp - 0x4ce8], 3
jl 0x61907bd1
cmp dword [ebp - 0x4d00], ebx
jg 0x61907b89
push edi
push 3
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], ebx
jle 0x61907a5b
mov eax, dword [ebp - 0x4d04]
push ecx
add eax, 8
mov ecx, esp
mov dword [ebp - 0x4d10], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea eax, [ebp - 0x4cec]
push eax
mov ecx, esi
call fcn.61905bcb
push eax
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x4cec]
mov byte [ebp - 4], 3
call dword [0x61923a58]
cmp dword [ebp - 0x4ce8], 4
jl 0x61907d53
cmp dword [ebp - 0x4d00], 3
jg 0x61907c02
push edi
push 4
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 3
jle 0x61907a5b
mov eax, dword [ebp - 0x4d04]
push ecx
add eax, 0xc
mov ecx, esp
mov dword [ebp - 0x4d10], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
popal
cmp dword [ebp - 0x4ce8], 1
jl 0x61907c8e
cmp dword [ebp - 0x4d00], 0
jg 0x61907c7c
push edi
push 1
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 0
jle 0x61907a5b
push dword [ebp - 0x4d04]
lea ecx, [esi + 0xe0]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
cmp dword [ebp - 0x4ce8], ebx
jl 0x61907ccf
cmp dword [ebp - 0x4d00], 1
jg 0x61907cb9
push edi
push ebx
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 1
jle 0x61907a5b
mov eax, dword [ebp - 0x4d04]
add eax, 4
push eax
lea ecx, [esi + 0xe4]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
cmp dword [ebp - 0x4ce8], 3
jl 0x61907d10
cmp dword [ebp - 0x4d00], ebx
jg 0x61907cfa
push edi
push 3
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], ebx
jle 0x61907a5b
mov eax, dword [ebp - 0x4d04]
add eax, 8
push eax
lea ecx, [esi + 0xe8]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
cmp dword [ebp - 0x4ce8], 4
jl 0x61907d53
cmp dword [ebp - 0x4d00], 3
jg 0x61907d3d
push edi
push 4
lea ecx, [ebp - 0x4d08]
call sub.mfc100.dll_Ordinal_12720
cmp dword [ebp - 0x4d00], 3
jle 0x61907a5b
mov eax, dword [ebp - 0x4d04]
add eax, 0xc
push eax
lea ecx, [esi + 0xec]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push edi
push edi
push 0x61926040
call fcn.6191e722