Function at 0x405600
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42751e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x368
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 0x33c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x360], 0
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x35c]
rep movsd dword es:[edi], dword [esi]
push 0
push 0x84000100
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
jne 0x405694
mov eax, 1
jmp 0x4058c3
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x364], 4
push 0
lea ecx, [ebp - 0x364]
push ecx
lea edx, [ebp - 0x36c]
push edx
push 0x20000005
mov eax, dword [ebp - 0x374]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4056d8
mov dword [ebp - 0x36c], 0
push 0xc9
push 0
lea ecx, [ebp - 0x338]
push ecx
call fcn.00413bb0
add esp, 0xc
lea edx, [ebp - 0x360]
push edx
push 0xc8
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x374]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40571c
mov eax, 3
jmp 0x4058c3
cmp dword [ebp - 0x360], 0
je 0x405731
cmp dword [ebp - 0x360], 0xc8
jbe 0x40573b
jmp 0x405870
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.00414110
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x338]
push ecx
call fcn.00414110
add esp, 4
lea edx, [esi + eax + 1]
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x378]
push eax
call fcn.004167a5
add esp, 4
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x405793
mov eax, 3
jmp 0x4058c3
mov ecx, dword [ebp - 0x378]
push ecx
push 0
mov edx, dword [ebp - 0x370]
push edx
call fcn.00413bb0
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x370]
push edx
call fcn.004165e0
add esp, 8
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.004165e0
add esp, 8
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.004166c8
add esp, 4
mov ecx, dword [ebp - 0x378]
push ecx
call fcn.004167a5
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x405819
mov ecx, dword [ebp - 0x370]
push ecx
call fcn.004166c8
add esp, 4
mov eax, 3
jmp 0x4058c3
mov edx, dword [ebp - 0x378]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.00413bb0
add esp, 0xc
mov edx, dword [ebp - 0x370]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.004165d0
add esp, 8
mov edx, dword [ebp - 0x370]
push edx
call fcn.004166c8
add esp, 4
jmp 0x40585c
mov dword [ebp - 4], 0xffffffff
mov eax, 1
test eax, eax
jne 0x4056d8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.00414110
add esp, 4
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x368]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.004163b3
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x360]
add edx, 1
push edx
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x368]
push ecx
call fcn.00413bb0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x33c]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret