Function at 0x401c50
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1120
call fcn.00415520
mov dword [ebp - 0x10fc], 0
push str.http:__dnanzk.cn_index_index_id9
lea ecx, [ebp - 0x10dc]
call fcn.00403070
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push str.Download
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x10c0], eax
cmp dword [ebp - 0x10c0], 0
jne 0x401d00
push str.Failed_to_initialize_WinINet.
push 0x4229d0
call fcn.00406650
add esp, 8
mov dword [ebp - 0x10f4], eax
push 0xa
mov ecx, dword [ebp - 0x10f4]
call fcn.00402580
mov ecx, dword [ebp - 0x10f4]
call fcn.004029c0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x10dc]
call fcn.00404ac0
jmp 0x401f59
cmp dword [ebp - 0x10c8], 8
jb 0x401d17
mov eax, dword [ebp - 0x10dc]
mov dword [ebp - 0x112c], eax
jmp 0x401d23
lea ecx, [ebp - 0x10dc]
mov dword [ebp - 0x112c], ecx
push 0
push 0x84000100
push 0
push 0
mov edx, dword [ebp - 0x112c]
push edx
mov eax, dword [ebp - 0x10c0]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x401da9
push str.Failed_to_open_URL.
push 0x4229d0
call fcn.00406650
add esp, 8
mov dword [ebp - 0x10f8], eax
push 0xa
mov ecx, dword [ebp - 0x10f8]
call fcn.00402580
mov ecx, dword [ebp - 0x10f8]
call fcn.004029c0
mov ecx, dword [ebp - 0x10c0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x10dc]
call fcn.00404ac0
jmp 0x401f59
push 1
push 0x40
push 0x20
push 0x41e274
lea ecx, [ebp - 0xb4]
call fcn.00403110
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0xa8]
mov dword [ebp - 0x1108], ecx
mov edx, dword [ebp - 0x1108]
and edx, 6
neg edx
sbb edx, edx
neg edx
movzx eax, dl
test eax, eax
je 0x401e68
push str.Failed_to_open_file_for_writing.
push 0x4229d0
call fcn.00406650
add esp, 8
mov dword [ebp - 0x110c], eax
push 0xa
mov ecx, dword [ebp - 0x110c]
call fcn.00402580
mov ecx, dword [ebp - 0x110c]
call fcn.004029c0
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x10c0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403300
lea ecx, [ebp - 0x54]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x10dc]
call fcn.00404ac0
jmp 0x401f59
mov dword [ebp - 0xbc], 0x1000
lea eax, [ebp - 0x10e0]
push eax
push 0x1000
lea ecx, [ebp - 0x10bc]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401ebd
cmp dword [ebp - 0x10e0], 0
jbe 0x401ebd
mov eax, dword [ebp - 0x10e0]
xor ecx, ecx
push ecx
push eax
lea edx, [ebp - 0x10bc]
push edx
lea ecx, [ebp - 0xb4]
call fcn.004027a0
jmp 0x401e72
lea ecx, [ebp - 0xb0]
call fcn.00404c50
test eax, eax
jne 0x401ee5
push 0
push 2
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xb4]
call fcn.00402ae0
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10c0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.File_downloaded_and_saved_successfully.
push 0x4228f8
call fcn.00406650
add esp, 8
mov dword [ebp - 0x1124], eax
push 0xa
mov ecx, dword [ebp - 0x1124]
call fcn.00402580
mov ecx, dword [ebp - 0x1124]
call fcn.004029c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403300
lea ecx, [ebp - 0x54]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x10dc]
call fcn.00404ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret