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

Disassembly:
push 0xffffffffffffffff
push 0x47acdb
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0045cee0
mov eax, dword [0x4a3e28]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3e28]
xor eax, esp
push eax
lea eax, [esp + 0x1044]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1054]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x105c]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x1050], 1
call fcn.00401590
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebx
push 0
push 0
push 0
push 0
push str.MyDownload
mov byte [esp + 0x1060], 2
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [esp + 0x1024]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x105c]
push 0x4000000
lea ecx, [esp + 0x1028]
push ecx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [esp + 0x102c]
push edx
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
jne 0x406284
lea esi, [ebx - 0x10]
push esi
call fcn.00401590
mov edi, dword [esp + 0x1c]
add eax, 0x10
mov dword [edi], eax
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov byte [esp + 0x1050], 1
add esp, 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406224
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x1058]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x104c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40624f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x105c]
add eax, 0xfffffff0
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40627d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x406360
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x28]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4061ee
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + ecx*4 + 0x20], 0
push edx
lea ecx, [esp + 0x20]
call fcn.00401a70
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
shr esi, 1
call edi
push ebp
call edi
push esi
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x24]
call fcn.00404030
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x104c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1058]
add eax, 0xfffffff0
mov byte [esp + 0x104c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x105c]
add eax, 0xfffffff0
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40635e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x102c]
xor ecx, esp
call fcn.0045bdbc
add esp, 0x103c
ret