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

Disassembly:
push 0xffffffffffffffff
push 0x46548b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x484ea8]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484ea8]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x250]
mov esi, dword [esp + 0x24c]
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push str.User_Agent
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x30], ebx
push ebp
jne 0x40daa5
push 0x46dab4
push 0x46daa0
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40dc62
push 0x84000000
push ebp
push ebp
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x2c], esi
jne 0x40dade
push ebp
push 0x46dab4
push str.Internet_open_url_failed_
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x40dc62
push 0x200
lea ecx, [esp + 0x3c]
push ebp
push ecx
call fcn.004498a0
add esp, 0xc
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x14]
push edx
push 0x200
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x254], ebp
mov dword [esp + 0x24], ebp
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40dc41
mov ebp, dword [esp + 0x34]
lea ebx, [esp + 0x1c]
mov esi, dword [esp + 0x24]
add dword [esp + 0x18], eax
cmp dword [esp + 0x20], esi
jbe 0x40db4b
call fcn.0044a722
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + eax + 0x3c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push ebx
lea ecx, [esp + 0x30]
call fcn.0040c770
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push 0x200
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x24], 0
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40db34
cmp dword [esp + 0x18], eax
jle 0x40dc37
mov esi, dword [esp + 0x18]
add esi, 1
push esi
call fcn.004202aa
mov edi, eax
mov eax, dword [esp + 0x38]
push esi
push 0
push edi
mov dword [eax], edi
call fcn.004498a0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp edx, eax
jbe 0x40dbcb
call fcn.0044a722
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
xor esi, esi
lea ecx, [ecx]
test edx, edx
je 0x40dbf8
mov ecx, eax
sub ecx, edx
cmp esi, ecx
jae 0x40dbf8
push esi
lea ecx, [esp + 0x20]
call fcn.0040d020
mov cl, byte [eax]
mov byte [esi + edi], cl
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esi, 1
jmp 0x40dbd0
cmp edx, eax
mov edi, eax
jbe 0x40dc0b
call fcn.0044a722
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp edx, eax
mov esi, edx
jbe 0x40dc1a
call fcn.0044a722
mov eax, dword [esp + 0x24]
cmp esi, edi
je 0x40dc37
sub eax, edi
test eax, eax
lea ebx, [eax + esi]
jle 0x40dc33
push eax
push edi
push eax
push esi
call fcn.00448e03
add esp, 0x10
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x40dc5e
push eax
call fcn.004202af
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00448c24
add esp, 0x234
ret