Function at 0x6454c0
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 0x6454c9
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 0x64589f
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]
mov eax, dword [0x6823c8]
mov eax, dword [eax]
call fcn.0060d00c
mov eax, dword [ebp - 0x10268]
lea edx, [ebp - 0x10264]
call fcn.0042936c
mov eax, dword [ebp - 0x10264]
call fcn.0040bffc
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x64587f
xor eax, eax
push ebp
push 0x64559d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x84000100
push 0
push 0
mov eax, edi
call fcn.0040bffc
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 0x6455ba
cmp dword [ebp - 0xc], 0
jne 0x6455ce
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x64587f
lea edx, [ebp - 0x1026c]
mov eax, esi
call fcn.00644f84
mov edx, dword [ebp - 0x1026c]
lea eax, [ebp - 0x10260]
call fcn.00407eac
call fcn.00407168
xor eax, eax
push ebp
push 0x64561e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
lea eax, [ebp - 0x10260]
call fcn.00408e00
call fcn.00407168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645644
test bl, bl
je 0x64572f
cmp byte [0x68a206], 0
jne 0x64572f
mov eax, 0x6458c0
call fcn.00644e7c
test al, al
jne 0x64572f
cmp byte [0x68a20f], 0
je 0x6456af
push 0x6458ec
lea eax, [ebp - 0x10270]
push eax
mov ecx, 0x64591c
mov edx, 0x645930
mov eax, dword [0x68a1fc]
mov esi, dword [eax]
call dword [esi + 8]
mov edx, dword [ebp - 0x10270]
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x3ec]
call fcn.005513e8
jmp 0x64572f
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
call fcn.0055199c
push 0x6458ec
lea eax, [ebp - 0x10274]
push eax
mov ecx, 0x64591c
mov edx, 0x645930
mov eax, dword [0x68a1fc]
mov esi, dword [eax]
call dword [esi + 8]
mov edx, dword [ebp - 0x10274]
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
call fcn.005513e8
mov eax, dword [0x68a1c4]
call fcn.00550a3c
mov edx, eax
sar edx, 1
jns 0x645708
adc edx, 0
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x64571d
adc eax, 0
sub edx, eax
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
call fcn.0055071c
mov dx, 0xfff5
mov eax, dword [0x68a1c4]
call fcn.00551600
mov eax, dword [0x6823c8]
mov eax, dword [eax]
call fcn.0060c280
xor eax, eax
push ebp
push 0x6457b7
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x645773
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
cmp byte [eax + 0x69], 0
je 0x645773
xor eax, eax
call fcn.006451bc
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.0040809c
call fcn.00407168
cmp dword [ebp - 0x10], 0
jne 0x645757
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6457f9
lea eax, [ebp - 0x10260]
call fcn.004080bc
call fcn.00407168
mov byte [ebp - 1], 1
test bl, bl
je 0x645827
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
cmp byte [eax + 0x69], 0
je 0x645827
call fcn.00551994
xor edx, edx
mov eax, dword [0x68a1c4]
call fcn.00551600
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 0x64587f
push 0x645950
lea eax, [ebp - 0x10278]
push eax
mov ecx, 0x645974
mov edx, 0x645930
mov eax, dword [0x68a1fc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x10278]
mov eax, dword [0x68a1c4]
mov eax, dword [eax + 0x428]
call fcn.005513e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6458a6
lea eax, [ebp - 0x10278]
mov edx, 6
call fcn.0040b4c4
pop eax
jmp eax