Function at 0x405880
Capabilities:
Create http request
Download and write a file
Get number of processors
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 0xffffffffffffffff
push 0x44250b
mov eax, dword fs:[0]
push eax
mov eax, 0xc374
call fcn.0042db80
mov eax, dword [0x45a9a0]
xor eax, esp
mov dword [esp + 0xc370], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a9a0]
xor eax, esp
push eax
lea eax, [esp + 0xc388]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc398]
mov edx, dword [esp + 0xc3a4]
mov ebp, dword [esp + 0xc39c]
xor ebx, ebx
push 0xc34f
mov dword [esp + 0x1c], eax
mov esi, ecx
mov ecx, dword [esp + 0xc3a4]
lea eax, [esp + 0x39]
push ebx
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x40], bl
call fcn.0042c9b0
add esp, 0xc
push 0x44713c
lea ecx, [esp + 0x18]
call fcn.004042a0
push ebx
push ebx
push ebx
push ebx
push str.totalvaccine_down
mov dword [esp + 0xc3a4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x2c], edi
je 0x405ab6
cmp edi, 0xffffffff
je 0x405ab6
mov ebp, dword [ebp]
push ebx
push SysReAllocString
push ebx
push ebx
push ebp
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, eax
cmp ebp, ebx
je 0x405aaf
cmp ebp, 0xffffffff
je 0x405aaf
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x18], eax
jmp 0x4059a0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp dword [esp + 0xc3a8], 0
je 0x4059fc
mov eax, 0x10624dd3
mul dword [esp + 0x1c]
shr edx, 6
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x10c]
push 0
push 0
push 0x408
push ecx
call edi
mov edx, dword [esp + 0x1c]
push 0
add eax, edx
push eax
mov eax, dword [esi + 0x10c]
push 0x402
push eax
call edi
mov ecx, dword [esi + 0x10c]
push 0
push 0
push 0x408
push ecx
call edi
imul eax, eax, 0x64
mov ecx, dword [esp + 0x28]
cdq
idiv dword [ecx]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [edx]
push eax
push 0x447494
push ecx
call fcn.004031d0
mov edx, dword [esp + 0x24]
add esp, 0x10
push edx
push 0x3ef
mov ecx, esi
call fcn.00410905
mov eax, dword [esi + 0x10c]
push 1
push 0
push eax
call ebx
cmp dword [esp + 0x20], 0
jne 0x4059a0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00401940
mov eax, 1
jmp 0x405adf
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0xc390], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405add
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc370]
xor ecx, esp
call fcn.0042cd95
add esp, 0xc380
ret 0x14