Function at 0x79e6d0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [esp], 0x288
call fcn.00492770
xor ebx, ebx
test eax, eax
je 0x79ea8d
mov edx, 0xffffffff
mov dword [esp + 0x24], eax
lea ecx, [eax + 0x88]
mov dword [esp + 0x20], ecx
lea ecx, [eax + 8]
mov dword [esp + 0x28], ecx
lea eax, [eax + 4]
mov dword [esp + 0x1c], eax
jmp 0x79e8f6
mov eax, dword [esp + 0x5c]
mov esi, eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x3c], edx
call fcn.007cbb60
mov dword [esp], esi
call fcn.007c3e70
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.007c8ec0
mov esi, eax
mov dword [esp + 0x34], esi
mov edi, edx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], str.GlobalSafeNet_SentinelHID_
call fcn.007cbb60
mov edx, esi
mov byte [esp + 0x40], dl
mov eax, edi
shr eax, 8
mov ebp, eax
mov eax, edx
shr eax, 8
mov dword [esp + 0x38], eax
mov byte [esp + 0x41], al
mov ecx, edi
mov eax, edi
shr ecx, 0x10
mov ebx, edx
shr ebx, 0x10
mov byte [esp + 0x42], bl
mov esi, ebx
mov ebx, eax
shr ebx, 0x18
shr edx, 0x18
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], al
mov edi, eax
mov eax, ebp
mov byte [esp + 0x45], al
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], bl
and ebx, 0xf
mov bl, byte [ebx + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x33], bl
and ecx, 0xf
mov al, byte [ecx + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x32], al
mov eax, ebp
and eax, 0xf
mov al, byte [eax + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x31], al
mov ebx, edi
mov ecx, ebx
mov eax, ebx
mov ebp, ebx
and ebx, 0xf
mov bl, byte [ebx + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x30], bl
and edx, 0xf
mov dl, byte [edx + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x2f], dl
and esi, 0xf
mov dl, byte [esi + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x2e], dl
mov edx, dword [esp + 0x34]
mov ebx, edx
mov esi, edx
shr edx, 0xc
and edx, 0xf
mov dl, byte [edx + str.0123456789abcdefUSBVID_0529]
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x38]
and edx, 0xf
mov dl, byte [edx + str.0123456789abcdefUSBVID_0529]
shr edi, 0x1c
mov dh, byte [edi + str.0123456789abcdefUSBVID_0529]
mov edi, dword [esp + 0x24]
mov byte [edi + 0x23], dh
mov dh, byte [esp + 0x33]
mov byte [edi + 0x24], dh
shr ecx, 0x14
and ecx, 0xf
mov cl, byte [ecx + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x25], cl
mov cl, byte [esp + 0x32]
mov byte [edi + 0x26], cl
shr eax, 0xc
and eax, 0xf
mov al, byte [eax + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x27], al
mov al, byte [esp + 0x31]
mov byte [edi + 0x28], al
shr ebp, 4
and ebp, 0xf
mov al, byte [ebp + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x29], al
mov al, byte [esp + 0x30]
mov byte [edi + 0x2a], al
shr ebx, 0x1c
mov al, byte [ebx + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x2b], al
mov al, byte [esp + 0x2f]
mov byte [edi + 0x2c], al
shr esi, 0x14
and esi, 0xf
mov al, byte [esi + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x2d], al
mov al, byte [esp + 0x2e]
mov byte [edi + 0x2e], al
mov al, byte [esp + 0x34]
mov byte [edi + 0x2f], al
mov byte [edi + 0x30], dl
mov edx, dword [esp + 0x3c]
movzx eax, byte [esp + 0x40]
mov ecx, eax
shr ecx, 4
mov cl, byte [ecx + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x31], cl
and eax, 0xf
mov al, byte [eax + str.0123456789abcdefUSBVID_0529]
mov byte [edi + 0x32], al
mov byte [edi + 0x33], 0
add edx, 1
jb 0x79e720
mov esi, dword [esp + 0x1c]
nop word cs:[eax + eax]
mov eax, dword [0x818c08]
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call sub.KERNEL32.dll_CreateMutexA
sub esp, 0xc
mov edi, eax
mov dword [esi], edi
test edi, edi
jne 0x79e990
call sub.KERNEL32.dll_GetLastError
cmp eax, 5
jne 0x79e981
mov ebp, 0x11
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x100000
call sub.KERNEL32.dll_OpenMutexA
sub esp, 0xc
mov edi, eax
mov dword [esi], edi
test edi, edi
jne 0x79e999
cmp ebp, 0xa
je 0x79ea7f
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
je 0x79e910
mov ebp, 0xa
mov edi, dword [esi]
xor ebx, ebx
test edi, edi
je 0x79e96e
jmp 0x79e9a6
mov ebp, 8
xor ebx, ebx
jmp 0x79e99d
xor ebx, ebx
jmp 0x79e9a6
cmp ebp, 8
jne 0x79ea8d
mov dword [esp], edi
mov dword [esp + 4], 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
test eax, eax
je 0x79ea06
cmp eax, 0x80
je 0x79ea10
mov ebp, 0xffffffff
mov eax, 0x93
add eax, 0xffffff85
mov dword [esp + 0x3c], eax
mov eax, 0xd
jmp 0x79e9ff
mov eax, dword [esi]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004936c0
xor ebx, ebx
mov eax, dword [esp + 0x3c]
add ebp, 1
jb 0x79e9e0
jmp 0x79ea0b
mov eax, 0xd
cmp eax, 0xd
jne 0x79ea8d
mov ebp, 0xe
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
cmp eax, 0xffffffff
mov ebx, ecx
jne 0x79e99d
mov eax, dword [esi]
mov dword [esp], eax
call sub.KERNEL32.dll_ReleaseMutex
sub esp, 4
mov eax, dword [esi]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004936c0
xor ebx, ebx
mov eax, ebx
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret