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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x47da81
mov eax, dword [ebp - 4]
add esp, 0xfffff4cc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2b38], ebx
mov dword [ebp - 0x2b34], ebx
mov dword [ebp - 0x2b30], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47dcf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
cmp byte [0x4bd1e8], 0
je 0x47db42
cmp dword [0x4bd1dc], 0
je 0x47db42
lea eax, [ebp - 0x10]
mov edx, dword [0x4bd1dc]
call fcn.00404f1c
cmp dword [0x4bd1e0], 0
je 0x47db0d
push dword [ebp - 0x10]
push 0x47dd0c
push dword [0x4bd1e0]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405220
push 0x80000000
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405360
push eax
push 3
lea edx, [ebp - 0x2b30]
xor eax, eax
call fcn.004b8520
mov eax, dword [ebp - 0x2b30]
call fcn.00405360
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
jmp 0x47db6b
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x2b34]
xor eax, eax
call fcn.004b8520
mov eax, dword [ebp - 0x2b34]
call fcn.00405360
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x47dc9f
push 0
push 0x80000000
push 0
push 0
mov eax, edi
call fcn.00405360
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47dc94
mov edx, esi
lea eax, [ebp - 0x2960]
call fcn.004032fc
mov edx, 1
lea eax, [ebp - 0x2960]
call fcn.0040392c
xor ebx, ebx
mov dword [ebp - 0x14], 0x2800
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x2814]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x2814]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2960]
call fcn.00403458
add ebx, dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jne 0x47dbbd
lea eax, [ebp - 0x2960]
call fcn.00403478
mov dword [ebp - 4], ebx
cmp byte [ebp + 8], 0
je 0x47dc8b
cmp dword [ebp - 4], 0
jle 0x47dc8b
xor eax, eax
push ebp
push 0x47dc81
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
lea eax, [ebp - 0x2b2c]
call fcn.004032fc
lea eax, [ebp - 0x2b2c]
call fcn.0040308c
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x2b2c]
call fcn.00403788
lea eax, [ebp - 0x2b2c]
call fcn.004037f4
mov edx, dword [ebp - 0x10]
mov eax, 0x47dd18
call fcn.004054a4
dec eax
sub eax, 2
jb 0x47dc6c
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2b2c]
call fcn.00403478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47dc8b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x47dcca
mov eax, dword [0x4bb754]
cmp byte [eax], 0
je 0x47dcca
lea edx, [ebp - 0x2b38]
mov eax, 0x47dd24
call fcn.0047727c
mov edx, dword [ebp - 0x2b38]
mov eax, dword [ebx + 0x304]
call fcn.00451744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dcf7
lea eax, [ebp - 0x2b38]
mov edx, 3
call fcn.00404ea8
lea eax, [ebp - 0x10]
call fcn.00404e84
ret