Function at 0x42c580
Capabilities:
Check mutex on windows
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x44c7a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [0x468a18]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x50]
xor ebx, ebx
cmp eax, ebx
je 0x42c5b5
xor eax, eax
jmp 0x42c7ec
push ebp
push edi
lea ecx, [esp + 0x60]
call fcn.0042a220
mov ebp, dword [esp + 0x98]
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], ebx
call fcn.0042a100
lea eax, [esp + 0x1c]
lea edi, [esi + 4]
push eax
lea ecx, [edi + 8]
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 4]
call fcn.00411910
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], bl
call section..text
lea ecx, [esp + 0x38]
call fcn.00430bc0
cmp dword [esi + 0x48], ebx
mov byte [esp + 0x90], 2
jne 0x42c6cf
push 0x459098
lea ecx, [esp + 0x18]
call fcn.0042a100
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 3
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
call fcn.00411910
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 2
call section..text
cmp edi, ebx
je 0x42c675
lea eax, [esi + 0xc]
jmp 0x42c677
xor eax, eax
push eax
lea ecx, [esp + 0x6c]
call dword [0x44e80c]
lea ecx, [esp + 0x60]
push ecx
call fcn.0042af30
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, 8
mov eax, dword [esp + 0x6c]
jae 0x42c6a3
lea eax, [esp + 0x6c]
push eax
push ebx
lea ecx, [esp + 0x40]
call fcn.00430c10
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x1f4
push eax
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42c757
push ebp
lea ecx, [esp + 0x18]
call fcn.0042a100
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 4
lea edi, [esi + 0x28]
call fcn.00430c10
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0042c040
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 2
call section..text
cmp dword [esi + 0x4c], ebx
jne 0x42c71d
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
lea eax, [esi + 0x54]
mov dword [eax], ecx
lea ecx, [esp + 0x10]
push ecx
push 4
push eax
push 0x42b550
push ebx
push ebx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x50], eax
jne 0x42c77e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], bl
call fcn.00430bf0
or edi, 0xffffffff
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], edi
call section..text
mov eax, edi
jmp 0x42c7ea
or edi, 0xffffffff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x42c7be
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x38]
mov dword [esi + 0x50], ebx
mov byte [esp + 0x90], bl
call fcn.00430bf0
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], edi
call section..text
mov eax, edi
jmp 0x42c7ea
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], bl
call fcn.00430bf0
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], edi
call section..text
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x80]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x78]
pop ebx
call fcn.0043cfa9
add esp, 0x84
ret 4