Function at 0x41e6a0
Capabilities:
Check mutex on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x655140]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push 4
mov dword [esp + 0x18], eax
call fcn.004b4016
add esp, 4
mov esi, eax
push 0x10
mov dword [esi], vtable.CISProductDef.0
call fcn.004b4016
mov edi, eax
add esp, 4
lea eax, [edi + 4]
mov dword [eax], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_class_CProductDefBase_.0
mov dword [edi + 0xc], esi
lock inc dword [eax]
mov dword [0x67a840], esi
or ebx, 0xffffffff
mov esi, dword [0x67a844]
mov dword [0x67a844], edi
test esi, esi
je 0x41e736
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41e736
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41e736
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x41e759
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x41e759
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [0x67a868], 0
jne 0x41e7c4
push 0xb0
call fcn.004b4016
mov edi, eax
add esp, 4
lea esi, [edi + 0xc]
mov dword [edi + 4], 1
mov ecx, esi
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_CISProductUrlDef_.0
call fcn.004a1610
mov dword [0x67a868], esi
mov esi, dword [0x67a86c]
mov dword [0x67a86c], edi
test esi, esi
je 0x41e7c4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41e7c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41e7c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [0x67a86c]
test eax, eax
je 0x41e7d1
lock inc dword [eax + 4]
mov edi, dword [0x67a86c]
mov ecx, dword [0x67a868]
mov dword [esp + 0x18], edi
lea eax, [edi + 4]
test edi, edi
je 0x41e7f1
lock inc dword [eax]
lock inc dword [eax]
lock inc dword [eax]
mov esi, dword [0x67a84c]
mov dword [0x67a848], ecx
mov dword [0x67a84c], edi
test esi, esi
je 0x41e826
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41e826
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41e826
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x41e849
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41e849
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x41e849
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
push 0
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x78], 0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x64], 3
call esi
push 0x7f00
push 0
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x88], str.UITask_Wnd_Class
mov dword [esp + 0x68], 0x419b00
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
call esi
push eax
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push str.UITask_Dispatch_Window
push str.UITask_Wnd_Class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push str.4D543171_C032_4BBA_A309_1EEB44D1FEAC
push 0
push 0
mov dword [0x67a830], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x65e6d8], eax
test eax, eax
je 0x41ebf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41ebf4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 8
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.0041c750
mov eax, dword [0x669e68]
xorps xmm0, xmm0
add eax, 0x10
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
push eax
mov dword [esp + 0x28], vtable.WTL::CMessageLoop.0
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x5c], 0
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x67a7c8]
push 4
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
add ecx, 1
cmovo ecx, ebx
push ecx
push dword [esi]
call fcn.004c095b
add esp, 0xc
test eax, eax
je 0x41ea1d
mov dword [esi], eax
mov eax, dword [esi + 8]
add eax, 1
push 4
cmovo eax, ebx
push eax
push dword [esi + 4]
call fcn.004c095b
add esp, 0xc
test eax, eax
je 0x41ea1d
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax*4]
mov eax, dword [esi]
add eax, ecx
je 0x41ea0d
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esi + 4]
add eax, ecx
je 0x41ea1a
lea ecx, [esp + 0x24]
mov dword [eax], ecx
inc dword [esi + 8]
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
call fcn.0041e150
mov eax, dword [0x65e6d8]
add esp, 4
test eax, eax
je 0x41ea4a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x669e68]
add eax, 0x10
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x67a7c8]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
test eax, eax
jle 0x41eaa7
mov edx, dword [edx]
nop dword [eax + eax]
mov edi, dword [esp + 0x14]
cmp dword [edx], edi
mov edi, dword [esp + 0x18]
je 0x41ea96
inc ecx
add edx, 4
cmp ecx, eax
jl 0x41ea80
jmp 0x41eaa7
cmp ecx, 0xffffffff
je 0x41eaa7
push ecx
mov ecx, dword [0x67a7c8]
call fcn.0041ece0
push dword [esp + 0x1c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x67a308]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41eada
push 0x74
call fcn.004b4016
add esp, 4
mov ecx, eax
call fcn.004a2db0
mov dword [esp + 0x10], eax
mov dword [0x67a308], eax
add eax, 0x5c
mov dword [esp + 0x1c], 0
mov esi, eax
mov dword [esp + 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x50]
cmp eax, dword [ecx + 0x54]
jne 0x41eb34
nop
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x32
jge 0x41eb3b
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x50]
cmp eax, dword [ecx + 0x54]
je 0x41eb00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00419950
mov ecx, eax
call fcn.00473dc0
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [esp + 0x5c]
push 1
push 0x401
push 0x401
push dword [0x67a830]
push eax
call esi
test eax, eax
je 0x41eb98
nop word [eax + eax]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0x401
push 0x401
push dword [0x67a830]
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
jne 0x41eb70
push dword [0x67a830]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x34]
xor esi, esi
mov dword [0x67a830], 0
mov dword [esp + 0x24], vtable.WTL::CMessageLoop.0
test eax, eax
je 0x41ebcd
push eax
call fcn.004c0fcf
add esp, 4
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
test eax, eax
je 0x41ebea
push eax
call fcn.004c0fcf
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
jmp 0x41ec0f
mov eax, dword [0x65e6d8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x65e6d8], 0
mov esi, 1
test edi, edi
je 0x41ec54
mov eax, ebx
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x41ec37
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x41ec34
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x41ec54
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x41ec54
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret 0x10