Function at 0x100085f0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ccff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x10041008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x10041ffc
mov dword [0x1004200c], 0
mov dword [0x10042010], 7
mov word [0x10041ffc], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
push 0x24
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push str.0584EF5D_1493_45BF_B393_F4E62C50F6EB
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.10002920
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
mov dword [0x10042014], 0
mov word [0x10042018], 0
je 0x100086ab
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
jmp 0x100086ad
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10042014], eax
test eax, eax
je 0x100086e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x10042019]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov byte [0x10042019], cl
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x10008721
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008717
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008717
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a5aa
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [0x1004201c], eax
mov dword [0x10042020], eax
mov dword [0x10042024], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push 0xa
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push str.StatusStat
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10002920
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.1000bce0
mov esi, eax
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.100148b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
cmp eax, edi
je 0x100087ca
mov ecx, eax
call fcn.100028c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1000880a
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008800
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008800
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a5aa
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp esi, 0x10041ffc
je 0x1000885a
mov ecx, 0x10041ffc
call fcn.100028c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x10041ffc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1004200c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, 1
mov dword [ebp - 0x14], eax
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x100088a8
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000889e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000889e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a5aa
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100088fc
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100088f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100088f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a5aa
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], cx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x10041ffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret