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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43512e
push eax
mov eax, 0x10f0
mov dword fs:[0], esp
call fcn.0041bbf0
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x14], ebx
mov edi, 8
push edi
mov dword [esp + 0x110c], ebx
call fcn.0040e600
add esp, 4
cmp eax, ebx
je 0x401ec3
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x3f]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00405bd0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x20]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x1108], 1
xor edx, edx
mov esi, 7
push 0x1f
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.00404c50
push ebx
push ebx
push ebx
push ebx
push str.Download
mov dword [esp + 0x111c], 2
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
cmp ebp, ebx
jne 0x401d05
mov dword [esp + 0x1108], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x401cd3
mov eax, dword [esp + 0x18]
push eax
call fcn.0040cba0
add esp, 4
mov dword [esp + 0x2c], esi
xor ecx, ecx
lea edx, [esp + 0x14]
mov word [esp + 0x18], cx
push edx
mov dword [esp + 0x2c], ebx
call fcn.00404060
mov ecx, dword [esp + 0x1100]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10fc
ret
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x401d13
lea eax, [esp + 0x18]
push ebx
push 0x84000100
push ebx
push ebx
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
cmp esi, ebx
jne 0x401d5b
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x1108], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x401d4e
mov eax, dword [esp + 0x18]
push eax
call fcn.0040cba0
add esp, 4
mov dword [esp + 0x2c], 7
jmp 0x401cd7
lea eax, [esp + 0x54]
push eax
call fcn.00402c30
mov byte [esp + 0x1108], 3
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x60], 6
je 0x401ded
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1108], 2
call fcn.00402d80
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0xb8], vtable.std::ios_base.0
call fcn.004061e0
add esp, 4
mov dword [esp + 0x1108], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x401dd4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040cba0
add esp, 4
xor edx, edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], dx
push eax
jmp 0x401ce3
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x38]
push ecx
push 0x1000
lea edx, [esp + 0x104]
push edx
push esi
call edi
test eax, eax
je 0x401e45
lea esp, [esp]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jbe 0x401e45
push ebx
push eax
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00402720
lea edx, [esp + 0x38]
push edx
push 0x1000
lea eax, [esp + 0x104]
push eax
push esi
call edi
test eax, eax
jne 0x401e10
lea ecx, [esp + 0x58]
call fcn.00404260
test eax, eax
jne 0x401e73
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x60]
lea ecx, [esp + ecx + 0x54]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x401e6c
or eax, 4
push ebx
push eax
call fcn.00401900
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1108], 2
call fcn.00402d80
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0xb8], vtable.std::ios_base.0
call fcn.004061e0
add esp, 4
mov dword [esp + 0x1108], 0xffffffff
cmp dword [esp + 0x2c], 8
jmp 0x401d3f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], ebx
call fcn.00407970
push 0x4439b8
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], vtable.std::bad_alloc.0
call fcn.0040f520
int3