Function at 0x4b2eca
Capabilities:
Set file attributes

Disassembly:
push 0x50
mov eax, 0x57ce45
call fcn.005635af
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004b2b85
push edi
lea ecx, [ebp - 0x28]
call fcn.0053f1a0
lea eax, [esi + 0x30]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.004b404e
cmp dword [edi + 0x14], 8
jb 0x4b2f06
mov eax, dword [edi]
jmp 0x4b2f08
mov eax, edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esi + 0x70]
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4b2f24
inc dword [ecx + 4]
mov eax, dword [esi + 0x58]
mov dword [esi + 0x58], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x4b2f47
dec dword [eax + 4]
jne 0x4b2f47
mov edx, eax
test edx, edx
je 0x4b2f47
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 4]
cmp dword [esi + 0x28], ebx
jne 0x4b2f7e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0054b3f0
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.004b4542
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x41], al
mov byte [ebp - 4], bl
call fcn.00401cbf
mov al, byte [ebp - 0x41]
jmp 0x4b2f8f
push ecx
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x30]
call fcn.004b3f48
test al, al
je 0x4b30cb
mov ecx, esi
call fcn.004b2ac8
test al, al
jne 0x4b30c4
lea edi, [esi + 0x30]
push str.VACUUM
mov ecx, edi
call fcn.004b4283
mov ecx, esi
call fcn.004b2ac8
test al, al
jne 0x4b30c4
push ecx
mov ecx, dword [esi + 0x74]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x4b2fd8
add ecx, 4
call fcn.0053a5a0
lea ecx, [ebp - 0x54]
call fcn.00533899
mov ecx, eax
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea esi, [eax + 0x10]
test eax, eax
jne 0x4b2ff3
mov esi, ebx
cmp dword [edi], 0
je 0x4b3003
push dword [edi]
call fcn.004f5e20
pop ecx
mov dword [ebp - 0x48], eax
push 0x597714
push ecx
mov ecx, edi
call fcn.004b452b
push eax
push ecx
push str.__Message
mov ecx, edi
call fcn.004b44f6
push eax
push str.__ErrorNO_
push dword [ebp - 0x48]
push str._INTERGRITY_CHECK__DATABASE__Failed__Code_
push ecx
push str._Error
push ecx
push 0x5976c0
push 0xdb
push 0x5918cc
push ecx
push str.database_manager.cpp
push ecx
push str.___:
push esi
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e4f
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
jmp 0x4b31f2
mov bl, 1
jmp 0x4b3201
push ecx
mov ecx, dword [esi + 0x74]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x4b30df
add ecx, 4
call fcn.0053a5a0
lea ecx, [ebp - 0x5c]
call fcn.00533899
mov ecx, eax
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x4b30fd
lea ecx, [eax + 0x10]
mov dword [ebp - 0x4c], ecx
jmp 0x4b3100
mov dword [ebp - 0x4c], ebx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b3111
push eax
call fcn.004f5e20
pop ecx
mov dword [ebp - 0x48], eax
push str._OPEN_DATABASE__
push ecx
push str._Error
push ecx
push 0x5976c0
push 0xe4
push 0x5918cc
push ecx
push str.database_manager.cpp
push ecx
push str.___:
push dword [ebp - 0x4c]
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
cmp dword [edi + 0x14], 8
pop ecx
pop ecx
jb 0x4b317e
mov edi, dword [edi]
push edi
push eax
call fcn.0053dc00
mov edi, dword [ebp - 0x50]
mov esi, eax
pop ecx
pop ecx
push 0x597714
push ecx
mov ecx, edi
call fcn.004b452b
push eax
push ecx
push str.__Message_
mov ecx, edi
call fcn.004b44f6
push eax
push str.__ErrorNO_
push dword [ebp - 0x48]
push str.__Failed__Code_
push esi
call fcn.00409e4f
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e4f
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00533905
mov ecx, edi
call fcn.004b404e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0053f210
mov al, bl
call fcn.0056355e
ret 4