Function at 0x140011050
Capabilities:
Check mutex on windows
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4d0
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov r15, rcx
lea rax, vtable.ScenarioManager.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xor r12d, r12d
mov qword [rcx + 0x10], r12
movzx eax, byte [rsp + 0x530]
mov byte [rcx + 0x28], al
mov byte [rcx + 0x2b], r12b
mov word [rcx + 0x2d], r12w
mov byte [rcx + 0x2f], r12b
mov qword [rcx + 0x38], r12
mov qword [rcx + 0x40], r12
mov qword [rcx + 0x48], r12
mov qword [rcx + 0x50], r12
mov qword [rcx + 0x60], r12
mov qword [rcx + 0x68], r12
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], r12
mov qword [rcx + 0x80], r12
mov qword [rcx + 0x88], r12
mov qword [rcx + 0x90], r12
mov qword [rcx + 0x98], r12
mov qword [rcx + 0xa0], r12
mov qword [rcx + 0xa8], r12
mov qword [rcx + 0xb0], r12
mov qword [rcx + 0xb8], r12
mov qword [rcx + 0xc0], r12
mov qword [rcx + 0xc8], r12
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r15 + 0x30], rax
test rbx, rbx
je 0x140011141
mov rdx, rbx
lea rcx, [0x14004c060]
call fcn.1400035e0
mov qword [r15 + 0x18], rax
mov rcx, rbx
jmp 0x1400111f6
mov rcx, qword [r15 + 8]
call fcn.140012a60
mov qword [r15 + 0x18], rax
mov rdi, qword [r15 + 8]
test rdi, rdi
jne 0x140011162
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400111a7
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x1400111e9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011180
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call fcn.14001dc30
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
nop
cmp qword [rsp + 0x78], rdi
je 0x1400111ee
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400111d0
mov rax, r12
jmp 0x1400111fb
lea rcx, [rsp + 0x80]
call fcn.1400038a0
mov qword [r15 + 0x20], rax
test rbp, rbp
setne cl
mov rax, r15
test rbp, rbp
cmove rax, r15
mov byte [rax + 0x29], cl
mov byte [r15 + 0x2c], 0
cmp byte [r15 + 0x29], 0
je 0x140011239
cmp rsi, 1
jb 0x140011239
mov byte [r15 + 0x2a], 1
cmp rsi, 0x12345678
je 0x14001123e
mov byte [r15 + 0x2c], 1
jmp 0x14001123e
mov byte [r15 + 0x2a], 0
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rax, qword [rsp + 0x28]
mov qword [r15 + 0x10], rax
cmp rax, qword [r15 + 8]
je 0x140011266
mov al, 1
jmp 0x140011268
xor al, al
mov byte [r15 + 0x2d], al
cmp byte [r15 + 0x29], 0
jne 0x1400112ae
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x530], eax
lea rcx, [r15 + 0xa0]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14001129a
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x1400112a7
lea r8, [rsp + 0x530]
call fcn.1400128d0
cmp byte [r15 + 0x29], 0
je 0x1400112cd
cmp byte [r15 + 0x2a], 0
je 0x1400112cd
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x1400112d0
mov rax, r12
mov qword [r15 + 0x58], rax
mov rbx, r12
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011400
mov dword [rsp + 0x290], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x294]
call fcn.14001dc30
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x290]
mov r8d, 4
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub r8, 1
jne 0x140011322
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400113f7
lea rdx, str.CymulateEDRScenarioExecutor.exe
lea rcx, [rsp + 0x7c]
call fcn.140022438
test eax, eax
jne 0x1400113d7
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14001154b
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400113a4
test rbx, rbx
je 0x1400113f7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x58
call fcn.14001b888
mov rdi, rax
mov qword [rsp + 0x518], rax
mov qword [rax], rbp
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
lea rbx, [rax + 0x48]
mov qword [rsp + 0x528], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov ecx, 0x58
call fcn.14001b888
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [r15 + 0x60], rdi
mov rcx, rdi
call fcn.140013580
test al, al
je 0x140011531
mov rax, qword [r15 + 0x60]
lea rdx, str.APT_SCENARIO
mov rcx, qword [rax + 8]
call fcn.14001e1c4
test rax, rax
setne al
mov byte [r15 + 0x2b], al
mov ecx, 0x40
call fcn.14001b888
mov r14, rax
mov qword [rsp + 0x518], rax
mov rcx, qword [r15 + 0x60]
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x10]
mov rbx, qword [rcx + 8]
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov word [rax + 0x3c], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r14], rax
mov rcx, rbx
call fcn.1400038a0
mov qword [r14 + 8], rax
mov rcx, rdi
call fcn.1400038a0
mov qword [r14 + 0x10], rax
mov rcx, rsi
call fcn.1400038a0
mov qword [r14 + 0x18], rax
mov rdx, qword [r14 + 0x10]
lea rcx, str..pipe_s_p
call fcn.140003510
mov qword [r14 + 0x20], rax
xor ecx, ecx
call fcn.140022628
mov dword [r14 + 0x38], eax
mov qword [r15 + 0x68], r14
mov rcx, r14
call fcn.140014e40
test al, al
jne 0x140011536
mov byte [r15 + 0x2e], 1
mov rax, r15
add rsp, 0x4d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400113ee