Function at 0x1007cc00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10414cd0
push 0x101fe1c0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffa4
push ebx
push esi
push edi
mov eax, dword [0x104230a4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x58], 0xc
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1007ccb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0x102f2404
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007cf4d
push 0x32
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1007cce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x102f2420
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007cf4d
mov edx, dword [ebp + 8]
push edx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1007cd1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x102f2448
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007cf4d
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1007cd59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x102f246c
push 8
call fcn.10072f60
add esp, 0x10
jmp 0x1007cf4d
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov dword [ebp - 0x44], ecx
push 4
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.101fcde0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x38], 0
jmp 0x1007cda3
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x28]
jge 0x1007cdd1
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.101fcde0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
jmp 0x1007cd9a
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x18]
add eax, 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xa00000
sub ecx, dword [ebp - 0x1c]
cmp eax, ecx
jg 0x1007ce45
push 4
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.101fcde0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.101fcde0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
push 4
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.101fcde0
add esp, 0xc
jmp 0x1007cf4d
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0x18]
add ecx, 4
mov edx, dword [ebp - 0x20]
add edx, 0xa00000
sub edx, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], 0
jmp 0x1007ce8a
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x28]
jge 0x1007cedb
push 4
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.101fcde0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x4c]
jle 0x1007ced9
jmp 0x1007cedb
jmp 0x1007ce81
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
sub edx, ecx
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.101fcde0
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
push 4
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.101fcde0
add esp, 0xc
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.101fcde0
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.101fcde0
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
call fcn.1007cf5b
jmp 0x1007cfa2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret