Function at 0x47a824
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404674
mov eax, dword [ebp - 8]
call fcn.00404674
mov eax, dword [ebp + 0xc]
call fcn.00404674
xor eax, eax
push ebp
push 0x47ac7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x14]
call fcn.004041c4
mov eax, dword [ebx + 0x10]
call fcn.0041be50
push 0
push 0
mov eax, dword [ebx + 0x10]
call fcn.0041b6fc
push 0
push 0
push 0
push 1
push 0x47ac90
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47a8c7
mov eax, edi
mov edx, 0x47aca4
call fcn.00404218
lea eax, [ebx + 0x1c]
mov edx, 0x47aca4
call fcn.00404218
jmp 0x47ac42
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 4]
call fcn.00404684
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47a918
mov eax, edi
mov edx, 0x47aca4
call fcn.00404218
lea eax, [ebx + 0x1c]
mov edx, 0x47aca4
call fcn.00404218
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0047a7fc
jmp 0x47ac42
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404684
push eax
push 0x47acac
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov esi, eax
test esi, esi
jne 0x47a96d
mov eax, edi
mov edx, 0x47aca4
call fcn.00404218
lea eax, [ebx + 0x1c]
mov edx, 0x47aca4
call fcn.00404218
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0047a7fc
jmp 0x47ac42
mov eax, dword [ebx + 0x20]
call fcn.00404484
test eax, eax
jne 0x47a9a2
push 0x47acbc
push dword [ebx + 8]
push 0x47ad54
push dword [ebx + 0xc]
push 0x47ad60
push 0x47ad6c
lea eax, [ebp - 0x14]
mov edx, 6
call fcn.00404544
jmp 0x47a9e1
push 0x47ad8c
push dword [ebx + 0x24]
push 0x47ad60
push 0x47aec0
push dword [ebx + 8]
push 0x47ad54
push dword [ebx + 0xc]
push 0x47ad60
push 0x47ad6c
lea eax, [ebp - 0x14]
mov edx, 9
call fcn.00404544
lea eax, [ebp + 0xc]
mov edx, dword [ebx + 0x20]
call fcn.0040425c
mov eax, dword [ebp + 0xc]
call fcn.00404484
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404684
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404484
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404684
push eax
push esi
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x47aa3a
mov eax, edi
mov edx, 0x47aca4
call fcn.00404218
lea eax, [ebx + 0x1c]
mov edx, 0x47aca4
call fcn.00404218
mov ecx, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0047a7fc
jmp 0x47ac42
lea eax, [ebp - 0x18]
mov edx, 0x400
call fcn.00404810
mov dword [ebp - 0x1c], 0x400
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404684
push eax
push 0x16
push esi
call sub.wininet.dll_HttpQueryInfoA
lea eax, [ebx + 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004046e4
lea ecx, [ebp - 0x34]
mov edx, 0x47aee4
mov eax, ebx
call fcn.0047af60
mov eax, dword [ebp - 0x34]
mov edx, 0x47aefc
call fcn.004045d0
je 0x47aabc
mov eax, edi
mov edx, 0x47aca4
call fcn.00404218
mov ecx, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0047a7fc
jmp 0x47ac42
mov ecx, edi
mov edx, 0x47af18
mov eax, ebx
call fcn.0047af60
lea eax, [ebx + 0x1c]
mov edx, dword [edi]
call fcn.00404218
mov eax, 4
call fcn.00402744
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 4
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 5
push esi
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x47ab80
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x24]
call fcn.004043bc
mov eax, dword [ebp - 0x38]
call fcn.004085fc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x47ab2c
mov edi, eax
jmp 0x47ab3a
mov dl, 1
mov eax, dword [0x4172fc]
call fcn.00403380
mov edi, eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
mov eax, edi
call fcn.0041b760
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [edi + 4]
push eax
push esi
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x47ab72
push 0
push 0
mov edx, edi
mov eax, dword [ebx + 0x10]
call fcn.0041b978
cmp edi, dword [ebx + 0x10]
je 0x47abc4
mov eax, edi
call fcn.004033b0
jmp 0x47abc4
mov eax, 0x800
call fcn.00402744
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x800
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push esi
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x28], 0
je 0x47abbc
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x10]
mov edi, dword [eax]
call dword [edi + 0x10]
jmp 0x47ab94
mov eax, dword [ebp - 0x30]
call fcn.00402764
mov eax, dword [ebp - 0x24]
call fcn.00402764
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebx + 0x14]
call fcn.00404810
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebx + 0x14]
call fcn.004046dc
mov edx, eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
pop ecx
call fcn.004029f0
lea ecx, [ebp - 0x3c]
mov edx, 0x47af34
mov eax, ebx
call fcn.0047af60
mov eax, dword [ebp - 0x3c]
mov edx, 0x47af54
call fcn.00408238
test eax, eax
jne 0x47ac35
lea ecx, [ebp - 0x40]
mov dx, 0x14ae
mov eax, dword [ebx + 0x14]
call fcn.0047a544
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x14]
call fcn.00404218
mov ecx, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0047a7fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac86
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004041e8
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004041e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041e8
lea eax, [ebp + 0xc]
call fcn.004041c4
ret