Function at 0x485e10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec7e7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5299c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [ebp - 4], 0
mov byte [edi + 0xfc], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0xffffffff
mov dword [edi + 0xf8], 0xffffffff
lea ebx, [edi + 0x20]
mov byte [ebp - 4], 1
mov ecx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00436c60
mov dword [ebx], vtable.InteractionObjectImpl.0
mov dword [ebx + 4], 0x8d
mov dword [ebx + 0xc], 0
lea eax, [edi + 0x48]
mov byte [ebp - 4], 2
lea esi, [eax + 4]
mov dword [ebp - 0x10], eax
mov ecx, 0x4fc934
mov dword [eax], vtable.WindowStateManagerImpl_class_CWindowStateManager_.0
lea edx, [esi + 4]
mov dword [ebp - 0x10], esi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x485ef2
push 0x1c
call fcn.004ab698
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x485f5f
mov dword [ebx + 4], 1
lea esi, [ebx + 0xc]
mov dword [ebx], vtable.sstate::CContainerImpl_class_CStorageAdapter_.0
mov dword [ebx + 8], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044f300
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov dword [ebx], vtable.sstate::CWindowStateMgr_class_CStorageAdapter_::CImpl.0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xa
jmp 0x485f61
xor ebx, ebx
mov dword [esi], ebx
push 0
push str.Wnd_0x_x
push 0x7f
lea ebx, [esi + 4]
mov byte [ebp - 4], 5
push ebx
mov dword [esi + 0x84], 0
call fcn.0041ba30
add esp, 0x10
cmp dword [esi + 0x84], 0
jne 0x485f9f
push 0x4fa588
push 0x7f
push ebx
call fcn.0041ba30
add esp, 0xc
push 0x1c
call fcn.004ab698
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 6
test ebx, ebx
je 0x486003
mov dword [ebx + 4], 1
lea esi, [ebx + 0xc]
mov dword [ebx], vtable.sstate::CContainerImpl_class_CStorageAdapter_.0
mov dword [ebx + 8], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 7
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044f300
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov dword [ebx], vtable.sstate::CWindowStateMgr_class_CStorageAdapter_::CImpl.0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xa
jmp 0x486005
xor ebx, ebx
push str.FSS_OPERATORAPP_WAIT_MUTEX
mov dword [esi], ebx
mov dword [edi + 0xd4], 0
push 1
mov dword [edi + 0xd8], vtable.WindowUtilites::WindowSyncHelper.0
push 0
mov dword [edi + 0xdc], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x486074
mov eax, dword [edi + 0xdc]
test eax, eax
je 0x486074
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x486074
push dword [edi + 0xdc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xdc], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [edi], vtable.Presentation::PendingCartsDlg.1.0
mov dword [edi + 0x20], vtable.Presentation::PendingCartsDlg.2.0
mov dword [edi + 0x48], vtable.Presentation::PendingCartsDlg.3.0
mov dword [edi + 0xd8], vtable.Presentation::PendingCartsDlg.0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x128], eax
lea eax, [edi + 0x138]
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov byte [edi + 0x12c], 0
mov dword [edi + 0x148], 0xffffffff
mov dword [edi + 0x14c], 0xffffffff
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0xffffffff
mov dword [edi + 0x158], 4
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov byte [edi + 0x168], 1
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov byte [edi + 0x174], 1
mov dword [edi + 0x178], 1
mov dword [edi + 0x17c], 0xffffffff
mov dword [edi + 0x180], 0xffffffff
mov byte [edi + 0x184], 0
push eax
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [edi + method.WTL::CSplitterWindowT_0_.virtual_0], vtable.WTL::CSplitterWindowT_0_.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret