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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff030
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1fd0], ebx
mov dword [ebp - 0x1fcc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.00405390
xor eax, eax
push ebp
push 0x46f120
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004053a0
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x1388
push 4
lea eax, [ebp - 0x2c]
push eax
push 2
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x2c]
push eax
push 6
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x2c]
push eax
push 5
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x2c]
push eax
push 8
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp dword [ebp - 0x24], 0
je 0x46f0f5
xor eax, eax
push ebp
push 0x46f0ee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004053a0
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x46ef89
call fcn.00404a04
jmp 0x46f0f5
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x46f0d0
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x46efc8
lea ecx, [ebp - 0x1fcc]
mov edx, 0x16
mov eax, dword [ebp - 0x28]
call fcn.0046ede4
mov edx, dword [ebp - 0x1fcc]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call fcn.0046ee8c
push 0
push 0
lea ecx, [ebp - 0x1fd0]
mov edx, 5
mov eax, dword [ebp - 0x28]
call fcn.0046ede4
mov eax, dword [ebp - 0x1fd0]
call fcn.0046edb0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
mov edx, 0x13
mov eax, dword [ebp - 0x28]
call fcn.0046ede4
mov eax, dword [ebp - 8]
mov edx, 0x46f13c
call fcn.00405338
jne 0x46f015
mov dword [ebp - 0x14], 0xc8
jmp 0x46f06a
mov eax, dword [ebp - 8]
mov edx, 0x46f148
call fcn.00405338
jne 0x46f02d
mov dword [ebp - 0x14], 0x191
jmp 0x46f06a
mov eax, dword [ebp - 8]
mov edx, 0x46f154
call fcn.00405338
jne 0x46f045
mov dword [ebp - 0x14], 0x194
jmp 0x46f06a
mov eax, dword [ebp - 8]
mov edx, 0x46f160
call fcn.00405338
jne 0x46f05d
mov dword [ebp - 0x14], 0x1f4
jmp 0x46f06a
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0046ed98
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0x1f9c
lea eax, [ebp - 0x1fc8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x1c], 0
jbe 0x46f0b3
lea edx, [ebp - 0x1fc8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x10]
add ebx, dword [ebp - 0x1c]
test esi, esi
je 0x46f0b3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
call esi
test al, al
je 0x46f0b9
cmp dword [ebp - 0x1c], 0
jne 0x46f06a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f0d7
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f127
lea eax, [ebp - 0x1fd0]
mov edx, 2
call fcn.00404f34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f34
ret