Function at 0x4434b0
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c020
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4f1d14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401055
mov dword [ebp - 4], 0
push str.package_list.ini
lea ecx, [ebp - 0x40]
call fcn.00401055
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040182f
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov byte [ebp - 0x29], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00401a3c
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x4435b5
push 0x49738c
lea ecx, [ebp - 0x54]
call fcn.00401da7
mov byte [ebp - 4], 2
push 0x491f68
lea ecx, [ebp - 0x68]
call fcn.00401da7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x20]
call fcn.00402388
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00401a3c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00401a3c
lea ecx, [ebp - 0x20]
call fcn.0040136b
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test eax, eax
jne 0x4435b5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
je 0x4435b5
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040136b
push eax
push str.ERROR:_DeleteUrlCacheEntry__s__failed_prior_to_download__error_d__n
push 1
call fcn.0040242d
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
push 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx + 0x10]
test edx, edx
je 0x44360e
mov eax, dword [ebp + 0x10]
push eax
push str.Download_cancelled_for__s
push 1
call fcn.0040242d
add esp, 0xc
mov dword [ebp - 0x6c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401a3c
mov eax, dword [ebp - 0x6c]
jmp 0x44384e
cmp dword [ebp - 0x24], 0
jge 0x443835
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.ERROR:_URLDownloadToFile__s__s__failed__hr0x_08X__n
push 1
call fcn.0040242d
add esp, 0x14
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x800c0007
jg 0x443679
cmp dword [ebp - 0x84], 0x800c0006
jge 0x4436b7
cmp dword [ebp - 0x84], 0x800c0002
jl 0x4437a9
cmp dword [ebp - 0x84], 0x800c0005
jle 0x443718
jmp 0x4437a9
cmp dword [ebp - 0x84], 0x800c0300
je 0x44368a
jmp 0x4437a9
push str.INET_E_CANNOT_REPLACE_SFP_FILE_____DWNLDERR_WRITE_FAILED
push 1
call fcn.0040242d
add esp, 8
mov dword [ebp - 0x70], 6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401a3c
mov eax, dword [ebp - 0x70]
jmp 0x44384e
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x88], edx
cmp dword [ebp - 0x88], 0x800c0006
je 0x4436da
cmp dword [ebp - 0x88], 0x800c0007
je 0x4436eb
jmp 0x4436fa
push str.INET_E_OBJECT_NOT_FOUND_____DWNLDERR_FILE_NOT_FOUND_n
push 1
call fcn.0040242d
add esp, 8
jmp 0x4436fa
push str.INET_E_DATA_NOT_AVAILABLE_____DWNLDERR_FILE_NOT_FOUND_n
push 1
call fcn.0040242d
add esp, 8
mov dword [ebp - 0x74], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401a3c
mov eax, dword [ebp - 0x74]
jmp 0x44384e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x7ff3fffe
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 3
ja case.default.0x443742
mov edx, dword [ebp - 0x8c]
jmp dword [edx*4 + 0x443860]
push str.INET_E_INVALID_URL_____DWNLDERR_DOWN_FOR_MAINT_n
push 1
call fcn.0040242d
add esp, 8
jmp case.default.0x443742
push str.INET_E_NO_SESSION_____DWNLDERR_DOWN_FOR_MAINT_n
push 1
call fcn.0040242d
add esp, 8
jmp case.default.0x443742
push str.INET_E_CANNOT_CONNECT_____DWNLDERR_DOWN_FOR_MAINT_n
push 1
call fcn.0040242d
add esp, 8
jmp case.default.0x443742
push str.INET_E_RESOURCE_NOT_FOUND_____DWNLDERR_DOWN_FOR_MAINT_n
push 1
call fcn.0040242d
add esp, 8
mov dword [ebp - 0x78], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401a3c
mov eax, dword [ebp - 0x78]
jmp 0x44384e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x800c0008
je 0x4437d8
cmp dword [ebp - 0x90], 0x800c000b
je 0x4437e9
cmp dword [ebp - 0x90], 0x800c0100
je 0x4437fa
jmp 0x44380b
push str.INET_E_DOWNLOAD_FAILURE_____DWNLDERR_COMMUNICATION_ERROR_n
push 1
call fcn.0040242d
add esp, 8
jmp 0x44381a
push str.INET_E_CONNECTION_TIMEOUT_____DWNLDERR_COMMUNICATION_ERROR_n
push 1
call fcn.0040242d
add esp, 8
jmp 0x44381a
push str.INET_E_CODE_DOWNLOAD_DECLINED_____DWNLDERR_COMMUNICATION_ERROR_n
push 1
call fcn.0040242d
add esp, 8
jmp 0x44381a
push str.Unknown_Error_____DWNLDERR_COMMUNICATION_ERROR_n
push 1
call fcn.0040242d
add esp, 8
mov dword [ebp - 0x7c], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401a3c
mov eax, dword [ebp - 0x7c]
jmp 0x44384e
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401a3c
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret