Function at 0x4b202c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2015
push 0
push 0
dec ecx
jne 0x4b2035
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b284d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 1
jne 0x4b20c7
xor eax, eax
push ebp
push 0x4b20c0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b2ed0
mov dword [ebp - 0x5c], eax
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.0041ec0c
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.0041ee88
mov dword [ebp - 0x14], 0x400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2827
mov ebx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
call fcn.0040f124
ret
xor eax, eax
mov dword [ebp - 0x54], eax
xor edx, edx
push ebp
push 0x4b2820
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x14], 0x400
mov eax, dword [ebp - 0x14]
call fcn.00402ae4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
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
mov dword [ebp - 0x34], 0x400
mov eax, dword [ebp - 0x34]
call fcn.00402ae4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
call fcn.00403358
xor edx, edx
push ebp
push 0x4b2808
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0x26
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4b21dc
push 0x4b2868
lea eax, [ebp - 0x10064]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 4]
call fcn.004049e8
push dword [ebp - 0x10064]
push 0x4b28a0
lea eax, [ebp - 0x10060]
mov edx, 3
call fcn.00404b70
mov eax, dword [ebp - 0x10060]
call fcn.004b1d08
jmp 0x4b21e6
mov eax, 0x4b28ac
call fcn.004b1d08
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0x2b
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4b223c
push 0x4b28fc
lea eax, [ebp - 0x1006c]
mov edx, dword [ebp - 0x18]
call fcn.004049e8
push dword [ebp - 0x1006c]
push 0x4b28a0
lea eax, [ebp - 0x10068]
mov edx, 3
call fcn.00404b70
mov eax, dword [ebp - 0x10068]
call fcn.004b1d08
jmp 0x4b2246
mov eax, 0x4b2940
call fcn.004b1d08
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x2c
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x35], al
cmp byte [ebp - 0x35], 0
je 0x4b22a1
push 0x4b2998
lea eax, [ebp - 0x10074]
mov edx, dword [ebp - 0x1c]
call fcn.004049e8
push dword [ebp - 0x10074]
push 0x4b28a0
lea eax, [ebp - 0x10070]
mov edx, 3
call fcn.00404b70
mov eax, dword [ebp - 0x10070]
call fcn.004b1d08
jmp 0x4b22ab
mov eax, 0x4b29dc
call fcn.004b1d08
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1c
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x36], al
cmp byte [ebp - 0x36], 0
je 0x4b2306
push 0x4b2a34
lea eax, [ebp - 0x1007c]
mov edx, dword [ebp - 0x20]
call fcn.004049e8
push dword [ebp - 0x1007c]
push 0x4b28a0
lea eax, [ebp - 0x10078]
mov edx, 3
call fcn.00404b70
mov eax, dword [ebp - 0x10078]
call fcn.004b1d08
jmp 0x4b2310
mov eax, 0x4b2a70
call fcn.004b1d08
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x1d
push 0
call sub.wininet.dll_InternetQueryOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x37], al
cmp byte [ebp - 0x37], 0
je 0x4b236b
push 0x4b2ac4
lea eax, [ebp - 0x10084]
mov edx, dword [ebp - 0x20]
call fcn.004049e8
push dword [ebp - 0x10084]
push 0x4b28a0
lea eax, [ebp - 0x10080]
mov edx, 3
call fcn.00404b70
mov eax, dword [ebp - 0x10080]
call fcn.004b1d08
jmp 0x4b2375
mov eax, 0x4b2b00
call fcn.004b1d08
push 0
push 0
push 0
push 0
push 0x4b2b4c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x3c], eax
xor edx, edx
push ebp
push 0x4b27cb
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x3c], 0
je 0x4b2773
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jne 0x4b245d
mov eax, 0x4b2b78
call fcn.004b1d08
push 0xc
mov eax, dword [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, 0x4b2bc0
call fcn.004b1d08
test bl, bl
je 0x4b23f4
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0x2b
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, 0x4b2c10
call fcn.004b1d08
cmp byte [ebp - 0x35], 0
je 0x4b2417
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x2c
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, 0x4b2c68
call fcn.004b1d08
cmp byte [ebp - 0x36], 0
je 0x4b243a
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1c
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, 0x4b2cc0
call fcn.004b1d08
cmp byte [ebp - 0x37], 0
je 0x4b245d
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x1d
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, 0x4b2d10
call fcn.004b1d08
lea eax, [ebp - 0x44]
mov edx, 0x4b2d60
call fcn.00404888
push 0
push 0x80000000
mov eax, dword [ebp - 0x44]
call fcn.00404ab0
push eax
mov eax, dword [ebp - 0x44]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 8]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x40], eax
xor edx, edx
push ebp
push 0x4b276c
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x10000
lea eax, [ebp - 0x1005c]
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
call fcn.00403358
cmp dword [ebp - 0x40], 0
je 0x4b2714
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1005c]
push eax
push 0x16
mov eax, dword [ebp - 0x40]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4b26d1
lea eax, [ebp - 0x10088]
lea edx, [ebp - 0x1005c]
mov ecx, 0x10000
call fcn.00404a60
mov eax, dword [ebp - 0x10088]
call fcn.004b1ecc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4b2521
dec dword [ebp - 0x54]
mov eax, dword [ebp - 4]
cmp word [eax + 0x12], 0
je 0x4b253a
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x14]
call dword [ebx + 0x10]
mov dl, 1
mov eax, dword [0x41a134]
call fcn.00403950
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x4b26ab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x54], 0
jle 0x4b2568
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 4]
push 0
push 0
mov eax, dword [ebp - 0x58]
call fcn.0041ec0c
xor eax, eax
push ebp
push 0x4b2632
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4b2602
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
test ebx, ebx
je 0x4b25c1
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10090]
call fcn.00409470
mov ecx, dword [ebp - 0x10090]
lea eax, [ebp - 0x1008c]
mov edx, 0x4b2d78
call fcn.00404afc
mov eax, dword [ebp - 0x1008c]
call fcn.004b1d08
lea edx, [ebp - 0x1005c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x1005c]
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
call fcn.00403358
mov eax, dword [ebp - 4]
cmp word [eax + 0xa], 0
je 0x4b25fb
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call dword [ebx + 8]
push 0
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1005c]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4b2628
cmp dword [ebp - 0x50], 0
ja 0x4b2584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b2675
push 0
push 0
mov eax, dword [ebp - 0x58]
call fcn.0041ec0c
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
call fcn.0041ee88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b26b2
mov eax, dword [ebp - 0x58]
call fcn.00403980
ret
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1009c]
call fcn.00409470
mov ecx, dword [ebp - 0x1009c]
lea eax, [ebp - 0x10098]
mov edx, 0x4b2e08
call fcn.00404afc
mov ecx, dword [ebp - 0x10098]
mov dl, 1
mov eax, dword [0x4082fc]
call fcn.0040d358
call fcn.00404160
jmp 0x4b2755
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x100a4]
call fcn.00409470
mov ecx, dword [ebp - 0x100a4]
lea eax, [ebp - 0x100a0]
mov edx, 0x4b2e4c
call fcn.00404afc
mov ecx, dword [ebp - 0x100a0]
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 0x4b27b4
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 - 0x100ac]
call fcn.00409470
mov ecx, dword [ebp - 0x100ac]
lea eax, [ebp - 0x100a8]
mov edx, 0x4b2e94
call fcn.00404afc
mov ecx, dword [ebp - 0x100a8]
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 0x4b27d2
mov eax, dword [ebp - 0x3c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret