Function at 0x53e6c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608474
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x618810
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xb7
jne 0x53e807
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x618838
lea ecx, [ebp - 0x240]
call fcn.004ef370
mov dword [ebp - 4], 0
push 0x61883c
lea ecx, [ebp - 0xc0]
call fcn.004ef370
mov byte [ebp - 4], 1
push 0x618844
lea ecx, [ebp - 0x1b0]
call fcn.004ef370
mov byte [ebp - 4], 2
push 0x618850
lea ecx, [ebp - 0x90]
call fcn.004ef370
mov byte [ebp - 4], 3
push 0x61885c
lea ecx, [ebp - 0x120]
call fcn.004ef370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0053ece0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x120]
call fcn.004ef480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.004ef480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004ef480
xor al, al
jmp 0x53ecbf
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x53e825
xor al, al
jmp 0x53ecbf
lea ecx, [ebp - 0x28]
call fcn.004ef350
mov dword [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
call fcn.00521cb0
mov ecx, eax
call fcn.00526900
mov byte [ebp - 0x32], al
movzx ecx, byte [ebp - 0x32]
test ecx, ecx
je 0x53e95d
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x618868
lea ecx, [ebp - 0x150]
call fcn.004ef370
mov byte [ebp - 4], 6
push 0x61886c
lea ecx, [ebp - 0x2a0]
call fcn.004ef370
mov byte [ebp - 4], 7
push 0x618874
lea ecx, [ebp - 0x60]
call fcn.004ef370
mov byte [ebp - 4], 8
push 0x618880
lea ecx, [ebp - 0x1e0]
call fcn.004ef370
mov byte [ebp - 4], 9
push 0x61888c
lea ecx, [ebp - 0xf0]
call fcn.004ef370
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x1e0]
push edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0053ece0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf0]
call fcn.004ef480
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e0]
call fcn.004ef480
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.004ef480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a0]
call fcn.004ef480
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x150]
call fcn.004ef480
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov al, byte [ebp - 0x31]
jmp 0x53ecbf
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
call fcn.005c45e6
add esp, 4
add eax, 0x3840
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.004e72e0
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004ef850
push eax
call fcn.005c45e6
add esp, 4
mov edx, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x2b8]
call fcn.004ef480
cmp dword [ebp - 0x40], 0
jg 0x53eac5
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x617828
lea ecx, [ebp - 0xa8]
call fcn.004ef370
mov byte [ebp - 4], 0xb
push 0x61782c
lea ecx, [ebp - 0x78]
call fcn.004ef370
mov byte [ebp - 4], 0xc
push 0x617834
lea ecx, [ebp - 0x270]
call fcn.004ef370
mov byte [ebp - 4], 0xd
push 0x617840
lea ecx, [ebp - 0x180]
call fcn.004ef370
mov byte [ebp - 4], 0xe
push 0x61784c
lea ecx, [ebp - 0x210]
call fcn.004ef370
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0053ece0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x210]
call fcn.004ef480
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x180]
call fcn.004ef480
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x270]
call fcn.004ef480
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call fcn.004ef480
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa8]
call fcn.004ef480
mov byte [ebp - 0x29], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov al, byte [ebp - 0x29]
jmp 0x53ecbf
push 0x617858
lea ecx, [ebp - 0x198]
call fcn.004ef370
mov byte [ebp - 4], 0x10
push 0x61785c
lea ecx, [ebp - 0x168]
call fcn.004ef370
mov byte [ebp - 4], 0x11
push 0x617864
lea ecx, [ebp - 0x138]
call fcn.004ef370
mov byte [ebp - 4], 0x12
push 0x617870
lea ecx, [ebp - 0x108]
call fcn.004ef370
mov byte [ebp - 4], 0x13
push 0x61787c
lea ecx, [ebp - 0xd8]
call fcn.004ef370
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0053ece0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd8]
call fcn.004ef480
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x108]
call fcn.004ef480
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x138]
call fcn.004ef480
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x168]
call fcn.004ef480
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x198]
call fcn.004ef480
imul ecx, dword [ebp - 0x40], 0x3e8
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x617888
lea ecx, [ebp - 0x288]
call fcn.004ef370
mov byte [ebp - 4], 0x15
push 0x61788c
lea ecx, [ebp - 0x258]
call fcn.004ef370
mov byte [ebp - 4], 0x16
push 0x617894
lea ecx, [ebp - 0x228]
call fcn.004ef370
mov byte [ebp - 4], 0x17
push 0x6178a0
lea ecx, [ebp - 0x1f8]
call fcn.004ef370
mov byte [ebp - 4], 0x18
push 0x6178ac
lea ecx, [ebp - 0x1c8]
call fcn.004ef370
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0053ece0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1c8]
call fcn.004ef480
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1f8]
call fcn.004ef480
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x228]
call fcn.004ef480
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x258]
call fcn.004ef480
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
call fcn.004ef480
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret