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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x6457e1
mov eax, dword [ebp - 4]
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10278], ebx
mov dword [ebp - 0x10274], ebx
mov dword [ebp - 0x10270], ebx
mov dword [ebp - 0x1026c], ebx
mov dword [ebp - 0x10264], ebx
mov dword [ebp - 0x10268], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x645bbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10268]
xor eax, eax
call fcn.00407540
mov eax, dword [ebp - 0x10268]
lea edx, [ebp - 0x10264]
call fcn.00429488
mov eax, dword [ebp - 0x10264]
call fcn.0040c128
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x645b9d
xor eax, eax
push ebp
push 0x6458b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x84000100
push 0
push 0
mov eax, edi
call fcn.0040c128
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6458cd
cmp dword [ebp - 0xc], 0
jne 0x6458e1
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x645b9d
lea edx, [ebp - 0x1026c]
mov eax, esi
call fcn.006452ac
mov edx, dword [ebp - 0x1026c]
lea eax, [ebp - 0x10260]
call fcn.00407fd8
call fcn.00407178
xor eax, eax
push ebp
push 0x645931
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
lea eax, [ebp - 0x10260]
call fcn.00408f2c
call fcn.00407178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645957
test bl, bl
je 0x645a42
cmp byte [0x68b206], 0
jne 0x645a42
mov eax, 0x645bdc
call fcn.00644f14
test al, al
jne 0x645a42
cmp byte [0x68b210], 0
je 0x6459c2
push 0x645c08
lea eax, [ebp - 0x10270]
push eax
mov ecx, 0x645c38
mov edx, 0x645c4c
mov eax, dword [0x68b1fc]
mov esi, dword [eax]
call dword [esi + 8]
mov edx, dword [ebp - 0x10270]
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x3ec]
call fcn.005516ec
jmp 0x645a42
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
call fcn.00551ca0
push 0x645c08
lea eax, [ebp - 0x10274]
push eax
mov ecx, 0x645c38
mov edx, 0x645c4c
mov eax, dword [0x68b1fc]
mov esi, dword [eax]
call dword [esi + 8]
mov edx, dword [ebp - 0x10274]
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
call fcn.005516ec
mov eax, dword [0x68b1c4]
call fcn.00550d40
mov edx, eax
sar edx, 1
jns 0x645a1b
adc edx, 0
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x645a30
adc eax, 0
sub edx, eax
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
call fcn.00550a20
mov dx, 0xfff5
mov eax, dword [0x68b1c4]
call fcn.00551904
mov eax, dword [0x683324]
mov eax, dword [eax]
call fcn.0060c584
xor eax, eax
push ebp
push 0x645aca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x10010]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x10260]
call fcn.004081c8
call fcn.00407178
test bl, bl
je 0x645aba
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
cmp byte [eax + 0x69], 0
je 0x645aba
xor eax, eax
call fcn.006454d8
cmp dword [ebp - 0x10], 0
jne 0x645a6a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645b0c
lea eax, [ebp - 0x10260]
call fcn.004081e8
call fcn.00407178
mov byte [ebp - 1], 1
test bl, bl
je 0x645b45
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
cmp byte [eax + 0x69], 0
je 0x645b45
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
call fcn.00551c98
xor edx, edx
mov eax, dword [0x68b1c4]
call fcn.00551904
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
test bl, bl
je 0x645b9d
push 0x645c6c
lea eax, [ebp - 0x10278]
push eax
mov ecx, 0x645c90
mov edx, 0x645c4c
mov eax, dword [0x68b1fc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x10278]
mov eax, dword [0x68b1c4]
mov eax, dword [eax + 0x428]
call fcn.005516ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645bc4
lea eax, [ebp - 0x10278]
mov edx, 6
call fcn.0040b5f0
pop eax
jmp eax