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

Disassembly:
push 0xffffffffffffffff
push 0x4a8908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x2c], 4
call fcn.00457cf0
test eax, eax
jne 0x45b671
push 0x4c9c44
push 0x4c2858
lea ecx, [esp + 0x4c]
call fcn.00498394
push 0x4c9c44
push 0x4c2844
lea ecx, [esp + 0x4c]
call fcn.00498394
mov eax, dword [0x4cd448]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x14]
push ecx
push str.Download_s.tmp
push edx
mov byte [esp + 0x38], 5
call fcn.004989ae
mov eax, dword [0x4cd448]
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x18]
mov ebx, 6
push str._sDownload_s.tmp
push eax
mov byte [esp + 0x3c], bl
call fcn.004989ae
mov eax, dword [esp + 0x60]
xor edi, edi
push edi
push eax
mov ebp, eax
call fcn.004888ab
add esp, 0x18
cmp eax, 0xffffffff
jne 0x45b62e
cmp edi, 2
je 0x45b64a
push 0x14
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebp
call fcn.004888ab
add esp, 8
cmp eax, 0xffffffff
je 0x45b610
mov edi, dword [esp + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.00457cf0
test eax, eax
je 0x45b6c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.0049da16
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0049da16
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 3
call fcn.0049da16
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c], 2
call fcn.0049da16
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 1
call fcn.0049da16
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c], 0
call fcn.0049da16
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0049da16
xor eax, eax
jmp 0x45b98c
mov ecx, dword [esp + 0x48]
cmp dword [ecx], 0
je 0x45b7ab
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 4]
push edx
push str.1_Ftp_DownloadFile__s...
push eax
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.0049d78b
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x38], 7
call fcn.0049d78b
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x3c], 8
call fcn.0049d78b
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x40], 9
call fcn.0049d78b
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x44], bl
call fcn.0045b9b0
mov edi, eax
test edi, edi
jne 0x45b91d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 4]
push eax
push str.1_Ftp_Faile._Try_Http_DownloadFile__s...
push ecx
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.0049d78b
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x38], 0xa
call fcn.0049d78b
push ecx
mov byte [esp + 0x38], 0xb
mov ecx, esp
mov dword [esp + 0x40], esp
jmp 0x45b7f9
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 4]
push eax
push str.1_Http_DownloadFile__s...
push ecx
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.0049d78b
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x38], 0xc
call fcn.0049d78b
push ecx
mov byte [esp + 0x38], 0xd
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x1c]
push edx
call fcn.0049d78b
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.0045bdd0
mov edi, eax
test edi, edi
jne 0x45b91d
mov ecx, esi
call fcn.00457cf0
test eax, eax
jne 0x45b91d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 4]
push eax
push str.Select_Try_Download__s...
push ecx
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0x10
lea edx, [esp + 0x38]
push 0x4a
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov ebp, dword [eax]
lea eax, [esp + 0x48]
push edi
push eax
mov byte [esp + 0x34], 0xe
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push 4
push eax
push ebp
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x48]
mov ebp, eax
call fcn.0049da16
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], bl
call fcn.0049da16
cmp ebp, ebx
jne 0x45b91d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 4]
push ecx
push str.Try_Download__s...
push edx
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 4]
add esp, 0x10
push eax
push str.2_Http_DownloadFile__s...
push ecx
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0049d78b
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 0x14
call fcn.0049d78b
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x3c], 0x15
call fcn.0049d78b
mov ecx, esi
mov byte [esp + 0x38], bl
call fcn.0045bdd0
mov edi, eax
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.0049da16
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0049da16
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 3
call fcn.0049da16
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c], 2
call fcn.0049da16
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 1
call fcn.0049da16
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c], 0
call fcn.0049da16
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0049da16
mov eax, edi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x20