Function at 0x100077d90
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x3d8
mov qword [rsp + 0x398], 0xfffffffffffffffe
mov rax, qword [0x1000a81b8]
mov qword [rsp + 0x3c8], rax
lea rcx, [rsp + 0xb0]
call fcn.100014450
nop
mov dword [rsp + 0xf8], 0
lea rcx, [rsp + 0xc8]
call fcn.1000141d0
nop
lea rcx, [rsp + 0xc0]
call fcn.100014450
nop
mov dword [rsp + 0xac], 0
lea rcx, [rsp + 0x320]
call fcn.100014450
nop
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xfc], 0
lea rcx, [rsp + 0x38]
call fcn.1000141d0
nop
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x98], 0
mov rax, qword [rsp + 0x3f8]
mov dword [rax], 0
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0xc8]
mov edx, 4
mov rcx, qword [rsp + 0x3e0]
call fcn.100054a90
test eax, eax
jne 0x100077eab
lea rdx, [0x10000fd30]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0x65b
jmp 0x100078404
lea rcx, [rsp + 0xc8]
call fcn.100064e40
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 1
jbe 0x100077eec
lea rdx, [0x100011080]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0xd
jmp 0x100078404
cmp dword [rsp + 0xf8], 0
jne 0x100077f17
lea rdx, [0x10000fc30]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0xd
jmp 0x100078404
lea rcx, [rsp + 0xc8]
call fcn.100064030
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.100015fc0
mov r8, qword [0x1000a8818]
mov edx, 0x104
lea rcx, [rsp + 0x110]
call fcn.10001fc80
test eax, eax
jge 0x100077f61
mov dword [rsp + 0xa8], 0x65b
jmp 0x100078404
lea rcx, [rsp + 0xc0]
call fcn.100013ee0
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x110]
call fcn.10004ce90
test eax, eax
jge 0x100077f97
mov dword [rsp + 0xa8], 0x65b
jmp 0x100078404
lea rcx, [rsp + 0x68]
call fcn.1000786c0
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x100077fb7
jmp 0x100078404
lea r8, [rsp + 0x110]
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x100077ff1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa8], eax
jmp 0x100078404
mov edx, 0x3e8
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0x80
je 0x100078022
cmp dword [rsp + 0xa8], 0
jne 0x10007802f
mov dword [rsp + 0x98], 1
jmp 0x100078060
cmp dword [rsp + 0xa8], 0x102
jne 0x10007804e
mov dword [rsp + 0xa8], 0x20
jmp 0x100078404
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa8], eax
jmp 0x100078404
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x368]
mov qword [rsp + 0x370], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x370]
call fcn.1000148e0
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x3a8], rax
lea rax, [rsp + 0xfc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x320]
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x3e0]
call fcn.10007a530
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x1000780f7
jmp 0x100078404
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0xac], eax
lea rdx, [0x100005504]
lea rcx, [rsp + 0x320]
call fcn.100013e90
test eax, eax
jne 0x1000781e2
cmp dword [rsp + 0xac], 0
je 0x100078158
cmp dword [rsp + 0x3f0], 0
jne 0x100078158
lea rdx, [0x10000f5b0]
mov ecx, 1
call fcn.100053cc0
mov dword [rsp + 0xa8], 0
jmp 0x100078404
lea r8, [rsp + 0xb0]
mov edx, 2
mov rcx, qword [rsp + 0x3e0]
call fcn.100054600
test eax, eax
jne 0x100078197
lea rdx, [0x1000092c0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0x643
jmp 0x100078404
cmp dword [rsp + 0x3e8], 9
jne 0x1000781dd
lea r8, [rsp + 0x38]
mov edx, 8
mov rcx, qword [rsp + 0x3e0]
call fcn.100054a90
test eax, eax
jne 0x1000781dd
lea rdx, [0x100010ff0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0x643
jmp 0x100078404
jmp 0x100078370
cmp dword [rsp + 0x3f0], 0
je 0x10007834f
lea rcx, [rsp + 0x328]
call fcn.100054000
nop
lea rax, [rsp + 0x378]
mov qword [rsp + 0x380], rax
lea rdx, [rsp + 0x320]
mov rcx, qword [rsp + 0x380]
call fcn.1000148e0
mov qword [rsp + 0x3b0], rax
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x3b8], rax
mov r8d, 3
mov rdx, qword [rsp + 0x3b8]
lea rcx, [rsp + 0x328]
call fcn.1000541d0
cmp eax, 0xb7
je 0x100078293
mov r8, qword [rsp + 0x320]
lea rdx, [0x10000f680]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0x643
lea rcx, [rsp + 0x328]
call fcn.100054100
jmp 0x100078404
lea r8, [rsp + 0xb0]
mov edx, 2
lea rcx, [rsp + 0x328]
call fcn.100054600
test eax, eax
jne 0x1000782df
lea rdx, [0x1000092c0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0x643
lea rcx, [rsp + 0x328]
call fcn.100054100
jmp 0x100078404
cmp dword [rsp + 0x3e8], 9
jne 0x100078332
lea r8, [rsp + 0x38]
mov edx, 8
lea rcx, [rsp + 0x328]
call fcn.100054a90
test eax, eax
jne 0x100078332
lea rdx, [0x100010ff0]
mov ecx, 3
call fcn.100053cc0
mov dword [rsp + 0xa8], 0x643
lea rcx, [rsp + 0x328]
call fcn.100054100
jmp 0x100078404
lea rcx, [rsp + 0x328]
call fcn.100054470
nop
lea rcx, [rsp + 0x328]
call fcn.100054100
jmp 0x100078370
lea rdx, [0x10000f5b0]
mov ecx, 1
call fcn.100053cc0
mov dword [rsp + 0xa8], 0
jmp 0x100078404
mov r9d, dword [rsp + 0x3e8]
mov r8, qword [rsp + 0xb0]
lea rdx, [0x100009270]
mov ecx, 1
call fcn.100053cc0
mov eax, dword [rsp + 0x3e8]
mov dword [rsp + 0x3c0], eax
cmp dword [rsp + 0x3c0], 5
je 0x1000783b5
cmp dword [rsp + 0x3c0], 9
je 0x1000783db
jmp 0x100078404
mov r8, qword [rsp + 0x3f8]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
call fcn.1000789f0
mov dword [rsp + 0xa8], eax
jmp 0x100078404
mov r9, qword [rsp + 0x3f8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
call fcn.1000790b0
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x10007849b
lea r8, [0x10000ddf0]
mov edx, dword [rsp + 0xa8]
mov ecx, 3
call fcn.100053dc0
cmp dword [rsp + 0x98], 0
je 0x100078499
cmp dword [rsp + 0xac], 0
jne 0x100078499
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xfc]
mov r8, qword [rsp + 0xb8]
mov edx, dword [rsp + 0x3e8]
lea rcx, [rsp + 0xc0]
call fcn.100077790
mov dword [rsp + 0x360], eax
cmp dword [rsp + 0x360], 0
je 0x100078499
mov r8d, dword [rsp + 0x360]
lea rdx, [0x10000f520]
mov ecx, 3
call fcn.100053cc0
jmp 0x1000784d2
lea rcx, [rsp + 0xc0]
call fcn.10007aca0
mov dword [rsp + 0x364], eax
cmp dword [rsp + 0x364], 0
je 0x1000784d2
mov r8d, dword [rsp + 0x364]
lea rdx, [0x10000f4a0]
mov ecx, 3
call fcn.100053cc0
cmp dword [rsp + 0x98], 0
je 0x1000784ea
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp qword [rsp + 0xa0], 0
je 0x100078503
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x68]
call fcn.100078980
cmp qword [rsp + 0xb8], 0
je 0x100078535
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x388], rax
mov rcx, qword [rsp + 0x388]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x390], eax
lea rcx, [rsp + 0x38]
call fcn.100014300
nop
lea rcx, [rsp + 0x320]
call fcn.1000144b0
nop
lea rcx, [rsp + 0xc0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0xc8]
call fcn.100014300
nop
lea rcx, [rsp + 0xb0]
call fcn.1000144b0
mov eax, dword [rsp + 0x390]
mov rcx, qword [rsp + 0x3c8]
call fcn.100087ed0
add rsp, 0x3d8
ret