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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov eax, dword [0x14007edc0]
xor r15d, r15d
mov r13d, r15d
mov qword [rsp + 0x48], r15
or r12d, 0xffffffff
mov byte [rsp + 0x30], r15b
mov r14d, r15d
mov esi, 0xfffffffe
lea edi, [r15 + 1]
lea ebx, [rdi + 1]
cmp eax, ebx
je 0x14000c82d
xor eax, eax
lock cmpxchg dword [0x14007edc0], edi
je 0x14000c7ed
cmp eax, ebx
je 0x14000c82d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r15
call fcn.14001a858
jmp 0x14000c7cc
xorps xmm0, xmm0
mov qword [rbp], r15
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm0
lea rax, [0x140049710]
movdqa xmmword [rbp - 0x10], xmm1
lea rcx, [rbp - 0x20]
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], r15d
mov dword [rbp + 0x14], ebx
mov dword [rbp + 0x18], 0xfffffffe
call fcn.14001a01c
mov eax, edi
lock cmpxchg dword [0x14007edc0], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, 0x851
mov word [rsp + 0x70], r15w
mov rbx, rax
mov ecx, 0x170b043
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], rax
mov r8d, 0x64
lea rax, str.Param
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.WinMain:
mov qword [rsp + 0x20], rax
call fcn.14000262c
lea rdx, str..exe
mov rcx, rbx
call fcn.14000de00
mov rdi, rax
mov ecx, 0x20
test rax, rax
je 0x14000c8a9
add rdi, 8
jmp 0x14000c929
lea rdx, str.msohtmed
mov rcx, rbx
call fcn.14000de00
mov rdi, rax
test rax, rax
je 0x14000c8c6
add rdi, 0x10
jmp 0x14000c924
mov eax, 0x22
cmp word [rbx], ax
jne 0x14000c903
mov edx, eax
lea rcx, [rbx + 2]
call fcn.14000da78
mov r10d, 0x20
test rax, rax
je 0x14000c909
mov edx, r10d
lea rcx, [rax + 2]
call fcn.14000da78
mov rdi, rax
test rax, rax
je 0x14000c909
add rdi, 2
mov ecx, r10d
jmp 0x14000c929
mov r10d, 0x20
mov edx, r10d
mov rcx, rbx
call fcn.14000da78
mov rdi, rax
test rax, rax
je 0x14000cce7
add rdi, 2
mov ecx, 0x20
mov edx, 0x22
jmp 0x14000c934
add rdi, 2
movzx eax, word [rdi]
cmp ax, dx
je 0x14000c930
cmp ax, cx
jne 0x14000c94a
add rdi, 2
cmp word [rdi], cx
je 0x14000c941
mov rdx, rdi
lea rcx, str._regserver
call fcn.14000db08
test eax, eax
jne 0x14000c987
mov rdx, rdi
lea rcx, str._regserverfp
call fcn.14000db08
test eax, eax
jne 0x14000c987
mov rdx, rdi
lea rcx, str._unregserver
call fcn.14000db08
test eax, eax
je 0x14000ca14
mov ebx, 1
lea r8, str.MSOHTMED_REG
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000cce7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000ccd4
mov rdx, rdi
lea rcx, str._regserverfp
call fcn.14000db08
test eax, eax
je 0x14000c9e3
mov edx, ebx
call fcn.140007670
neg eax
sbb ecx, ecx
not ecx
and esi, ecx
jmp 0x14000ccd4
mov rdx, rdi
lea rcx, str._regserver
call fcn.14000db08
test eax, eax
je 0x14000c9fa
xor edx, edx
jmp 0x14000c9d1
mov rdx, rdi
lea rcx, str._unregserver
call fcn.14000db08
test eax, eax
je 0x14000ca14
call fcn.140009b08
jmp 0x14000c9d6
mov rdx, rdi
lea rcx, [0x1400486d4]
call fcn.14000db08
test eax, eax
je 0x14000ca69
movzx ecx, word [rdi + 4]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14000ccd4
cmp word [rdi + 6], r15w
jne 0x14000ccd4
mov word [rsp + 0x34], cx
mov edx, 0xa
lea rcx, [rsp + 0x34]
mov word [rsp + 0x36], r15w
call fcn.14000e040
mov ecx, eax
call fcn.14000b4e4
jmp 0x14000c9d6
mov rdx, rdi
lea rcx, [0x1400477a0]
call fcn.14000db08
test eax, eax
mov dword [rsp + 0x40], eax
lea rbx, [rdi + 6]
cmove rbx, rdi
lea rcx, [0x1400486e0]
mov rdx, rbx
call fcn.14000db08
test eax, eax
mov dword [rsp + 0x34], eax
lea rdi, [rbx + 6]
cmove rdi, rbx
lea rcx, [0x1400486e8]
mov rdx, rdi
call fcn.14000db08
test eax, eax
je 0x14000cb1f
movzx edx, word [rdi + 4]
mov r10d, 0x20
lea eax, [rdx - 0x41]
cmp ax, 0x19
lea ecx, [r10 + rdx]
lea ebx, [r10 + 0x44]
cmova cx, dx
cmp cx, bx
jne 0x14000cae6
cmp word [rdi + 6], r10w
jne 0x14000cae6
mov byte [rsp + 0x30], 1
jmp 0x14000cb1b
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x14000ccd4
cmp word [rdi + 6], r10w
jne 0x14000ccd4
mov word [rsp + 0x38], dx
lea rcx, [rsp + 0x38]
mov edx, 0xa
mov word [rsp + 0x3a], r15w
call fcn.14000e040
mov r12d, eax
add rdi, 8
mov r8d, 0x22
xor edx, edx
mov r15, rdi
cmp word [rdi], r8w
jne 0x14000cb70
mov rax, rdi
mov ebx, edx
lea rax, [rax + 2]
inc ebx
cmp word [rax], dx
jne 0x14000cb35
lea eax, [rbx - 1]
cmp word [rdi + rax*2], r8w
jne 0x14000cb70
lea rcx, [rdi + 2]
call fcn.14000dccc
xor r15d, r15d
mov r13, rax
test rax, rax
je 0x14000ccd4
lea eax, [rbx - 2]
xor edx, edx
mov word [r13 + rax*2], r15w
mov r15, r13
cmp word [r15], dx
je 0x14000ccb7
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov word [rbp - 0x70], dx
mov qword [rsp + 0x78], rax
mov ebx, 0x64
lea rax, str.Param
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], rax
mov r8d, ebx
lea rax, [rsp + 0x78]
mov edx, 0x851
mov qword [rsp + 0x28], rax
mov ecx, 0x170b046
lea rax, str.WinMain:_Before_PHevCreateFileInfo
mov qword [rsp + 0x20], rax
call fcn.14000262c
xor edx, edx
mov rcx, r15
call fcn.14000289c
xor r15d, r15d
mov r14, rax
test rax, rax
je 0x14000ccba
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x68], rax
mov r8d, ebx
lea rax, str.Param
mov word [rbp - 0x50], r15w
mov qword [rbp - 0x60], rax
mov edx, 0x851
lea rax, [rbp - 0x68]
mov ecx, 0x170b047
mov qword [rsp + 0x28], rax
lea rax, str.WinMain:_Before_WHevParseFile
mov qword [rsp + 0x20], rax
call fcn.14000262c
cmp r12d, 0xffffffff
jne 0x14000cc3f
cmp byte [rsp + 0x30], r15b
jne 0x14000cc3f
mov rcx, r14
call fcn.14000cd44
mov r12d, eax
jmp 0x14000cc47
mov rcx, r14
call fcn.14000cd44
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x48], rax
mov r8d, ebx
lea rax, str.Param
mov word [rbp - 0x30], r15w
mov qword [rbp - 0x40], rax
mov edx, 0x851
lea rax, [rbp - 0x48]
mov ecx, 0x170b048
mov qword [rsp + 0x28], rax
lea rax, str.WinMain:_Before_FHevActivateApp
mov qword [rsp + 0x20], rax
call fcn.14000262c
cmp dword [rsp + 0x34], r15d
jne 0x14000ccb2
cmp r12d, esi
je 0x14000ccb2
cmp dword [rsp + 0x40], r15d
mov r8d, r15d
mov rdx, r14
mov ecx, r12d
setne r8b
call fcn.140002db4
jmp 0x14000ccba
mov esi, r12d
jmp 0x14000ccba
xor r15d, r15d
test r13, r13
je 0x14000ccc7
mov rcx, r13
call fcn.1400027dc
test r14, r14
je 0x14000ccd4
mov rcx, r14
call fcn.140002ac0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14000cce7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x14007e328], r15d
je 0x14000ccf6
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rax, [0x140046528]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rdx, str.Param
lea rcx, [rbp + 0x20]
call fcn.1400025c8
lea r9, str.WinMain__EXIT_
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b049
mov r8d, 0x64
call fcn.14000260c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_ExitProcess]