Function at 0x10033990
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a7e0
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa60], ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push edi
push str.Global_S_Mem
push eax
call esi
add esp, 0x48
lea eax, [ebp - 0x420]
push edi
push str.Global_S_Start
push eax
call esi
push edi
lea eax, [ebp - 0xa38]
push str.Global_S_Free
push eax
call esi
push edi
lea eax, [ebp - 0x628]
push str.Global_S_Exec
push eax
call esi
push edi
lea eax, [ebp - 0x830]
push str.Global_S_Done
push eax
call esi
xorps xmm0, xmm0
movq qword [ebp - 0xa4c], xmm0
movups xmmword [ebp - 0xa5c], xmm0
mov dword [ebp - 0xa4c], 0
movups xmmword [ebp - 0xa5c], xmm0
mov dword [ebp - 0xa48], 0
mov dword [ebp - 4], 0
add esp, 0x28
lea ecx, [ebp - 0xa5c]
movq qword [ebp - 0xa44], xmm0
mov dword [ebp - 0xa3c], 0
call fcn.100349c0
test eax, eax
je 0x10033aea
push str.IPC::InitToken.Create___Failed
push 0xfffffffffffffffe
call fcn.10001790
add esp, 8
mov esi, 0x80004005
jmp 0x10033c3d
mov eax, dword [ebp - 0xa4c]
test eax, eax
je 0x10033b0b
movq xmm0, qword [eax]
movq qword [ebp - 0xa44], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xa3c], eax
jmp 0x10033b1d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [ebp - 0x628]
push eax
push 0
push 0
lea eax, [ebp - 0xa44]
push eax
call esi
mov edi, dword [ebp - 0xa60]
mov dword [edi + 8], eax
lea eax, [ebp - 0x830]
push eax
push 0
push 0
lea eax, [ebp - 0xa44]
push eax
call esi
cmp dword [ebp + 8], 0
mov dword [edi + 0xc], eax
je 0x10033b9b
lea eax, [ebp - 0x420]
push eax
push 0
lea eax, [ebp - 0xa44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10033bb4
lea eax, [ebp - 0x420]
push eax
push str.IPC::Init_CreateMutex__s_already_exist._But_continue_anyway.
push 0xfffffffffffffffe
call fcn.10001790
add esp, 0xc
jmp 0x10033bb4
lea eax, [ebp - 0xa38]
push eax
push 0
lea eax, [ebp - 0xa44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x218]
push eax
push 0x200028
push 0
push 4
lea eax, [ebp - 0xa44]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x10033bee
lea eax, [ebp - 0x218]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x10033c12
lea eax, [ebp - 0x218]
push eax
push str.IPC::InitOpenFileMapping__s_Failed
push 0xfffffffffffffffe
call fcn.10001790
add esp, 0xc
mov esi, 0x80004005
jmp 0x10033c3d
push 0x200028
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x100000
push str.IPC::InitIPC_Shared_memory_size_IPC_DATASIZE__:__X_bytes
push 0
mov dword [edi + 0x18], eax
call fcn.10001790
add esp, 0xc
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa5c]
test eax, eax
je 0x10033c55
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0xa58]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x10033c68
push eax
call edi
mov eax, dword [ebp - 0xa54]
test eax, eax
je 0x10033c75
push eax
call edi
mov eax, dword [ebp - 0xa50]
test eax, eax
je 0x10033c8a
push 0x20
push eax
call fcn.10034f82
add esp, 8
mov eax, dword [ebp - 0xa4c]
test eax, eax
je 0x10033c9f
push 0xc
push eax
call fcn.10034f82
add esp, 8
mov eax, dword [ebp - 0xa48]
test eax, eax
je 0x10033cb4
push 6
push eax
call fcn.10034f82
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034b1d
mov esp, ebp
pop ebp
ret 8