Function at 0x14004edb0
Capabilities:
Check mutex on windows
Create process on windows
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x8b0]
sub rsp, 0x9b0
mov rax, qword [0x1400a9008]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
mov eax, dword [rdx + 4]
mov esi, r8d
mov r9d, dword [rdx]
lea r8, str.LocalWinSpl64To32Mutex__x__x__x
mov r14, rcx
mov dword [rsp + 0x28], 0x2000
mov edx, 0x3c
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x10]
call fcn.140018838
mov ebx, eax
test eax, eax
js 0x14004f057
mov rcx, qword [0x1400a92b0]
lea rbx, [0x1400a92b0]
cmp rcx, rbx
je 0x14004ee44
test byte [rcx + 0x44], 2
je 0x14004ee44
mov rcx, qword [rcx + 0x38]
lea r9, [rbp - 0x10]
mov edx, 0xb
mov dword [rsp + 0x20], esi
lea r8, [0x140094db0]
call fcn.14004f108
lea r8, [rbp - 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateMutexW]
mov rdi, rax
test rax, rax
je 0x14004f042
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
test eax, eax
jne 0x14004efe1
lea ebx, [rax + 0x68]
xor edx, edx
mov r8d, ebx
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [rbp - 0x80], ebx
xor edx, edx
mov qword [rsp + 0x68], rax
mov r8d, 0x20a
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x78], rax
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x14004efc1
lea r9, [rbp + 0x70]
mov edx, 0x105
lea r8, str._ws_splwow64.exe
lea rcx, [rbp + 0x280]
call fcn.140018838
mov ebx, eax
test eax, eax
js 0x14004efd6
lea r9, [rbp + 0x70]
mov dword [rsp + 0x20], esi
lea r8, str._ws_splwow64.exe__d
mov edx, 0x208
lea rcx, [rbp + 0x490]
call fcn.140018838
mov ebx, eax
test eax, eax
js 0x14004efd6
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14004efc1
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea r8, [rbp + 0x490]
lea rax, [rbp - 0x80]
mov rcx, r14
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x280]
lea rax, [rbp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xc000408
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateProcessAsUserW]
test eax, eax
je 0x14004ef9f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14004efb4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14004efb4
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x14004efd6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14004efd6
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_ReleaseMutex]
jmp 0x14004f037
mov rcx, qword [0x1400a92b0]
cmp rcx, rbx
je 0x14004f00c
test byte [rcx + 0x44], 1
je 0x14004f00c
mov rcx, qword [rcx + 0x38]
lea r9, [rbp - 0x10]
mov edx, 0xc
lea r8, [0x140094db0]
call fcn.140043c9c
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004f01f
cmp byte [0x7ffe02d4], al
je 0x14004f032
lea rcx, str.Mutex_could_not_be_acquired_within_10_seconds_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_OutputDebugStringW]
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_DebugBreak]
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14004f057
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14004f057
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140024ca0
add rsp, 0x9b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret