Function at 0x14000f3a0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Read file via mapping
Terminate process

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x140050318]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r13, r9
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x78], rdx
mov r14, rcx
mov qword [rsp + 0xc8], rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov rsi, rdi
mov dword [rsp + 0x80], edi
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x110], 0x68
xor edx, edx
lea r8d, [rdi + 0x60]
lea rcx, [rsp + 0x118]
call fcn.140008ebc
mov qword [rsp + 0xa0], rdi
xor eax, eax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], rdi
mov r15, rdi
mov byte [rsp + 0x180], dil
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x181]
call fcn.140008ebc
lea ebx, [rdi + 1]
mov dword [rsp + 0x54], ebx
mov r12, rdi
cmp r13, rdi
je 0x14000fb8f
call fcn.140014fac
cmp eax, edi
je 0x14000f48a
call fcn.140014fb4
cmp eax, edi
je 0x14000fb8f
mov dword [rsp + 0x80], 0x18
mov dword [rsp + 0x90], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xd0], rax
cmp rax, rdi
je 0x14000fb8f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xd8], rax
cmp rax, rdi
je 0x14000fb8f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x70], rax
cmp rax, rdi
je 0x14000fb8f
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r15, rax
mov qword [rsp + 0xe8], rax
cmp rax, rdi
je 0x14000fb8f
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x9cb8
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x80]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rcx, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xb8], rax
cmp rax, rdi
je 0x14000fb8f
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov qword [rsp + 0x98], rax
cmp rax, rdi
je 0x14000fb8f
xor edx, edx
mov r8d, 0x9cb8
mov rcx, rax
call fcn.140008ebc
mov dword [rsi], 0x9cb8
mov dword [rsi + 4], 0x20000
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx]
mov qword [rsi + 0x40], rax
cmp rax, rdi
je 0x14000fb8f
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 8]
mov dword [rsi + 8], eax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x10]
mov dword [rsi + 0xc], eax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
mov qword [rsi + 0x10], rax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x20]
mov qword [rsi + 0x18], rax
mov rax, qword [r13]
lea rdx, [rsi + 0x848c]
mov rcx, r13
call qword [rax + 0x28]
mov r11, qword [rsp + 0x58]
mov qword [rsi + 0x30], r11
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x38], r15
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x28], rax
mov eax, dword [r14 + 0x30]
mov dword [rsi + 0x68], eax
mov eax, dword [r14 + 0x2c]
mov dword [rsi + 0x64], eax
mov eax, dword [r14 + 0x28]
mov dword [rsi + 0x60], eax
mov dword [rsi + 0x48], edi
mov dword [rsi + 0x4c], 0xc
mov dword [rsi + 0x50], edi
mov dword [rsi + 0x54], 0x21
mov dword [rsi + 0x58], 2
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x48]
cmp eax, edi
jne 0x14000f683
bts dword [rsi + 0x48], 7
cmp dword [r14 + 0x34], edi
je 0x14000f68d
or dword [rsi + 0x54], 4
mov rax, qword [rsp + 0x78]
cmp rax, rdi
je 0x14000f6b3
cmp word [rax], di
je 0x14000f6b3
or dword [rsi + 0x48], ebx
lea rcx, [rsi + 0x9c8]
mov r8, rax
mov edx, 0x400
call fcn.140016430
cmp qword [r14 + 0x18], rdi
je 0x14000f6d1
or dword [rsi + 0x48], ebx
lea rcx, [rsi + 0x9c8]
mov r8, qword [r14 + 0x18]
mov edx, 0x400
call fcn.140016430
mov rax, qword [r13]
lea rdx, [rsi + 0x9c8]
mov r8d, 0x400
mov rcx, r13
call qword [rax + 0x38]
cmp eax, edi
je 0x14000f6ef
or dword [rsi + 0x48], ebx
mov r8, qword [r14 + 0x20]
cmp r8, rdi
je 0x14000f70e
lea rcx, [rsi + 0x19c8]
or r9, 0xffffffffffffffff
mov edx, 0x400
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x5c], eax
lea rcx, [rsi + 0x6c]
or r9, 0xffffffffffffffff
lea r8, str.Microsoft_Office_14
mov edx, 0x104
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
lea rcx, [rsi + 0x7c0]
lea rdx, [0x140050b40]
mov r8d, 0x7c
call fcn.140008ec4
mov r8, qword [r14 + 8]
cmp r8, rdi
je 0x14000f766
lea rcx, [rsi + 0x21c8]
or r9, 0xffffffffffffffff
lea edx, [r9 + 0x39]
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
mov r8, qword [r14 + 0x10]
cmp r8, rdi
je 0x14000f785
lea rcx, [rsi + 0x3d38]
or r9, 0xffffffffffffffff
mov edx, 0x104
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
mov rax, qword [r13]
mov r8d, 0x104
lea rdx, [rsi + 0x274]
mov rcx, r13
call qword [rax + 0x40]
cmp eax, edi
jne 0x14000f7dd
cmp word [0x1400bee00], di
je 0x14000f7c8
or r9, 0xffffffffffffffff
lea r8, [0x1400bee00]
mov edx, 0x104
lea rcx, [rsi + 0x274]
call qword [sym.imp.MSVCR90.dll_wcsncpy_s]
jmp 0x14000f7dd
mov r8d, 0x104
lea rdx, [rsi + 0x274]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.14000efe8
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.14000ec54
cmp eax, edi
je 0x14000fb8f
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x180]
lea r8, str.__s___x__s__Iu
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x290]
call fcn.14000eda8
lea r11, [rsp + 0xa0]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x290]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, edi
je 0x14000fb8f
mov rax, qword [r13]
mov edx, dword [rsp + 0xb0]
mov rcx, r13
call qword [rax + 0x60]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0xa0]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0xe0], r14
mov dword [rsp + 0x50], ebx
mov rax, r14
neg rax
sbb eax, eax
neg eax
add eax, 2
mov dword [rsp + 0x70], eax
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], r14
mov r9d, 0x4e20
xor r8d, r8d
lea rdx, [rsp + 0xf0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, edi
jne 0x14000f91b
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
jmp 0x14000f9a4
cmp eax, ebx
je 0x14000f9b2
cmp eax, 2
jne 0x14000f937
mov dword [rsp + 0x54], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x14000f9a4
cmp eax, 0x102
je 0x14000f94a
xor edx, edx
mov ecx, 0x38303364
call fcn.140011d08
mov dword [rsp + 0x50], edi
mov edx, 0x4e20
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14000f9b2
cmp eax, 0x80
jne 0x14000f979
mov dword [rsp + 0x54], edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x14000f9a4
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x14000f997
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [rsp + 0x54], edi
jmp 0x14000f99b
mov dword [rsp + 0x50], ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [rsp + 0x54], edi
mov eax, dword [rsp + 0x70]
jne 0x14000f8d7
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x70]
mov rsi, qword [rsp + 0x98]
mov eax, dword [rsi + 0x9aa0]
cmp eax, edi
mov r12, rdi
mov r14, qword [rsp + 0xc8]
je 0x14000fb8f
mov ecx, dword [rsp + 0x50]
cmp ecx, edi
je 0x14000fad2
test dword [r14 + 0x2c], eax
je 0x14000fad2
mov edx, 0x20
lea ecx, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
jmp 0x14000fa67
cmp r12, rdi
jne 0x14000fab4
mov eax, dword [rsi + 0x9aa0]
sub eax, ebx
je 0x14000faa9
sub eax, ebx
je 0x14000fa9e
cmp eax, 2
je 0x14000fa93
xor edx, edx
mov ecx, 0x77617a70
call fcn.140011d08
mov r12, rdi
jmp 0x14000fb8f
mov r12d, 7
jmp 0x14000fb8f
mov r12d, 6
jmp 0x14000fb8f
mov r12d, 9
jmp 0x14000fb8f
mov eax, dword [rsi + 0x9aa0]
mov dword [r12], eax
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rcx
mov qword [r12 + 0x18], rdx
jmp 0x14000fbe4
test dword [r14 + 0x30], eax
je 0x14000fb1e
sub eax, ebx
je 0x14000fb16
sub eax, ebx
je 0x14000fb0e
sub eax, 2
je 0x14000fb03
cmp eax, 0xc
je 0x14000fafb
xor edx, edx
mov ecx, 0x69797765
call fcn.140011d08
jmp 0x14000fb8f
mov r12, rbx
jmp 0x14000fb8f
mov r12d, 3
jmp 0x14000fb8f
mov r12d, 2
jmp 0x14000fb8f
mov r12d, 5
jmp 0x14000fb8f
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x58]
cmp eax, edi
je 0x14000fb8f
mov eax, dword [rsi + 0x9aa0]
cmp eax, edi
jbe 0x14000fb83
cmp eax, 2
jbe 0x14000fb5c
cmp eax, 4
je 0x14000fb4a
cmp eax, 0x10
jne 0x14000fb83
mov r12, rbx
jmp 0x14000fb8f
xor edx, edx
mov ecx, 0x6a626361
lea r12d, [rdx + 3]
call fcn.140011d08
jmp 0x14000fb8f
mov rax, qword [r14]
mov rcx, qword [rax]
mov ebx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov ecx, 0x38303365
call fcn.140011d08
jmp 0x14000fb8f
xor edx, edx
mov ecx, 0x697a756c
call fcn.140011d08
cmp rsi, rdi
je 0x14000fb9d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [rsp + 0x60]
cmp rax, rdi
je 0x14000fbb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
cmp rax, rdi
je 0x14000fbc3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
cmp rax, rdi
je 0x14000fbd6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r15, rdi
je 0x14000fbe4
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r12
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140008a98
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret