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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.140020bf0
sub rsp, rax
mov rax, qword [0x14006c180]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.HTTPGET
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x14000804d
lea rdx, str.InternetOpen_failed.
lea rcx, [0x140070020]
call fcn.1400050b0
mov rcx, rax
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x140007fc2
xor edx, edx
mov rcx, r14
call fcn.1400053f0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140008011
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000800c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400082bd
mov rcx, r8
call fcn.140020310
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r13
mov rax, r14
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1400202f0
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000805a
mov r8, qword [rsi]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, dword [rsi + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400082d0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400080b7
mov r8, qword [rsi]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsi + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140008143
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000813e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400082c3
call fcn.140020310
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
test rbx, rbx
jne 0x1400081a5
lea rdx, str.InternetOpenUrl_failed.
lea rcx, [0x140070020]
call fcn.1400050b0
mov rcx, rax
call fcn.140005360
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x140008196
jmp 0x140007fcc
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r15, r13
mov qword [rsp + 0x78], r13
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140008211
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14000820c
mov r9d, eax
lea r8, [rbp - 0x60]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.140005e90
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400081d2
mov r15, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
sub rdi, r12
mov rcx, rdi
call fcn.140020364
mov rbx, rax
mov r8, rdi
mov rdx, r12
mov rcx, rax
call fcn.14004b170
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400086f0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
test r12, r12
je 0x140007fd7
sub r15, r12
mov rax, r12
cmp r15, 0x1000
jb 0x1400082a7
add r15, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400082b7
mov rdx, r15
mov rcx, r12
call fcn.140020310
jmp 0x140007fd7
call fcn.14002fc80
nop
call fcn.14002fc80
nop
call fcn.14002fc80
int3