Function at 0x40dd20
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5430eb
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5a574c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00432f53
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40dd6c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x114], eax
push 0x5a6c50
lea ecx, [ebp - 0x114]
push str._supdatelist
push ecx
mov dword [ebp - 4], ebx
call fcn.004016f0
mov edi, dword [ebp - 0x114]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Download_daftar_update...
push esi
call fcn.00409320
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
xor edi, edi
jmp 0x40dde0
push str.Download_daftar_update...
push esi
call fcn.00409320
add esp, 8
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov ecx, esi
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ebx
call fcn.00408e10
test al, al
jne 0x40df6d
push str.Failed_to_download._Trying_again
push esi
call fcn.00409320
inc edi
add esp, 8
cmp edi, 5
jge 0x40de42
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 5
jl 0x40dde0
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov ecx, dword [0x5a6c44]
add esi, 5
push esi
push edx
push eax
push str.Cannot_Download_Updatelist
push 0x13
call fcn.00407190
mov ecx, dword [0x5a6c44]
call fcn.00407280
mov ecx, dword [0x5a6c44]
test al, al
je 0x40deeb
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x108]
call eax
mov ecx, dword [0x5a6c44]
cmp ecx, ebx
je 0x40de9d
call fcn.004085d0
mov ecx, dword [0x5a6c44]
mov ecx, dword [ecx + 0x24]
push ecx
push str.Failed_to_receive_update_list_due_to_unstable_network_connection.
lea edx, [ebp - 0x110]
push str._s__d_
push edx
call fcn.00525791
mov eax, dword [0x5a6c44]
mov eax, dword [eax + 4]
add esp, 0x10
cmp eax, ebx
jne 0x40ded8
push 0x30
push str.Notice
lea ecx, [ebp - 0x110]
xor eax, eax
push ecx
jmp 0x40df39
mov eax, dword [eax + 0x20]
push 0x30
push str.Notice
lea ecx, [ebp - 0x110]
push ecx
jmp 0x40df39
cmp ecx, ebx
je 0x40defa
call fcn.004085d0
mov ecx, dword [0x5a6c44]
mov edx, dword [ecx + 0x24]
push edx
push str.fail_to_download_update_file
lea eax, [ebp - 0x110]
push str._s__d_
push eax
call fcn.00525791
mov ecx, dword [0x5a6c44]
mov eax, dword [ecx + 4]
add esp, 0x10
cmp eax, ebx
jne 0x40df28
xor eax, eax
jmp 0x40df2b
mov eax, dword [eax + 0x20]
push 0x30
push str.Notice
lea edx, [ebp - 0x110]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40dfa9
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, esi
call fcn.0040d790
movzx esi, al
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dfa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525222
mov esp, ebp
pop ebp
ret