Function at 0x1400011c0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rdx
xor esi, esi
mov dword [rbp + 7], esi
mov dword [rbp + 0xf], esi
mov dword [rbp + 0x13], 4
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
mov qword [rbp - 1], rax
test rax, rax
jne 0x140001269
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpen_failed._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001870
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001a50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x14000166a
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140003400]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp - 9], rax
test rax, rax
jne 0x1400012db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpenUrlA_failed._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001870
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001a50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x14000166a
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x13]
lea r8, [rbp + 7]
mov edx, 0x20000005
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
mov r8d, dword [rbp + 7]
lea eax, [r8 + 1]
mov ebx, eax
movdqu xmmword [rbp + 0x17], xmm0
mov r13, rsi
mov qword [rbp + 0x27], rsi
test eax, eax
je 0x140001377
cmp rbx, 0x1000
jb 0x140001349
lea rcx, [rax + 0x27]
cmp rcx, rbx
jbe 0x1400016a3
call fcn.140001c30
test rax, rax
je 0x140001655
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001354
mov rcx, rbx
call fcn.140001c30
mov rdi, rax
mov qword [rbp + 0x17], rdi
lea r13, [rdi + rbx]
mov qword [rbp + 0x27], r13
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1f], r13
mov r8d, dword [rbp + 7]
jmp 0x14000137b
mov rdi, qword [rbp + 0x17]
lea r9, [rbp + 0xb]
mov rdx, rdi
mov rcx, qword [rbp - 9]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400013cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetReadFile_failed._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001870
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001a50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001612
mov eax, dword [rbp + 0xb]
test eax, eax
je 0x140001612
mov byte [rax + rdi], 0
mov ebx, dword [rbp + 0xb]
shr rbx, 1
mov r14, qword [r12 + 8]
mov rdx, qword [r12]
mov rcx, r14
sub rcx, rdx
cmp rbx, rcx
jae 0x1400013fa
lea rax, [rbx + rdx]
jmp 0x14000142a
jbe 0x14000142f
mov rax, qword [r12 + 0x10]
sub rax, rdx
cmp rbx, rax
jbe 0x140001416
mov rdx, rbx
mov rcx, r12
call fcn.140001a90
jmp 0x14000142f
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rbx]
mov qword [r12 + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001440
movabs r15, 0x7fffffffffffffff
cmp rbx, r15
ja 0x140001697
cmp rbx, 0xf
ja 0x140001493
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 0xf
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x29], 0
mov r15, qword [rbp - 0x11]
mov rbx, qword [rbp - 0x19]
mov r14, qword [rbp - 0x29]
jmp 0x140001528
mov rax, rbx
or rax, 0xf
cmp rax, r15
jbe 0x1400014cc
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001c30
test rax, rax
je 0x140001603
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140001509
mov r15, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r15, rcx
lea rcx, [r15 + 1]
test rcx, rcx
jne 0x1400014e9
mov r14, rsi
jmp 0x140001509
cmp rcx, 0x1000
jb 0x140001501
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000169d
jmp 0x1400014ad
call fcn.140001c30
mov r14, rax
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], r15
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov r9, qword [r12]
test rbx, rbx
je 0x1400015d8
mov r8, rsi
nop dword [rax + rax]
lea rax, [rbp - 0x29]
cmp r15, 0xf
cmova rax, r14
movzx ecx, byte [r8 + rax]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000155d
sub cl, 0x30
jmp 0x140001577
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x140001569
sub cl, 0x57
jmp 0x140001577
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x140001575
sub cl, 0x37
jmp 0x140001577
xor cl, cl
lea rax, [rbp - 0x29]
cmp r15, 0xf
cmova rax, r14
movzx edx, byte [r8 + rax + 1]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140001595
sub dl, 0x30
jmp 0x1400015af
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x1400015a1
sub dl, 0x57
jmp 0x1400015af
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x1400015ad
sub dl, 0x37
jmp 0x1400015af
xor dl, dl
shl cl, 4
add cl, dl
mov eax, esi
test esi, esi
jns 0x1400015bd
lea eax, [rsi + 1]
sar eax, 1
cdqe
mov byte [rax + r9], cl
add esi, 2
add r8, 2
movsxd rax, esi
cmp rax, rbx
jb 0x140001540
cmp r15, 0xf
jbe 0x140001612
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000160a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000160a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140001c6c
mov rcx, qword [rbp - 9]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 1]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [rbp + 0xb]
shr rbx, 1
test rdi, rdi
je 0x140001667
sub r13, rdi
mov rax, rdi
cmp r13, 0x1000
jb 0x14000165c
add r13, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000165c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, rdi
call fcn.140001c6c
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001c10
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
nop
call fcn.140001100
int3