Function at 0x14000f950
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 r15
mov eax, 0x1240
call fcn.140085840
sub rsp, rax
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ab0c0]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov rdi, rdx
mov rbx, rcx
movabs rax, 0xd75ecd94d1194029
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp], rax
movabs rax, 0xeed7c391c31d19aa
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
movabs r15, 0xa03189b4b475296f
mov qword [rbp + 0x130], r15
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x140], rax
movabs r12, 0xeea5a6f5a27275c4
mov qword [rbp + 0x130], r12
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp], xmm0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rbp]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x14000fb57
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movabs rax, 0xd454e7c6d1014726
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp], rax
movabs rax, 0x87c4c0d5cc17058b
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
movabs rax, 0x5b06fbcae4af71b5
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x10], rax
movabs rdx, 0xa6b2c0d318406af6
mov qword [rbp + 0x140], rdx
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x140], r15
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x140], r12
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x168], rax
movabs rax, 0x5b06fbeadecb14d9
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x140], rdx
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x178], rax
vmovdqu ymm0, ymmword [rbp + 0x160]
vpxor ymm1, ymm0, ymmword [rbp]
vmovdqa ymmword [rbp], ymm1
lea rdx, [rbp]
vzeroupper
call fcn.140001e50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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]
lea rdx, [0x140006f30]
mov rcx, rax
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 al, al
jmp 0x14000ffe9
cmp qword [rbx + 0x18], 0xf
jbe 0x14000fb61
mov rbx, qword [rbx]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x14000fccc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movabs rax, 0xd454e7c6d1014726
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x160], rax
movabs rax, 0xcec9d4a0cc17058b
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x168], rax
movabs rax, 0x7b3c9f8fb2a275bf
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x170], rax
movabs rdx, 0xa6b2c0d318406af6
mov qword [rbp + 0x140], rdx
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x178], rax
mov qword [rbp + 0x140], r15
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x140], r12
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x5b06fbeadecb14d9
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x140], rdx
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1b8], rax
vmovdqu ymm0, ymmword [rbp + 0x1a0]
vpxor ymm1, ymm0, ymmword [rbp + 0x160]
vmovdqa ymmword [rbp + 0x160], ymm1
lea rdx, [rbp + 0x160]
vzeroupper
call fcn.140001e50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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]
lea rdx, [0x140006f30]
mov rcx, rax
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, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14000ffe9
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14000b640
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14000fef9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movabs rax, 0xd411edd1d81c4829
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x160], rax
movabs rax, 0x8885c890d21d55ab
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x168], rax
movabs rax, 0x7b74948cfeae78b0
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x170], rax
movabs rax, 0x9cd5aeba6c291881
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x178], rax
movabs rax, 0xb0147a82ea8d6d3
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x180], rax
movabs r8, 0x62aee179dfa69ab8
mov qword [rbp + 0x140], r8
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x140], r15
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x140], r12
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x5b06fbeadecb14d9
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1b0], rax
movabs rdx, 0xa6b2c0d318406af6
mov qword [rbp + 0x140], rdx
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1b8], rax
movabs rax, 0xb0147a82ea8d6f3
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x140], r8
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1c8], rax
vmovdqu ymm0, ymmword [rbp + 0x160]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x160], ymm1
vmovdqa xmm0, xmmword [rbp + 0x180]
vxorps xmm0, xmm0, xmmword [rbp + 0x1c0]
vmovdqa xmmword [rbp + 0x180], xmm0
lea rdx, [rbp + 0x160]
vzeroupper
call fcn.140001e50
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000fec5
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140004460
lea rdx, [0x140006f30]
mov rcx, rax
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, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x14000ff9e
lea r9, [rbp + 0x130]
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000ff5f
nop word [rax + rax]
mov eax, dword [rbp + 0x130]
test eax, eax
je 0x14000ff5f
mov r8d, eax
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x20]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rbp + 0x130]
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000ff20
lea rcx, [rbp + 0x28]
call fcn.140012fd0
test rax, rax
jne 0x14000ff8a
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, 1
mov rcx, qword [rbp + 0x20]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx + 0x20], rax
mov rcx, qword [rbp + 0x20]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xa8]
mov dword [rbp + rdx + 0x1c], r8d
lea rcx, [rbp + 0x28]
call fcn.14000cd30
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.1400858a0
mov rbx, qword [rsp + 0x1280]
add rsp, 0x1240
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret