Function at 0x1007d49d
Capabilities:
Check mutex on windows

Disassembly:
push 0x58
mov eax, 0x101404c7
call fcn.1010191b
mov ebx, ecx
mov eax, dword [0x1019a028]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [ebx + 0x30]
and dword [ebp - 4], 0
push eax
push ecx
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
je 0x1007d4ef
lea eax, [ebp - 0x14]
push eax
call fcn.100d9a0b
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10005459
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.100015d9
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x14]
push eax
call fcn.100de590
mov dword [esp], 0x1015c6c8
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.100058db
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.100015d9
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call fcn.100dd692
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x28]
mov esi, 0x10156388
lea eax, [ebp - 0x14]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.100020c6
mov eax, dword [0x1019a028]
mov dword [ebp - 0x24], eax
push dword [edi + 0xc]
lea eax, [ebp - 0x24]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.100020c6
mov eax, dword [0x1019a028]
mov dword [ebp - 0x1c], eax
push dword [edi + 0x14]
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 4], 7
call fcn.100020c6
add esp, 0x2c
mov esi, 0x1015e98c
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100058db
push edi
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 8
call fcn.1000c751
push esi
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 9
call fcn.100058db
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xa
call fcn.1000c751
mov byte [ebp - 4], 0xb
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.100058db
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xc
call fcn.1000c751
push esi
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xd
call fcn.100058db
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xe
call fcn.1000c751
push esi
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0xf
call fcn.100058db
add ebx, 0x34
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x10
call fcn.1000c751
push esi
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x11
call fcn.100058db
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x12
call fcn.1000c751
push 0x10156188
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x13
call fcn.100058db
lea ecx, [ebp - 0x40]
call fcn.100015d9
lea ecx, [ebp - 0x64]
call fcn.100015d9
lea ecx, [ebp - 0x38]
call fcn.100015d9
lea ecx, [ebp - 0x60]
call fcn.100015d9
lea ecx, [ebp - 0x48]
call fcn.100015d9
lea ecx, [ebp - 0x58]
call fcn.100015d9
lea ecx, [ebp - 0x50]
call fcn.100015d9
lea ecx, [ebp - 0x3c]
call fcn.100015d9
lea ecx, [ebp - 0x44]
call fcn.100015d9
lea ecx, [ebp - 0x4c]
call fcn.100015d9
lea ecx, [ebp - 0x54]
call fcn.100015d9
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x20
call fcn.100015d9
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x30]
call fcn.10001a82
mov esi, eax
cmp esi, ebx
je 0x1007d78d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x1007d78d
lea edi, [eax + eax]
mov eax, edi
call fcn.10102de0
mov eax, esp
push ebx
push edi
push esi
push eax
call fcn.1000c619
mov edi, eax
cmp edi, ebx
je 0x1007d78d
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007d704
push str.18E10048_3696_449f_937E_7A55F43B0C22
sub eax, edx
push ebx
mov ecx, 0x1019ee80
mov dword [ebp - 0x34], eax
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp esi, ebx
je 0x1007d78d
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1007d786
lea eax, [ebp - 0x20]
push eax
call fcn.100de6a3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x21
mov dword [esp], str.medialog_v1.dat
call fcn.1001c185
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.1000584b
call fcn.1001d2cd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0x20]
call fcn.100015d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x2c]
call fcn.100015d9
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea esp, [ebp - 0x74]
call fcn.1010199e
ret 4