Function at 0x409124
Capabilities:
Set file attributes

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00447c40
mov dword [section..data], 0x1e00007
mov dword [section..data], 0x1e0000d
call fcn.0043f6ce
push edx
push eax
call fcn.0043fa45
mov ebx, eax
mov ebp, dword [0x63a410]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b30
lea eax, [esp + 4]
push eax
call fcn.00447b80
mov dword [section..data], 0x1e00013
mov eax, str..sqlite
push eax
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_directory
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
push dword [ebp]
push 0xffffffff
call fcn.0043f201
mov dword [esp + 4], eax
mov dword [section..data], 0x1e00019
cmp dword [esp + 4], 0
je 0x409461
mov dword [section..data], 0x1e0001f
mov dword [section..data], 0x1e00025
push dword [esp + 4]
call fcn.0043f362
mov dword [esp + 8], eax
mov dword [section..data], 0x1e00027
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b00
pop edx
push eax
push dword [esp + 0xc]
call fcn.0043f1b3
lea eax, [esp + 0x10]
push eax
call fcn.00447b80
mov dword [section..data], 0x1e0002d
mov ebx, dword [esp + 8]
cmp ebx, 1
jne 0x409441
mov dword [section..data], 0x1e00033
push edx
call fcn.00447b00
pop edx
push eax
push pe_nt_image_headers32
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_directory
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b30
mov edx, dword [esp + 0x18]
push edx
call fcn.00447b30
call fcn.0040d242
add dword [esp], edx
call sub.KERNEL32.dll_SetFileAttributesW
call fcn.0040d260
mov dword [section..data], 0x1e00039
lea ebp, [0x63a3c8]
push ebp
mov eax, str.backup_directory
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b30
mov edx, dword [esp + 0x10]
push edx
call fcn.00447b30
mov edx, 0x61d7f4
push edx
call fcn.00447b30
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b00
pop edx
push eax
push 3
push dword [esp + 0x10]
call fcn.00445790
pop eax
mov edx, 0x620c02
push edx
call fcn.00447b30
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b00
pop edx
push eax
call fcn.0043f6ce
push edx
push eax
mov eax, 0x61da84
push eax
call fcn.0043fa28
pop eax
lea eax, [esp + 0x14]
push eax
call fcn.00447b80
mov dword [section..data], 0x1e0003f
push edx
call fcn.00447b00
pop edx
push eax
push dword [esp + 0x14]
lea ebp, [0x63a3c8]
push ebp
mov eax, str.database_directory
pop ebp
push eax
push dword [ebp]
call fcn.0043dcac
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.00447b00
pop edx
push eax
push edx
call fcn.00447b30
mov edx, dword [esp + 0x18]
push edx
call fcn.00447b30
call fcn.0040d242
add dword [esp], edx
call fcn.0043f3a6
call fcn.0040d260
mov ebx, eax
lea ebp, [0x63a3c8]
push ebp
mov eax, str.file_not_copied
pop ebp
push eax
push dword [ebp + 8]
call fcn.0043dcac
mov ebp, eax
cmp ebx, dword [ebp]
je 0x409406
mov dword [section..data], 0x1e00041
push edx
call fcn.00447b00
pop edx
push eax
mov eax, str.BackupDatabase
push eax
push edx
call fcn.00447b00
pop edx
push eax
mov edx, str.The_database_tables_have_been_backed_up_to:
push edx
call fcn.00447b30
mov edx, dword [esp + 0x1c]
push edx
call fcn.00447b30
call fcn.00447bf0
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.0040d242
add dword [esp + 8], edx
call fcn.00408c10
call fcn.0040d260
mov dword [section..data], 0x1e00043
jmp 0x409437
mov dword [section..data], 0x1e00043
mov dword [section..data], 0x1e00045
mov eax, str.BackupDatabase
push eax
mov eax, str.The_database_could_not_be_backed_up__program_or_disk_error
push eax
mov eax, str.Error
push eax
mov eax, str.Headings
push eax
call fcn.00408c10
mov dword [section..data], 0x1e00047
mov dword [section..data], 0x1e0004d
mov dword [section..data], 0x1e00053
mov ebx, dword [esp + 8]
and ebx, ebx
jne 0x4091c7
mov dword [section..data], 0x1e00059
mov dword [section..data], 0x1e0005f
xor eax, eax
push dword [esp + 0xc]
call fcn.00447c10
push dword [esp + 0x10]
call fcn.00447c10
push dword [esp]
call fcn.00447c10
add esp, 0x14
pop ebx
pop ebp
ret