Function at 0x48df7c
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
push ecx
mov ecx, 0x20b
push 0
push 0
dec ecx
jne 0x48df85
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x48e56a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x48], 0
jne 0x48dfd2
lea eax, [ebp - 0x103c]
call fcn.0048d49c
mov edx, dword [ebp - 0x103c]
mov eax, dword [ebp - 0x14]
add eax, 0x48
call fcn.00405390
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x48]
lea eax, [ebp - 0xc]
mov edx, 0x48e584
call fcn.00405654
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x84], 0
je 0x48e014
push dword [ebp - 0xc]
push 0x48e5d8
push 0x48e5e4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x84]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004056d0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0048d658
push 0
push 0x48e5f0
push 0x48e5f0
push 0
push 0x48e5f0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x20], eax
push 0
push 0
push 3
push 0
push 0
movzx eax, word [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
call fcn.004057cc
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1040]
mov ecx, 0x48e5fc
mov edx, dword [ebp - 0x18]
call fcn.00405654
mov ecx, dword [ebp - 0x1040]
mov dl, 1
mov eax, dword [0x4223d8]
call fcn.0042348c
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x48e538
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x48e608
mov eax, dword [ebp - 8]
call fcn.004057cc
push eax
push 0x48e614
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x48e4c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
push 0x4b948c
push 2
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
push 0x4b948c
push 8
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetSetOptionA
push dword [ebp - 0xc]
push 0x48e5d8
push 0x48e620
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004056d0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x48e119
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
call fcn.004057cc
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x48e150
mov edx, 0x48e63c
mov eax, dword [ebp - 0x14]
call fcn.0048decc
call fcn.00404d5c
call fcn.00404d5c
jmp 0x48e53f
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x1044]
mov ecx, 0x48e5fc
mov edx, dword [ebp - 0x18]
call fcn.00405654
mov eax, dword [ebp - 0x1044]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x50]
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x58]
mov eax, dword [ebp - 0x28]
call fcn.0048d954
test al, al
jne 0x48e195
call fcn.00404d5c
call fcn.00404d5c
jmp 0x48e53f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
je 0x48e1ad
call fcn.00404d5c
call fcn.00404d5c
jmp 0x48e53f
lea eax, [ebp - 0x1048]
mov ecx, 0x48e668
mov edx, dword [ebp - 0x18]
call fcn.00405654
mov eax, dword [ebp - 0x1048]
call fcn.0040a2bc
test al, al
jne 0x48e1fe
push 0xffff
lea eax, [ebp - 0x104c]
mov ecx, 0x48e668
mov edx, dword [ebp - 0x18]
call fcn.00405654
mov ecx, dword [ebp - 0x104c]
mov dl, 1
mov eax, dword [0x417ecc]
call fcn.0041c778
mov dword [ebp - 0x34], eax
jmp 0x48e228
push 2
lea eax, [ebp - 0x1050]
mov ecx, 0x48e668
mov edx, dword [ebp - 0x18]
call fcn.00405654
mov ecx, dword [ebp - 0x1050]
mov dl, 1
mov eax, dword [0x417ecc]
call fcn.0041c778
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x48e3eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x54]
jne 0x48e24c
cmp eax, dword [ecx + 0x50]
jae 0x48e25f
jmp 0x48e24e
jge 0x48e25f
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
push dword [ebp - 0xc]
push 0x48e5d8
push 0x48e678
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
push dword [eax + 0x50]
lea eax, [ebp - 0x1054]
call fcn.00409e68
push dword [ebp - 0x1054]
push 0x48e690
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.004056d0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x48e2a4
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
call fcn.004057cc
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x48e2e0
mov edx, 0x48e63c
mov eax, dword [ebp - 0x14]
call fcn.0048decc
call fcn.00404d5c
call fcn.00404d5c
call fcn.00404d5c
jmp 0x48e53f
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x34]
call fcn.0041c348
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x34]
call fcn.0041c2e4
xor eax, eax
push ebp
push 0x48e3c6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
push eax
push 0x1000
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x48e333
cmp dword [ebp - 0x30], 0
jne 0x48e340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e3d5
lea edx, [ebp - 0x1038]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
call fcn.0041c528
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, dword [ebp - 0x14]
add dword [ecx + 0x50], eax
adc dword [ecx + 0x54], edx
mov eax, dword [ebp - 0x14]
push dword [eax + 0x54]
push dword [eax + 0x50]
lea eax, [ebp - 0x1058]
call fcn.00409e68
mov eax, dword [ebp - 0x1058]
push eax
mov ecx, 0x48e69c
mov edx, 0x48e6ac
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x14]
call fcn.0048df14
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
je 0x48e3b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404d5c
call fcn.00404d5c
call fcn.00404d5c
jmp 0x48e53f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e302
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e3f2
mov eax, dword [ebp - 0x34]
call fcn.00404378
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e571
lea eax, [ebp - 0x1060]
mov edx, 0xa
call fcn.00405360
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405360
ret