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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1010
push 0
push 0
dec ecx
jne 0x4b2ed9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b34e7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x400
mov eax, dword [ebp - 0x10]
call fcn.00402ae4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.00403358
mov dword [ebp - 0x24], 0x400
mov eax, dword [ebp - 0x24]
call fcn.00402ae4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
call fcn.00403358
mov dword [ebp - 0x28], 0x400
mov eax, dword [ebp - 0x28]
call fcn.00402ae4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
call fcn.00403358
mov dword [ebp - 0x2c], 0x400
mov eax, dword [ebp - 0x2c]
call fcn.00402ae4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
call fcn.00403358
mov dword [ebp - 0x30], 0x400
mov eax, dword [ebp - 0x30]
call fcn.00402ae4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
call fcn.00403358
xor edx, edx
push ebp
push 0x4b34b5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x26
push 0
call sub.wininet.dll_InternetQueryOptionA
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x2b
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0x2c
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x1c
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x32], al
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1d
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x33], al
push 0
push 0
push 0
push 0
push 0x4b34f8
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x4b3478
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x38], 0
je 0x4b3420
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jne 0x4b30c8
push 0xc
mov eax, dword [ebp - 0xc]
push eax
push 3
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetSetOptionA
test bl, bl
je 0x4b307d
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x2b
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp byte [ebp - 0x31], 0
je 0x4b3096
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0x2c
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp byte [ebp - 0x32], 0
je 0x4b30af
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x1c
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp byte [ebp - 0x33], 0
je 0x4b30c8
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1d
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetSetOptionA
lea eax, [ebp - 0x56]
push eax
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x44]
mov eax, edi
call fcn.004b1d0c
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004b385c
push 1
push 0
push 3
push 0x4b351c
push 0x4b351c
mov ax, word [ebp - 0x56]
push eax
mov eax, dword [ebp - 0x44]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x3c], eax
xor edx, edx
push ebp
push 0x4b3419
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x3c], 0
je 0x4b33c1
mov eax, 0x4b3520
mov dword [ebp - 0x50], eax
mov eax, 0x4b352c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x4b316f
push 0
push 0x80400000
lea eax, [ebp - 0x50]
push eax
push 0x4b351c
push 0x4b355c
mov eax, dword [ebp - 0x48]
call fcn.00404cb0
push eax
push 0x4b3568
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x40], eax
jmp 0x4b319e
push 0
push 0x84c0f000
lea eax, [ebp - 0x50]
push eax
push 0x4b351c
push 0x4b355c
mov eax, dword [ebp - 0x48]
call fcn.00404cb0
push eax
push 0x4b3568
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x40], eax
xor edx, edx
push ebp
push 0x4b33ba
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x40], 0
je 0x4b3362
mov dword [ebp - 0x60], 0x927c0
push 4
lea eax, [ebp - 0x60]
push eax
push 6
mov eax, dword [ebp - 0x40]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4b331f
test esi, esi
je 0x4b31ec
lea edx, [ebp - 0x4c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x4b31f4
lea eax, [ebp - 0x4c]
call fcn.004047f0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.004b36d4
test al, al
je 0x4b32d9
mov eax, dword [ebp - 4]
cmp word [eax + 0x12], 0
je 0x4b3226
mov ebx, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x14]
call dword [ebx + 0x10]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41a1b0]
call fcn.0041f5a4
mov ebx, eax
xor eax, eax
push ebp
push 0x4b32b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x8000
lea eax, [ebp - 0x8060]
xor ecx, ecx
mov edx, esi
call fcn.00403358
jmp 0x4b3283
lea edx, [ebp - 0x8060]
mov ecx, dword [ebp - 0x5c]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 4]
cmp word [eax + 0xa], 0
je 0x4b3283
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0xc]
call dword [edi + 8]
lea eax, [ebp - 0x5c]
push eax
push esi
lea eax, [ebp - 0x8060]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4b32a2
cmp dword [ebp - 0x5c], 0
ja 0x4b325a
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b32ba
ret
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8068]
call fcn.00409470
mov ecx, dword [ebp - 0x8068]
lea eax, [ebp - 0x8064]
mov edx, 0x4b3578
call fcn.00404afc
mov ecx, dword [ebp - 0x8064]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
jmp 0x4b33a3
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8070]
call fcn.00409470
mov ecx, dword [ebp - 0x8070]
lea eax, [ebp - 0x806c]
mov edx, 0x4b35c0
call fcn.00404afc
mov ecx, dword [ebp - 0x806c]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
jmp 0x4b33a3
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8078]
call fcn.00409470
mov ecx, dword [ebp - 0x8078]
lea eax, [ebp - 0x8074]
mov edx, 0x4b3608
call fcn.00404afc
mov ecx, dword [ebp - 0x8074]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3402
mov eax, dword [ebp - 0x40]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8080]
call fcn.00409470
mov ecx, dword [ebp - 0x8080]
lea eax, [ebp - 0x807c]
mov edx, 0x4b3650
call fcn.00404afc
mov ecx, dword [ebp - 0x807c]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3461
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8088]
call fcn.00409470
mov ecx, dword [ebp - 0x8088]
lea eax, [ebp - 0x8084]
mov edx, 0x4b3698
call fcn.00404afc
mov ecx, dword [ebp - 0x8084]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b347f
mov eax, dword [ebp - 0x38]
push eax
call sub.wininet.dll_InternetCloseHandle
ret