Function at 0x14000a550
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], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor eax, eax
or r14d, 0xffffffff
mov r15d, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], eax
mov ebp, eax
mov r12d, eax
mov r13d, eax
mov edi, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, str..exe
mov rsi, rax
call fcn.14000bd60
mov rbx, rax
lea eax, [r12 + 0x20]
test rbx, rbx
je 0x14000a5b7
add rbx, 8
xor esi, esi
jmp 0x14000a630
lea rdx, str.msohtmed
mov rcx, rsi
call fcn.14000bd60
mov rbx, rax
test rax, rax
je 0x14000a5d6
add rbx, 0x10
xor esi, esi
jmp 0x14000a62b
mov eax, 0x22
cmp word [rsi], ax
jne 0x14000a60c
mov edx, eax
lea rcx, [rsi + 2]
call fcn.14000bc30
test rax, rax
je 0x14000a60c
mov edx, 0x20
lea rcx, [rax + 2]
call fcn.14000bc30
mov rbx, rax
test rax, rax
je 0x14000a60c
add rbx, 2
jmp 0x14000a5d2
mov edx, 0x20
mov rcx, rsi
call fcn.14000bc30
xor esi, esi
mov rbx, rax
test rax, rax
je 0x14000a8e6
add rbx, 2
mov eax, 0x20
mov ecx, 0x22
jmp 0x14000a63b
add rbx, 2
cmp word [rbx], cx
je 0x14000a637
jmp 0x14000a646
add rbx, 2
cmp word [rbx], ax
je 0x14000a642
mov rdx, rbx
lea rcx, str._regserver
call fcn.14000b708
test eax, eax
jne 0x14000a688
mov rdx, rbx
lea rcx, str._regserverfp
call fcn.14000b708
test eax, eax
jne 0x14000a688
mov rdx, rbx
lea rcx, str._unregserver
call fcn.14000b708
test eax, eax
je 0x14000a71a
lea r8, str.MSOHTMED_REG
mov edx, 1
xor ecx, ecx
call sub.KERNEL32.dll_CreateMutexW
mov r12, rax
test rax, rax
je 0x14000a8e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000a8d8
mov rdx, rbx
lea rcx, str._regserverfp
call fcn.14000b708
test eax, eax
je 0x14000a6e6
mov eax, 1
mov edx, eax
mov ecx, eax
call fcn.1400094d0
neg eax
sbb ecx, ecx
not ecx
and edi, ecx
jmp 0x14000a8d8
mov rdx, rbx
lea rcx, str._regserver
call fcn.14000b708
test eax, eax
je 0x14000a700
xor edx, edx
lea ecx, [rdx + 1]
jmp 0x14000a6d4
mov rdx, rbx
lea rcx, str._unregserver
call fcn.14000b708
test eax, eax
je 0x14000a71a
call fcn.140009df4
jmp 0x14000a6d9
mov rdx, rbx
lea rcx, [0x14001245c]
call fcn.14000b708
test eax, eax
je 0x14000a76d
movzx ecx, word [rbx + 4]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14000a8d8
cmp word [rbx + 6], si
jne 0x14000a8d8
mov word [rsp + 0x20], cx
mov edx, 0xa
lea rcx, [rsp + 0x20]
mov word [rsp + 0x22], si
call fcn.14000b60c
mov ecx, eax
call fcn.140009938
jmp 0x14000a6d9
mov rdx, rbx
lea rcx, [0x140012088]
call fcn.14000b708
test eax, eax
je 0x14000a78c
add rbx, 6
mov dword [rsp + 0x28], 1
mov rdx, rbx
lea rcx, [0x140012468]
call fcn.14000b708
test eax, eax
je 0x14000a7ab
add rbx, 6
mov dword [rsp + 0x24], 1
mov rdx, rbx
lea rcx, [0x140012470]
call fcn.14000b708
test eax, eax
je 0x14000a819
movzx ecx, word [rbx + 4]
call fcn.14000b968
mov edx, 0x20
cmp ax, 0x64
jne 0x14000a7de
cmp word [rbx + 6], dx
jne 0x14000a7de
lea r13d, [rdx - 0x1f]
jmp 0x14000a815
movzx ecx, word [rbx + 4]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14000a8d8
cmp word [rbx + 6], dx
jne 0x14000a8d8
mov word [rsp + 0x20], cx
mov edx, 0xa
lea rcx, [rsp + 0x20]
mov word [rsp + 0x22], si
call fcn.14000b60c
mov r14d, eax
add rbx, 8
mov eax, 0x22
cmp word [rbx], ax
jne 0x14000a861
mov rcx, rbx
call fcn.14000b568
mov esi, eax
lea ecx, [rax - 1]
mov eax, 0x22
cmp word [rbx + rcx*2], ax
jne 0x14000a85f
lea rcx, [rbx + 2]
call fcn.14000bb8c
mov r15, rax
test rax, rax
je 0x14000a8d8
lea eax, [rsi - 2]
mov rbx, r15
xor esi, esi
mov word [r15 + rax*2], si
jmp 0x14000a861
xor esi, esi
cmp word [rbx], si
je 0x14000a8be
xor edx, edx
mov rcx, rbx
call fcn.14000a434
mov rbp, rax
test rax, rax
je 0x14000a8be
cmp r14d, 0xffffffff
jne 0x14000a890
test r13d, r13d
jne 0x14000a890
mov rcx, rax
call fcn.14000b1c0
mov r14d, eax
jmp 0x14000a898
mov rcx, rax
call fcn.14000b1c0
cmp dword [rsp + 0x24], esi
jne 0x14000a8bb
cmp r14d, edi
je 0x14000a8bb
cmp dword [rsp + 0x28], esi
mov r8d, esi
mov rdx, rbp
mov ecx, r14d
setne r8b
call fcn.140008dc0
jmp 0x14000a8be
mov edi, r14d
test r15, r15
je 0x14000a8cb
mov rcx, r15
call fcn.140001aa8
test rbp, rbp
je 0x14000a8d8
mov rcx, rbp
call fcn.140009e48
test r12, r12
je 0x14000a8e6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.140001a60
test eax, eax
je 0x14000a8f5
call qword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_ExitProcess]