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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543240
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x58f860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x80], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4a6ec7
xor al, al
jmp 0x4a7276
lea ecx, [ebp - 0x28]
call fcn.0040ee90
lea ecx, [ebp - 0x14]
call fcn.0040ee90
push str.http:__ip.6655.com_ip.aspx_area1
lea eax, [ebp - 0x28]
push eax
call fcn.004beff0
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4a702c
mov dword [ebp - 0x3c], 0xbb8
push 4
lea ecx, [ebp - 0x3c]
push ecx
push 2
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x102
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0041cb20
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4a7022
push 0x100000
call fcn.004c8580
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x40], ecx
push 0x100000
push 0
mov edx, dword [ebp - 0x40]
push edx
call fcn.00512af0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push 0x100000
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x2c], 0
jbe 0x4a6ff9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
call fcn.004c8580
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00512af0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00511ce0
add esp, 0xc
cmp dword [ebp - 0x40], 0
je 0x4a7018
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.005124eb
add esp, 4
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4a703b
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x19], 0
cmp dword [ebp - 0x20], 0
je 0x4a7257
push 0xfde9
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042cf40
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0051330e
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x1e
jge 0x4a7219
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041cec0
push str.__r_n_t
lea ecx, [ebp - 0x14]
call fcn.0047e330
push 0
push 0x55b344
lea ecx, [ebp - 0x14]
call fcn.0047e090
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jle 0x4a7219
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041c990
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c8e0
lea ecx, [ebp - 0x64]
call fcn.0040f740
lea ecx, [ebp - 0x14]
call fcn.0041cc20
sub eax, dword [ebp - 0x4c]
sub eax, 1
push eax
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x14]
call fcn.0047e5c0
push eax
lea ecx, [ebp - 0x14]
call fcn.0041c8e0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041c8e0
lea ecx, [ebp - 0x68]
call fcn.0040f740
push 0x565dec
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041cac0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4a7168
push 0x565e0c
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041cac0
add esp, 8
movzx eax, al
test eax, eax
jne 0x4a7168
push 0x565e04
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041cac0
add esp, 8
movzx edx, al
test edx, edx
jne 0x4a7168
push 0x565dfc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041cac0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4a7179
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0041c8e0
jmp 0x4a7215
push 0
push 0x565efc
lea ecx, [ebp - 0x14]
call fcn.0047e090
mov dword [ebp - 0x54], eax
push 0
push str.l:S
lea ecx, [ebp - 0x14]
call fcn.0047e090
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x54], 0
jle 0x4a71e3
lea ecx, [ebp - 0x14]
call fcn.0041cc20
sub eax, dword [ebp - 0x54]
sub eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0047e5c0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041c8e0
lea ecx, [ebp - 0x6c]
call fcn.0040f740
push 0
push 0x565eec
lea ecx, [ebp - 0x14]
call fcn.0047e090
mov dword [ebp - 0x54], eax
jmp 0x4a7215
cmp dword [ebp - 0x50], 0
jle 0x4a7215
lea ecx, [ebp - 0x14]
call fcn.0041cc20
sub eax, dword [ebp - 0x50]
sub eax, 3
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0047e5c0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041c8e0
lea ecx, [ebp - 0x70]
call fcn.0040f740
mov byte [ebp - 0x19], 1
cmp dword [ebp - 0x44], 0
je 0x4a7238
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.005124eb
add esp, 4
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x20], 0
je 0x4a7257
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.005124eb
add esp, 4
mov dword [ebp - 0x20], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x79], al
lea ecx, [ebp - 0x14]
call fcn.0040f740
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc