Function at 0x40dc90
Capabilities:
Set file attributes

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043bfb0
push esp
push 0x6a
call fcn.0043caf0
add esp, 8
mov dword [0x5ae0bc], 0x1f00007
push 0x1f00006
call fcn.00414619
mov dword [0x5ae0bc], 0x1f0000f
push 0x1f0000e
call fcn.00414619
call fcn.00429940
push eax
call fcn.00429bff
mov ebx, eax
mov eax, ebx
mov edx, dword [0x5ae08c]
mov edx, dword [edx - 8]
call fcn.004146df
mov ebp, dword [0x5ae08c]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043be20
lea eax, [esp + 0x14]
push eax
call fcn.0043be80
mov dword [0x5ae0bc], 0x1f00015
push 0x1f00014
call fcn.00414619
mov eax, str..sqlite
push eax
lea ebp, [0x5db0bc]
push ebp
mov eax, str.database_directory
pop ebp
push eax
push dword [ebp]
call fcn.00414703
call fcn.00427a02
mov ebp, eax
push dword [ebp]
push 0xffffffff
call fcn.004291a1
call fcn.00429283
mov dword [esp + 0xc], eax
mov dword [0x5ae0bc], 0x1f0001b
push 0x1f0001a
call fcn.00414619
cmp dword [esp + 0xc], 0
je 0x40e0ec
mov dword [0x5ae0bc], 0x1f00021
push 0x1f00020
call fcn.00414619
mov dword [0x5ae0bc], 0x1f00027
push 0x1f00026
call fcn.00414619
push dword [esp + 0xc]
call fcn.00429206
call fcn.004293e2
mov dword [esp + 4], eax
mov dword [0x5ae0bc], 0x1f00029
push 0x1f00028
call fcn.00414619
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043bde0
pop edx
push eax
push dword [esp + 0x14]
call fcn.0042916c
call fcn.00429235
lea eax, [esp + 0xc]
push eax
call fcn.0043be80
mov dword [0x5ae0bc], 0x1f0002f
push 0x1f0002e
call fcn.00414619
mov ebx, dword [esp + 4]
cmp ebx, 1
jne 0x40e0b8
mov dword [0x5ae0bc], 0x1f00035
push 0x1f00034
call fcn.00414619
push edx
call fcn.0043bde0
pop edx
push eax
push pe_nt_image_headers32
lea ebp, [0x5db0bc]
push ebp
mov eax, str.database_directory
pop ebp
push eax
push dword [ebp]
call fcn.00414703
call fcn.00427a02
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043be20
mov edx, dword [esp + 0x14]
push edx
call fcn.0043be20
call fcn.00415222
add dword [esp], edx
call sub.KERNEL32.dll_SetFileAttributesW
push 0x1f00034
call fcn.0041476c
call fcn.00415240
mov dword [0x5ae0bc], 0x1f0003b
push 0x1f0003a
call fcn.00414619
lea ebp, [0x5db0bc]
push ebp
mov eax, str.backup_directory
pop ebp
push eax
push dword [ebp]
call fcn.00414703
call fcn.00427a02
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043be20
mov edx, dword [esp + 0xc]
push edx
call fcn.0043be20
mov edx, 0x5af550
push edx
call fcn.0043be20
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043bde0
pop edx
push eax
push 3
push dword [esp + 0x20]
call fcn.00439560
pop eax
mov edx, 0x5b2924
push edx
call fcn.0043be20
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043bde0
pop edx
push eax
call fcn.00429940
push eax
mov eax, 0x5af750
push eax
call fcn.00429be6
pop eax
lea eax, [esp + 4]
push eax
call fcn.0043be80
mov dword [0x5ae0bc], 0x1f00041
push 0x1f00040
call fcn.00414619
push edx
call fcn.0043bde0
pop edx
push eax
push dword [esp + 4]
lea ebp, [0x5db0bc]
push ebp
mov eax, str.database_directory
pop ebp
push eax
push dword [ebp]
call fcn.00414703
call fcn.00427a02
mov ebp, eax
mov edx, dword [ebp]
push edx
call fcn.0043bde0
pop edx
push eax
push edx
call fcn.0043be20
mov edx, dword [esp + 0x14]
push edx
call fcn.0043be20
call fcn.00415222
add dword [esp], edx
call fcn.00429126
call fcn.00429426
call fcn.00415240
mov ebx, eax
lea ebp, [0x5db0bc]
push ebp
mov eax, str.file_not_copied
pop ebp
push eax
push dword [ebp + 8]
call fcn.00414703
call fcn.00427a02
mov ebp, eax
cmp ebx, dword [ebp]
je 0x40e055
mov dword [0x5ae0bc], 0x1f00043
push 0x1f00042
call fcn.00414619
push edx
call fcn.0043bde0
pop edx
push eax
mov eax, 0x5b22dc
push eax
push edx
call fcn.0043bde0
pop edx
push eax
mov edx, str.The_database_tables_have_been_backed_up_to:
push edx
call fcn.0043be20
mov edx, dword [esp + 0xc]
push edx
call fcn.0043be20
call fcn.0043bf10
mov eax, str.Info
push eax
mov eax, str.Headings
push eax
call fcn.00415222
add dword [esp + 8], edx
call fcn.0040d393
push 0x1f00042
call fcn.0041476c
call fcn.00415240
mov dword [0x5ae0bc], 0x1f00045
push 0x1f00044
call fcn.00414619
jmp 0x40e0a4
mov dword [0x5ae0bc], 0x1f00045
push 0x1f00044
call fcn.00414619
mov dword [0x5ae0bc], 0x1f00047
push 0x1f00046
call fcn.00414619
mov eax, 0x5b22dc
push eax
mov eax, str.The_database_could_not_be_backed_up__program_or_disk_error
push eax
mov eax, 0x5b37e6
push eax
mov eax, str.Headings
push eax
call fcn.0040d393
push 0x1f00046
call fcn.0041476c
mov dword [0x5ae0bc], 0x1f00049
push 0x1f00048
call fcn.00414619
mov dword [0x5ae0bc], 0x1f0004f
push 0x1f0004e
call fcn.00414619
mov dword [0x5ae0bc], 0x1f00055
push 0x1f00054
call fcn.00414619
mov ebx, dword [esp + 4]
and ebx, ebx
jne 0x40dd82
mov dword [0x5ae0bc], 0x1f0005b
push 0x1f0005a
call fcn.00414619
mov dword [0x5ae0bc], 0x1f00061
push 0x1f00060
call fcn.00414619
xor eax, eax
push edx
push eax
call fcn.0043ccc0
pop eax
push dword [esp + 0xc]
call fcn.0043bf40
push dword [esp + 4]
call fcn.0043bf40
push dword [esp + 0x14]
call fcn.0043bf40
pop edx
add esp, 0x14
pop ebx
pop ebp
ret