Function at 0x401ea0
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 0x43daed
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44d010]
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 0x401f2c
push 0xa
lea eax, [ebp - 0x30]
mov byte [ebp - 0x4d], 1
push 0
push eax
call fcn.0042646b
add esp, 0xc
mov dword [ebp - 0x58], eax
xor edi, edi
mov eax, 0x401e90
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 0x40204a
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x402109
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.00406ab0
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 0x4020d1
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4020d1
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 0x4020a2
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 0x40206b
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x402031
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x402012
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40211f
push ecx
push esi
call fcn.0041e43c
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 0x401f52
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.0041e3f9
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x402109
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x402096
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40211f
push ecx
push esi
call fcn.0041e43c
add esp, 8
jmp 0x402109
test esi, esi
je 0x402109
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4020c5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40211f
push ecx
push esi
call fcn.0041e43c
add esp, 8
jmp 0x402109
test esi, esi
je 0x402101
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4020f4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40211f
push ecx
push esi
call fcn.0041e43c
mov eax, dword [ebp - 0x6c]
add esp, 8
test eax, eax
je 0x40204a
cmp byte [ebp - 0x4d], 0
je 0x402118
cmp edi, dword [ebp - 0x58]
jne 0x40204a
xor eax, eax
jmp 0x402050
call fcn.004267cc
int3