Function at 0x401ef0
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e71d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x4d], 0
push ecx
push 5
push eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x44], 0x20
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x58], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x401f7c
push 0xa
lea eax, [ebp - 0x30]
mov byte [ebp - 0x4d], 1
push 0
push eax
call fcn.0042708b
add esp, 0xc
mov dword [ebp - 0x58], eax
xor edi, edi
mov eax, 0x401ee0
test esi, esi
push edi
cmovne eax, esi
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x4c]
push edi
push eax
push dword [ebp - 0x54]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x40209a
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x402159
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.00406b30
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], 0
push esi
push dword [ebp - 0x54]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x402121
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x402121
push dword [ebp - 0x5c]
add edi, ecx
push 0
push edi
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x60]
call dword [ebp - 0x64]
test al, al
je 0x4020f2
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4020bb
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x402081
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x402062
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40216f
push ecx
push esi
call fcn.0041eebc
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x401fa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ee79
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x402159
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4020e6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40216f
push ecx
push esi
call fcn.0041eebc
add esp, 8
jmp 0x402159
test esi, esi
je 0x402159
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x402115
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40216f
push ecx
push esi
call fcn.0041eebc
add esp, 8
jmp 0x402159
test esi, esi
je 0x402151
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x402144
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40216f
push ecx
push esi
call fcn.0041eebc
mov eax, dword [ebp - 0x6c]
add esp, 8
test eax, eax
je 0x40209a
cmp byte [ebp - 0x4d], 0
je 0x402168
cmp edi, dword [ebp - 0x58]
jne 0x40209a
xor eax, eax
jmp 0x4020a0
call fcn.004273ec
int3