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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0x4cb
push 0x547850
mov eax, dword [ebp - 0x14]
push eax
call fcn.0045d090
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0
jne 0x460169
push 0x4cc
push 0x547884
call fcn.0045b590
test eax, eax
je 0x460169
int3
push 1
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00467ae0
test eax, eax
jne 0x460192
push 0x4cd
push 0x5478b8
call fcn.0045b590
test eax, eax
je 0x460192
int3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x3c], 0
jne 0x4601f7
push 0x1000
mov ecx, dword [ebp - 0x14]
call fcn.0045f540
test eax, eax
jne 0x4601b3
xor eax, eax
jmp 0x460327
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4601e4
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00464770
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
lea eax, [edx + edx - 2]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46030c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edx + 0x40]
jb 0x4602bb
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x460263
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00464770
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jne 0x4602a8
mov ecx, dword [ebp - 4]
and ecx, 1
add ecx, 2
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004db5b0
add esp, 0xc
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x46029e
xor eax, eax
jmp 0x460327
mov eax, dword [ebp + 8]
jmp 0x460327
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
cmp edx, 0xd
je 0x4602e2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
add eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp eax, 0xa
jne 0x460307
jmp 0x46030c
jmp 0x460216
mov edx, dword [ebp - 4]
and edx, 1
add edx, 2
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004db5b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8