Function at 0x4cbf40
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, 0xfffffba4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov ebx, eax
lea eax, [ebp - 0x450]
mov edx, dword [0x40e37c]
call fcn.0040399c
xor eax, eax
push ebp
push 0x4cc45d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x2c], 1
lea eax, [ebp - 0x450]
call fcn.0040efb4
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x50]
push eax
call sub.wininet.dll_InternetOpenA
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x450]
mov ecx, dword [ebx + 0x40]
lea edx, [ebx + 0x94]
call fcn.0040e5e8
cmp dword [ebp - 0x20], 0
je 0x4cc001
mov dword [ebp - 0x434], 3
mov eax, dword [ebp - 0x20]
call fcn.0040367c
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [ebp - 0x42c], eax
push 0xc
lea eax, [ebp - 0x434]
push eax
push 0x26
push esi
call sub.wininet.dll_InternetSetOptionA
mov byte [ebx + 8], 0
test esi, esi
je 0x4cc3f1
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x34]
lea edx, [ebx + 0x64]
call fcn.0040e5e8
lea eax, [ebx + 0xc]
xor ecx, ecx
lea edx, [ebx + 0x7c]
call fcn.0040e6f8
mov dword [ebp - 4], eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebx + 0x88]
call fcn.0040e6f8
mov edi, eax
cmp dword [ebp - 4], 0
jbe 0x4cc08b
push 0x4cc478
lea edx, [ebp - 0x454]
mov eax, dword [ebp - 4]
call fcn.004070cc
push dword [ebp - 0x454]
push 0x4cc490
lea edx, [ebp - 0x458]
mov eax, dword [ebp - 4]
add eax, edi
call fcn.004070cc
push dword [ebp - 0x458]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403578
jmp 0x4cc093
lea eax, [ebp - 0x10]
call fcn.00403340
cmp dword [ebx + 0x54], 1
jne 0x4cc1d8
mov edx, dword [ebp - 8]
mov eax, 0x4cc49c
call fcn.004037a0
test eax, eax
jle 0x4cc0be
mov dword [ebp - 0x14], 0x1bb
mov dword [ebp - 0x18], 0x800000
jmp 0x4cc0ca
mov dword [ebp - 0x14], 0x50
xor eax, eax
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
mov eax, 0x4cc4ac
call fcn.004037a0
mov edi, eax
cmp edi, 0xffffffff
je 0x4cc0ee
lea ecx, [edi + 1]
lea eax, [ebp - 8]
mov edx, 1
call fcn.004036fc
mov edx, dword [ebp - 8]
mov eax, 0x4cc4b8
call fcn.004037a0
mov edi, eax
cmp edi, 0xffffffff
jne 0x4cc117
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.004033d8
lea eax, [ebp - 0x24]
call fcn.00403340
jmp 0x4cc144
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004036bc
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
call fcn.004034b8
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 8]
call fcn.004036bc
push 0
push 0
push 3
push 0
push 0
mov ax, word [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040367c
push eax
push esi
call sub.wininet.dll_InternetConnectA
mov edi, eax
push 0
mov eax, dword [ebp - 0x18]
or eax, 0x400000
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0040367c
push eax
push 0x4cc4bc
push edi
call sub.wininet.dll_HttpOpenRequestA
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, 0x4cc4cc
call fcn.004033d8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0xc]
xor ecx, ecx
lea edx, [ebx + 0xb8]
call fcn.0040e5e8
mov eax, dword [ebp - 0x24]
call fcn.004034b8
push eax
mov eax, dword [ebp - 0x24]
call fcn.0040367c
push eax
mov eax, dword [ebp - 0x20]
call fcn.004034b8
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040367c
push eax
push edi
call sub.wininet.dll_HttpSendRequestA
jmp 0x4cc1fb
push 0
push 0x80040000
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.0040367c
push eax
mov eax, dword [ebp - 8]
call fcn.0040367c
push eax
push esi
call sub.wininet.dll_InternetOpenUrlA
mov edi, eax
test edi, edi
je 0x4cc3eb
mov dword [ebp - 0x18], 4
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
push edi
call sub.wininet.dll_HttpQueryInfoA
cmp dword [ebp - 0x14], 0x197
jne 0x4cc2f7
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x450]
mov ecx, dword [ebx + 0x44]
lea edx, [ebx + 0xa0]
call fcn.0040e5e8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x450]
mov ecx, dword [ebx + 0x48]
lea edx, [ebx + 0xac]
call fcn.0040e5e8
cmp dword [ebp - 0x20], 0
je 0x4cc2f7
cmp dword [ebp - 0x24], 0
je 0x4cc2f7
lea eax, [ebp - 4]
push eax
push 0x401
lea eax, [ebp - 0x425]
push eax
push edi
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 4], 0
jne 0x4cc277
push 0
push 0
push 0xffffffffffffffff
push 0x4cc504
push dword [ebp - 0x20]
push 0x4cc528
push dword [ebp - 0x24]
lea eax, [ebp - 0x45c]
mov edx, 3
call fcn.00403578
mov eax, dword [ebp - 0x45c]
lea edx, [ebp - 0x458]
call fcn.004cb8a8
push dword [ebp - 0x458]
push 0x4cc534
lea eax, [ebp - 0x454]
mov edx, 3
call fcn.00403578
mov eax, dword [ebp - 0x454]
call fcn.0040367c
push eax
push edi
call sub.wininet.dll_HttpSendRequestA
lea eax, [ebp - 0x425]
xor ecx, ecx
mov edx, 0x401
call fcn.00402788
xor eax, eax
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x38]
lea edx, [ebx + 0x58]
call fcn.0040e5e8
cmp dword [ebp - 0xc], 0
jne 0x4cc330
call fcn.00407fb8
mov dword [ebx + 0x30], eax
jmp 0x4cc33b
mov eax, dword [ebp - 0xc]
call fcn.00407f34
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0x425]
xor ecx, ecx
mov edx, 0x401
call fcn.00402788
lea eax, [ebp - 4]
push eax
push 0x401
lea eax, [ebp - 0x425]
push eax
push edi
call sub.wininet.dll_InternetReadFile
lea edx, [ebp - 0x425]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 4]
call fcn.00407d64
mov eax, dword [ebp - 4]
add dword [ebx + 0x28], eax
cmp byte [ebx + 0x3c], 0
je 0x4cc389
mov eax, ebx
call fcn.004cc538
jmp 0x4cc397
push ebx
push fcn.004cc538
mov eax, dword [ebx + 4]
call fcn.00407cb8
cmp dword [ebp - 4], 0
je 0x4cc3a3
cmp byte [ebx + 8], 0
je 0x4cc33b
push edi
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 0xc], 0
jne 0x4cc3c1
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00407d4c
jmp 0x4cc3ce
mov eax, dword [ebx + 0x30]
call fcn.0040603c
xor eax, eax
mov dword [ebx + 0x30], eax
cmp byte [ebx + 0x3c], 0
je 0x4cc3dd
mov eax, ebx
call fcn.004cc554
jmp 0x4cc3eb
push ebx
push fcn.004cc554
mov eax, dword [ebx + 4]
call fcn.00407cb8
push esi
call sub.wininet.dll_InternetCloseHandle
xor esi, esi
mov byte [ebx + 0x2c], 0
cmp byte [ebx + 0x3c], 0
je 0x4cc406
mov eax, ebx
call fcn.004cc548
jmp 0x4cc414
push ebx
push fcn.004cc548
mov eax, dword [ebx + 4]
call fcn.00407cb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc464
lea eax, [ebp - 0x45c]
mov edx, 3
call fcn.00403364
lea eax, [ebp - 0x450]
mov edx, dword [0x40e37c]
call fcn.00403a68
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403364
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403364
ret