Function at 0x600869b3
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
xor ecx, ecx
push edi
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
cmp dword [ebx + 0x14], ecx
jne 0x60086bd1
mov eax, dword [ebx + 4]
and eax, 1
cmp al, 1
jne 0x60086bd1
mov eax, dword [ebx + 0x10]
cmp eax, ecx
je 0x60086bd1
cmp dword [ebp + 8], ecx
je 0x60086b2b
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x408]
push ecx
push 1
push eax
mov dword [ebp - 4], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x60086a23
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x60086bd4
push 2
lea eax, [ebp - 0x408]
mov esi, 0x60081644
pop edi
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x60086a53
test cl, cl
je 0x60086a4f
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x60086a53
add esi, edi
add eax, edi
test cl, cl
jne 0x60086a31
xor eax, eax
jmp 0x60086a58
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x60086a6a
mov eax, dword [ebp + 8]
mov dword [eax], 0x30
jmp 0x60086b2b
lea eax, [ebp - 0x408]
mov esi, 0x60081608
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x60086a97
test cl, cl
je 0x60086a93
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x60086a97
add esi, edi
add eax, edi
test cl, cl
jne 0x60086a75
xor eax, eax
jmp 0x60086a9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x60086aaa
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x60086b2b
lea eax, [ebp - 0x408]
mov esi, 0x600815e8
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x60086ad7
test cl, cl
je 0x60086ad3
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x60086ad7
add esi, edi
add eax, edi
test cl, cl
jne 0x60086ab5
xor eax, eax
jmp 0x60086adc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x60086aeb
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x60086b2b
lea eax, [ebp - 0x408]
mov esi, 0x60081628
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x60086b18
test cl, cl
je 0x60086b14
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x60086b18
add esi, edi
add eax, edi
test cl, cl
jne 0x60086af6
xor eax, eax
jmp 0x60086b1d
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [ecx], eax
mov esi, 0x1000
push esi
mov dword [ebp - 4], esi
call fcn.60086ed0
test eax, eax
pop ecx
mov dword [ebx + 0x14], eax
je 0x60086baf
xor edi, edi
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
mov ecx, eax
sub ecx, edi
jne 0x60086b6a
add eax, esi
push eax
mov dword [ebp - 4], eax
push dword [ebx + 0x14]
call fcn.60087180
pop ecx
mov dword [ebx + 0x14], eax
test eax, eax
pop ecx
je 0x60086b9e
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
sub eax, edi
push ecx
push eax
mov eax, edi
add eax, dword [ebx + 0x14]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x60086bb3
add edi, dword [ebp - 8]
cmp dword [ebp - 8], 0
jne 0x60086b43
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
jmp 0x60086bd4
push 0
call fcn.60086e60
pop ecx
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 8
jmp 0x60086bd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0x14]
mov esi, eax
call fcn.60086e60
pop ecx
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x60086bd4
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc