Function at 0x140027670
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004ae08]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov esi, r9d
mov rbx, r8
call sub.DllSafeCheck64.dll_HackCheck
mov edx, 1
mov ecx, 0x1a25
call fcn.140003fc0
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
mov edx, 6
lea rcx, [rbp + 0x1f]
lea r8d, [rdx - 5]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetSpecialDirectory_enum_Cmm::CFileName::SpecialFolder__int____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x140035fd0]
lea rcx, [rbp - 0x39]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, str.logs
lea rcx, [rbp - 0x39]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x140035fd0]
lea rcx, [rbp - 0x39]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rcx, [rbp - 0x11]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
lea rcx, [rbp - 0x65]
call fcn.14000a4b0
lea rcx, [rbp - 0x65]
call fcn.14001a010
test eax, eax
je 0x14002789b
xor r8d, r8d
lea rdx, str.repair
lea rcx, [rbp - 0x61]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t____ptr64___cdecl_Cmm::CStringT_wchar_t_::Find_wchar_t_const____ptr64__int_const___ptr64]
test rax, rax
je 0x1400277d4
lea rcx, [rbp - 0x65]
call fcn.14001b1f0
lea rcx, [rbp - 0x65]
call fcn.14000c4c0
lea rcx, [rbp - 0x61]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140027b30
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor r8d, r8d
lea rdx, str.Check
lea rcx, [rbp - 0x61]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t____ptr64___cdecl_Cmm::CStringT_wchar_t_::Find_wchar_t_const____ptr64__int_const___ptr64]
test rax, rax
je 0x1400277f8
lea rcx, [rbp - 0x65]
call fcn.1400180e0
jmp 0x14002779a
xor r8d, r8d
lea rdx, str.RegServer
lea rcx, [rbp - 0x61]
xor ebx, ebx
call qword [sym.imp.Cmmlib.dll_public:_wchar_t____ptr64___cdecl_Cmm::CStringT_wchar_t_::Find_wchar_t_const____ptr64__int_const___ptr64]
test rax, rax
je 0x140027821
lea rcx, [rbp - 0x65]
mov ebx, 1
call fcn.14001ac40
xor r8d, r8d
lea rdx, str.UnregServer
lea rcx, [rbp - 0x61]
xor edi, edi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t____ptr64___cdecl_Cmm::CStringT_wchar_t_::Find_wchar_t_const____ptr64__int_const___ptr64]
test rax, rax
je 0x14002785c
lea rcx, [rbp - 0x64]
mov edi, 1
call fcn.14000a4b0
lea rcx, [rbp - 0x64]
call fcn.14001b3d0
lea rcx, [rbp - 0x64]
call fcn.14000c4c0
test ebx, ebx
jne 0x1400278ed
test edi, edi
jne 0x1400278ed
lea r8, str.9E7BFEFC_531F_4310_9BA9_0C8DB000B267
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x1400278a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400278a4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14001bd30
mov rdx, rax
lea rcx, [0x14004f1c0]
call fcn.14001d550
call fcn.14001bd30
mov rcx, rax
lea rdx, [0x14004f1c0]
call fcn.14001d040
mov edx, 1
lea r9, [0x140027600]
xor ecx, ecx
lea r8d, [rdx + 0x31]
call qword [sym.imp.USER32.dll_SetTimer]
lea rcx, [rbp - 0x65]
call fcn.140019950
cmp byte [0x14004efc4], 0
je 0x140027900
mov ebx, 0xffffffff
jmp 0x140027a20
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rbp - 0x69], eax
mov ebx, eax
test eax, eax
jns 0x140027933
cmp eax, 0x80010106
jne 0x140027a20
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14002793a
jmp 0x140027a20
mov byte [0x14004f1b2], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rbp - 0x69]
lea rcx, [0x14004f150]
call fcn.140026c70
cmp al, 1
jne 0x140027a0e
mov edx, esi
lea rcx, [0x14004f150]
call fcn.1400272b0
mov ebx, eax
test eax, eax
jne 0x1400279b1
xor r9d, r9d
lea rcx, [rbp - 0x11]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400279b3
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x11]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140027985
jmp 0x1400279b3
js 0x140027a11
mov rdi, qword [0x14004ac00]
xor ebx, ebx
mov rdx, qword [0x14004ac08]
cmp rdi, rdx
jae 0x1400279f7
test ebx, ebx
jne 0x1400279f7
mov rax, qword [rdi]
test rax, rax
je 0x1400279ee
mov rax, qword [rax + 0x20]
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x1400279ee
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rdx, qword [0x14004ac08]
mov ebx, eax
add rdi, 8
cmp rdi, rdx
jb 0x1400279c8
cmp byte [0x14004f1b0], 0
je 0x140027a11
mov ecx, dword [0x14004f1ac]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140027a11
mov ebx, dword [rbp - 0x69]
cmp byte [0x14004f1b2], 0
je 0x140027a20
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rbp - 0x65]
call fcn.14000c4c0
lea rcx, [rbp - 0x61]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
jmp 0x1400277af