Function at 0x418db0
Capabilities:
Check mutex on windows
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.CSBSCP202303011621mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x40], ebx
call esi
cmp eax, 0xb7
jne 0x418e19
test ebx, ebx
je 0x418df1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push eax
push str.HandleSelfCheckSvcRun
push str._s:CreateMutex___alreadly_run:_d
call fcn.00404c50
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0
push 0x325
push 0
push 0
xor edx, edx
xor ecx, ecx
call fcn.00414ff0
xorps xmm0, xmm0
xor edx, edx
push 1
movups xmmword [ebp - 0x24], xmm0
call fcn.0040f2e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x24]
push eax
call ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.004147a0
test eax, eax
je 0x418eca
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0xffffffff
push eax
push 0x418070
push 0
push 0
mov dword [ebp - 0x14], 0xffffffff
call esi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x417ea0
push 0
push 0
call esi
xor ecx, ecx
test edi, edi
cmovne ecx, edi
xor edi, edi
test eax, eax
mov dword [ebp - 0x38], ecx
cmovne edi, eax
mov dword [ebp - 0x3c], edi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
push 0x3e8
test esi, esi
je 0x418ef2
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x418ef4
call edi
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x34], xmm0
call ebx
mov ax, word [ebp - 0x34]
cmp ax, word [ebp - 0x24]
jne 0x418f1f
mov ax, word [ebp - 0x32]
cmp ax, word [ebp - 0x22]
jne 0x418f1f
mov ax, word [ebp - 0x2e]
cmp ax, word [ebp - 0x1e]
je 0x418ee0
call fcn.00418220
test eax, eax
jne 0x418f65
push 1
xor edx, edx
call fcn.0040f2e0
push 0
push 1
push 0
xor edx, edx
call fcn.00410570
lea eax, [ebp - 0x24]
push eax
call ebx
push 0
push 0
push 0
push 0
push 0
push 0x326
push 0
push 0
xor edx, edx
xor ecx, ecx
call fcn.00414ff0
jmp 0x418ee0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x418f72
push esi
call edi
mov ebx, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 1
test ebx, ebx
je 0x418fa8
push 0x4e20
push ebx
call esi
cmp eax, 0x102
jne 0x418fa5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call edi
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x418fca
push 0x4e20
push ebx
call esi
cmp eax, 0x102
jne 0x418fc7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call edi
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x418fd4
push eax
call edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ae26
mov esp, ebp
pop ebp
ret