Function at 0x4461d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push str.OYAZIVIEWER_FOLD_MUTEX
push 0
push 0x1f0001
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
test eax, eax
jne 0x446272
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x3703
push 0x5ada04
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
mov eax, 0x270f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 8
lea eax, [edi + 0x3000]
push esi
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_open16]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4463b2
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_exec]
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push str.CREATE_TABLE_IF_NOT_EXISTS_folderTable__path_TEXT_PRIMARY_KEY_NOT_NULL_lastDate_INTEGER_lastTime_INTEGER_title_TEXT_author_TEXT_updateCount_INTEGER_groupId_INTEGER_
push dword [esi]
call edi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4462d2
mov esi, dword [ebp - 8]
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x3704
jmp 0x446382
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.CREATE_TABLE_IF_NOT_EXISTS_folderSubTable__id_INTEGER_PRIMARY_KEY_AUTOINCREMENT_path_TEXT_NOT_NULL_rootPath_TEXT_NOT_NULL_title_TEXT_updateCount_INTEGER_charSelect_INTEGER_buffSize_INTEGER_buffPositionA_INTEGER_buffPositionB_INTEGER_
push dword [esi]
call edi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x446304
mov esi, dword [ebp - 8]
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x3705
jmp 0x446382
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.CREATE_TABLE_IF_NOT_EXISTS_groupTable__groupId_INTEGER_PRIMARY_KEY_AUTOINCREMENT_groupDesc_TEXT_
push dword [esi]
call edi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x446336
mov esi, dword [ebp - 8]
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x3718
jmp 0x446382
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.ALTER_TABLE_folderTable_ADD_COLUMN_groupId_INTEGER
push dword [esi]
call edi
add esp, 0x14
test eax, eax
je 0x446352
xor ebx, ebx
jmp 0x4463b2
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.UPDATE_folderTable_SET_groupId__1__
push dword [esi]
call edi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4463b2
mov esi, dword [ebp - 8]
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x3753
push esi
push str._s_Place_d_LastCode_d
mov edi, eax
push 0x3e8
push edi
call fcn.00407340
add esp, 0x18
push 0x30
push 0x5aa224
push edi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00560853
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8