Function at 0x140017bd0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
sub rsp, 0xa8
lea r8, str.F1B7F7DF_7158_482D_B6E9_CE5584516649
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [0x140062b80], rax
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017c34
jmp 0x140017f7f
mov r8d, 0x104
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140017c55
jmp 0x140017f7f
lea rdx, [0x140036b1c]
mov rcx, qword [rsp + 0x20]
call fcn.14001c360
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140017c78
jmp 0x140018013
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
lea r8, str.626B5B93_8380_4563_9A78_71DC22405C74
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140017cba
jmp 0x140017f7f
call fcn.140013490
test eax, eax
jne 0x140017ccd
jmp 0x140017f7f
call fcn.1400101c0
test eax, eax
jne 0x140017ce0
jmp 0x140017f7f
call fcn.14001c760
test eax, eax
jne 0x140017cf3
jmp 0x140017f7f
call fcn.140001cd0
test eax, eax
jne 0x140017d06
jmp 0x140017f7f
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x28], 0
call fcn.1400055a0
cmp eax, 1
jne 0x140017d4f
lea r8, str.2C7972A9_4B53_4F08_9B5E_E00DC26C3EA5
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140017d47
jmp 0x140018013
mov dword [rsp + 0x28], 1
lea rcx, str.2C7972A9_4B53_4F08_9B5E_E00DC26C3EA5
call fcn.1400187d0
mov dword [rsp + 0x30], 0
call fcn.1400056c0
cmp eax, 1
jne 0x140017d9b
lea r8, str.0E6BB1D8_7FDC_40AA_8933_C697666C75C0
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140017d93
jmp 0x140018013
mov dword [rsp + 0x30], 1
lea rcx, str.0E6BB1D8_7FDC_40AA_8933_C697666C75C0
call fcn.1400187d0
mov dword [rsp + 0x70], 0
call fcn.1400057e0
cmp eax, 1
jne 0x140017de7
lea r8, str.DE295051_134E_4365_BE09_671AE33DBFE4
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140017ddf
jmp 0x140018013
mov dword [rsp + 0x70], 1
lea rcx, str.DE295051_134E_4365_BE09_671AE33DBFE4
call fcn.1400187d0
cmp dword [0x14005b870], 1
jne 0x140017ef9
cmp dword [0x14005afb8], 0
jne 0x140017ef9
cmp dword [rsp + 0x28], 0
jne 0x140017e22
cmp dword [rsp + 0x30], 0
jne 0x140017e22
cmp dword [rsp + 0x70], 0
je 0x140017e5d
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 5
jge 0x140017e5d
call fcn.14000cee0
test eax, eax
jne 0x140017e5d
mov ecx, 0x3e8
call qword [0x140062050]
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x140017e2d
cmp dword [0x14005b874], 1
jne 0x140017ef9
mov qword [rsp + 0x88], 0
call fcn.1400024c0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140017ef9
mov dword [rsp + 0x90], 0
mov rcx, qword [rsp + 0x88]
call qword [0x140062060]
cmp eax, 0xffffffff
je 0x140017eeb
mov rcx, qword [rsp + 0x88]
call qword [0x140062038]
test eax, eax
jne 0x140017ee7
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0xa
jl 0x140017eda
jmp 0x140017eeb
mov ecx, 0x3e8
call qword [0x140062050]
jmp 0x140017ee9
jmp 0x140017eeb
jmp 0x140017e99
mov rcx, qword [rsp + 0x88]
call qword [0x140061f68]
cmp dword [0x14005b870], 1
jne 0x140017f18
mov edx, 0xffffffff
mov rcx, qword [0x140061bc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140017f7f
cmp dword [0x14005afb8], 0
je 0x140017f2e
mov dword [rsp + 0x94], 1
jmp 0x140017f39
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x2c], eax
mov rax, qword [0x140061bc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [0x140061bc8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.140001d30
call fcn.140013500
test eax, eax
jne 0x140017f95
xor ecx, ecx
call qword [0x140061f88]
call fcn.14001ca30
cmp qword [0x140061bc8], 0
je 0x140017fb1
mov rcx, qword [0x140061bc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x38], 0
je 0x140017fc4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
mov qword [0x140061bc8], 0
cmp qword [0x140062b80], 0
je 0x140017fef
mov rcx, qword [0x140062b80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x20], 0
je 0x140018002
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x14005afb8], 0
jne 0x140018013
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0xa8
ret