Function at 0x180006020
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x180063080]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r14, r8
mov r15, rdx
call fcn.18000e9d0
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov edi, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180006079
lea edi, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000608e
mov edi, 2
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800060a3
mov edi, 3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r8d, r8d
lea rdx, [0x1800594c8]
mov rcx, r14
call fcn.180007760
call qword [sym.imp.WINMM.dll_timeGetTime]
mov r8d, eax
lea rdx, str.Agent_ld
lea rcx, [rbp + 0x10]
call fcn.1800010f0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, [rbp + 0x10]
test edi, edi
jne 0x1800060e5
lea edx, [rdi + 4]
jmp 0x1800060e7
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x180006109
lea rcx, str.Internet_Open_Fail__n_r
call fcn.180001090
lea eax, [rsi - 1]
jmp 0x180006358
mov r9d, 4
mov dword [rsp + 0x54], 0x1770
lea r8, [rsp + 0x54]
mov rcx, rsi
lea edx, [r9 - 2]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
lea r8, [rsp + 0x54]
mov rcx, rsi
lea edx, [r9 + 2]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov dword [rsp + 0x60], 1
lea r8, [rsp + 0x60]
mov rcx, rsi
lea edx, [r9 + 0x3d]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
movaps xmm0, xmmword [str.Accept:___r_nAccept_Language:_zh_cn_r_nAccept_Encoding:_gzip__deflate_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0__MyIE2__.NET_CLR_1.1.4322_]
lea rcx, [rsp + 0x70]
movaps xmm1, xmmword [0x1800596b0]
mov eax, dword [0x180059738]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x1800596c0]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm1, xmmword [0x1800596d0]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm0, xmmword [0x1800596e0]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm1, xmmword [0x1800596f0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [0x180059700]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm1, xmmword [0x180059710]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [0x180059720]
movaps xmmword [rbp - 0x20], xmm1
movsd xmm1, qword [0x180059730]
mov dword [rbp + 8], eax
movzx eax, word [0x18005973c]
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
mov word [rbp + 0xc], ax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x70]
mov r9d, eax
mov dword [rsp + 0x20], 0x84000100
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x18000623d
lea rcx, str.can_not_open_the_URL_
call fcn.180001090
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [rdi - 1]
jmp 0x180006358
lea r9, [rsp + 0x58]
mov dword [rsp + 0x50], ebx
lea r8, [rsp + 0x64]
mov dword [rsp + 0x58], 4
mov edx, 0x20000013
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x18000633f
cmp dword [rsp + 0x64], 0xc8
jne 0x18000633f
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x50]
mov edx, 0x20000005
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [rsp + 0x50]
mov r8d, 0x401
test eax, eax
cmove ecx, ebx
xor edx, edx
mov dword [rsp + 0x50], ecx
lea rcx, [rbp + 0x50]
call fcn.180022880
lea r9, [rsp + 0x5c]
mov r8d, 0x400
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180006326
cmp dword [rsp + 0x5c], ebx
je 0x180006344
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1800062e4
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.180007260
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x401
call fcn.180022880
lea r9, [rsp + 0x5c]
mov r8d, 0x400
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1800062d3
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x180006358
mov ebx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1800205b0
mov rbx, qword [rsp + 0x5a0]
add rsp, 0x570
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret