Function at 0x47dd44
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 0x47dd4d
mov eax, dword [ebp - 4]
add esp, 0xfffff684
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2980], ebx
mov dword [ebp - 0x297c], ebx
mov dword [ebp - 0x2978], ebx
mov dword [ebp - 0x2974], ebx
mov dword [ebp - 0x2970], ebx
mov dword [ebp - 0x296c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x47e082
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x47de78
lea edx, [ebp - 0x296c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
call fcn.00451714
cmp dword [ebp - 0x296c], 0
je 0x47de78
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
call fcn.00451714
lea edx, [ebp - 0x2970]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00451714
cmp dword [ebp - 0x2970], 0
je 0x47de43
push dword [ebp - 0x18]
push 0x47e0a0
lea edx, [ebp - 0x2974]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00451714
push dword [ebp - 0x2974]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405220
push 0x80000000
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405360
push eax
push 3
lea edx, [ebp - 0x2978]
xor eax, eax
call fcn.004b8520
mov eax, dword [ebp - 0x2978]
call fcn.00405360
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
jmp 0x47dea1
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x297c]
xor eax, eax
call fcn.004b8520
mov eax, dword [ebp - 0x297c]
call fcn.00405360
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47dff3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x47dfe4
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00405360
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47dfc8
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2968]
call fcn.004032fc
mov edx, 1
lea eax, [ebp - 0x2968]
call fcn.0040392c
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x2800
xor edx, edx
mov eax, ebx
call fcn.0043a6c8
mov edx, 1
mov eax, ebx
call fcn.0043a730
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp + 8]
cdq
call fcn.00405d5c
mov edx, eax
mov eax, ebx
call fcn.0043a6d4
xor edx, edx
mov eax, ebx
call fcn.0043a6e4
mov dword [ebp - 0x1c], 0x2800
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x281c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x47df76
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
call fcn.0040cdf0
push 0
lea edx, [ebp - 0x281c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2968]
call fcn.00403458
mov eax, ebx
call fcn.0043a76c
cmp byte [0x4bd1f8], 0
jne 0x47dfb1
add esi, dword [ebp - 0x1c]
mov eax, dword [0x4bb750]
mov eax, dword [eax]
call fcn.0047152c
cmp dword [ebp - 0x1c], 0
jne 0x47df45
lea eax, [ebp - 0x2968]
call fcn.00403478
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp byte [0x4bd1f8], 0
je 0x47dfe9
mov eax, dword [ebp - 8]
call fcn.00409ad4
jmp 0x47dfe9
call fcn.0040cdf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e04c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e089
lea eax, [ebp - 0x2980]
mov edx, 3
call fcn.00404ea8
lea eax, [ebp - 0x2974]
mov edx, 3
call fcn.00404ea8
lea eax, [ebp - 0x18]
call fcn.00404e84
ret