Function at 0x14004d3c8
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 [0x1400b77a8]
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.14000ef34
mov ebx, eax
test eax, eax
js 0x14004d693
mov rcx, qword [0x1400b72f8]
lea rbx, [0x1400b72f8]
cmp rcx, rbx
je 0x14004d45c
test byte [rcx + 0x44], 2
je 0x14004d45c
mov rcx, qword [rcx + 0x38]
lea r9, [rbp - 0x10]
mov edx, 0xc
mov dword [rsp + 0x20], esi
lea r8, [0x1400ab260]
call fcn.14004d7a8
lea r8, [rbp - 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14004d68c
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x14004d613
xor edx, edx
lea r8d, [rax + 0x64]
lea rcx, [rbp - 0x7c]
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
xor eax, eax
lea rcx, [rbp + 0x70]
xor edx, edx
mov qword [rsp + 0x78], rax
mov r8d, 0x20a
movups xmmword [rsp + 0x68], xmm0
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14004d5fb
lea r9, [rbp + 0x70]
mov edx, 0x105
lea r8, str._ws_splwow64.exe
lea rcx, [rbp + 0x280]
call fcn.14000ef34
mov ebx, eax
test eax, eax
js 0x14004d602
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.14000ef34
mov ebx, eax
test eax, eax
js 0x14004d602
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
nop dword [rax + rax]
test eax, eax
je 0x14004d5fb
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_0.dll_CreateProcessAsUserW]
nop dword [rax + rax]
test eax, eax
je 0x14004d5e1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14004d5e8
call fcn.14000dcf4
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
nop dword [rax + rax]
jmp 0x14004d602
call fcn.14000dcf4
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
nop dword [rax + rax]
jmp 0x14004d67b
mov rcx, qword [0x1400b72f8]
cmp rcx, rbx
je 0x14004d63e
test byte [rcx + 0x44], 1
je 0x14004d63e
mov rcx, qword [rcx + 0x38]
lea r9, [rbp - 0x10]
mov edx, 0xd
lea r8, [0x1400ab260]
call fcn.140040ed0
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
jne 0x14004d657
cmp byte [0x7ffe02d4], al
je 0x14004d676
lea rcx, str.Mutex_could_not_be_acquired_within_10_seconds_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_DebugBreak]
nop dword [rax + rax]
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14004d693
call fcn.14000dcf4
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140013430
add rsp, 0x9b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret