Function at 0x40b2d6
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x41c151
call fcn.00418ff0
sub esp, 0x58
mov eax, dword [0x428674]
push ebx
push esi
xor eax, ebp
mov esi, ecx
mov dword [ebp - 0x10], eax
push edi
lea eax, [esi + 0x14]
push eax
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00410e30
cmp eax, ebx
pop ecx
mov dword [esi + 0x60], eax
mov edi, str.false
jne 0x40b34f
push str.create_tp_read_event_failed
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 1
push 0x1e8
push str.._tp_handler.cpp
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.004130b0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x2c]
push eax
call fcn.00411150
cmp eax, ebx
pop ecx
mov dword [esi + 0x64], eax
jne 0x40b395
push str.create_tp_write_event_failed
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 2
push 0x1ee
push str.._tp_handler.cpp
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.004130b0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x2c]
push eax
call fcn.004112a0
cmp eax, ebx
pop ecx
mov dword [esi + 0x68], eax
je 0x40b457
lea eax, [esi + 0x70]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00410f80
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 0x74], eax
jne 0x40b3f5
push str.create_tp_shared_memory_buf_failed
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 3
push 0x1fb
push str.._tp_handler.cpp
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.004130b0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esi + 0x74]
lea eax, [ecx + 0x10]
mov dword [esi + 0x7c], eax
add eax, 0x10
mov dword [esi + 0x80], eax
sub eax, ecx
add eax, 0x400
push 0x4289b8
mov dword [esi + 0x84], eax
lea eax, [ebp - 0x48]
push str.ThunderPlatform_check_update_
push eax
mov dword [esi + 0x78], ecx
call fcn.004094f4
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
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
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp edi, ebx
jne 0x40b468
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_]
mov bl, 1
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_]
mov al, bl
jmp 0x40b4a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
push edi
jne 0x40b47e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b48b
call fcn.0040fab0
pop ecx
mov ecx, esi
call fcn.0040ab15
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_]
mov al, 1
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.00418f69
leave
ret