Function at 0x40a453
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x41bd19
call fcn.00418cb0
sub esp, 0x3c
mov eax, dword [0x42847c]
push ebx
push esi
xor eax, ebp
mov esi, ecx
push edi
mov ecx, 0x4287d4
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [esi + 0x6c], eax
jne 0x40a495
mov ecx, esi
call fcn.0040a442
jmp 0x40a4b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push dword [esi + 0x6c]
jne 0x40a4b0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x6c], ebx
jmp 0x40a48c
call fcn.0040f770
pop ecx
push str.load_from_local
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], ebx
push str.ThunderPlatform
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00403f26
mov ecx, eax
call fcn.0040e04d
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp edi, ebx
jne 0x40a567
add esi, 0x30
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00410860
pop ecx
pop ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
call fcn.00403f6e
mov ecx, eax
call fcn.0040c40b
lea eax, [ebp - 0x48]
push eax
call fcn.00410460
pop ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
call fcn.00403f6e
mov ecx, eax
call fcn.0040c5f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
jmp 0x40a5c7
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00410980
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call fcn.00403f6e
mov ecx, eax
call fcn.0040c40b
lea eax, [ebp - 0x2c]
push eax
call fcn.00403f6e
mov ecx, eax
call fcn.0040c5f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418c29
leave
ret