Function at 0x10007160
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54c
mov eax, dword [0x10021008]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push esi
push edi
push str.wdog
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
cmp eax, 0xb7
jne 0x100071f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [esp + 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x48]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100071c0
sub ecx, edx
lea eax, [esp + 0x48]
push ecx
push eax
mov ecx, 0x1007c7c4
call fcn.10001440
call fcn.10004d70
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1000730e
xor al, al
jmp 0x10007337
push 1
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.LocalZZWTEC_SHARED_MEMORY2
push 0x10
push 0
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push 4
push eax
push 0xffffffffffffffff
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
call ebx
test eax, eax
jne 0x100071a4
push 0x10
push eax
push eax
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x100071a4
call fcn.10016cf0
test eax, eax
je 0x100071a4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
xorps xmm0, xmm0
mov byte [esi], 0
movlpd qword [esp + 0x10], xmm0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
push 0xea60
call ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
nop dword [eax]
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
jne 0x100072d1
cmp edi, 0xa
jge 0x100072cb
push 0xea60
inc edi
call ebx
jmp 0x100072b0
jg 0x100071a4
cmp edx, dword [esp + 0x10]
jne 0x100072fd
cmp ecx, dword [esp + 0x18]
jne 0x100072fd
cmp byte [esi], 1
jne 0x100072fd
xor edi, edi
mov byte [esi], 0
xorps xmm0, xmm0
mov dword [esi + 8], edi
movlpd qword [esp + 0x10], xmm0
mov dword [esi + 0xc], edi
call fcn.10016cf0
jmp 0x10007292
push 0x1d4c0
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
call ebx
jmp 0x100072b0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x10007335
cmp eax, 0x80010119
je 0x10007335
xor al, al
jmp 0x10007337
mov al, 1
mov ecx, str.Time
mov byte [0x1007cf8e], al
call fcn.10013e60
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x100073cf
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
add esp, 4
mov esi, eax
lea eax, [esp + 0x150]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0xc
inc eax
push dword [esi + 4]
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [esp + 0x164]
push str._d__d__d__d:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea edx, [esp + 0x150]
mov ecx, str.Time
call fcn.10013d90
lea edi, [esp + 0x150]
push edi
xor esi, esi
call ebx
test eax, eax
jle 0x100073e5
add word [edi + esi*2], 2
inc esi
push edi
call ebx
cmp esi, eax
jl 0x100073d8
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10007410
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.10016000
call fcn.10004f30
push 0
push 0
push 0
push 0
mov dword [esp + 0x34], 0x100065a0
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push 0x100164b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push 0xffffffffffffffff
push dword [esp + 0x34]
call esi
push dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push 0xffffffffffffffff
push edi
call esi
push edi
call ebx
mov ecx, dword [esp + 0x554]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10016f21
mov esp, ebp
pop ebp
ret