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

Disassembly:
jmp 0x140073e30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa68
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1ce
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa88]
mov rax, qword [0x1400b1040]
xor rax, rbp
mov qword [rbp + 0xa20], rax
mov dword [rbp + 0xa04], 0
lea rcx, [0x1400bf109]
call fcn.140031ca2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Fetch_JSON_Example
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140073f09
lea rdx, str.Failed_to_initialize_WinINet.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003029e
lea rdx, [0x1400300e1]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x14009fbf5]
mov rcx, qword [rbp + 0xa50]
call fcn.140030ca8
mov eax, dword [rbp + 0xa04]
or eax, 1
mov dword [rbp + 0xa04], eax
mov rax, qword [rbp + 0xa50]
jmp 0x1400741b4
mov rcx, qword [rbp + 0xa58]
call fcn.140030933
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140073f9f
lea rdx, str.Failed_to_open_URL.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003029e
lea rdx, [0x1400300e1]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14009fbf5]
mov rcx, qword [rbp + 0xa50]
call fcn.140030ca8
mov eax, dword [rbp + 0xa04]
or eax, 1
mov dword [rbp + 0xa04], eax
mov rax, qword [rbp + 0xa50]
jmp 0x1400741b4
mov edx, 0xf8
lea rcx, [rbp + 0x470]
call fcn.14003134c
mov edx, 1
lea rcx, [rbp + 0x470]
call fcn.1400317b1
nop
lea r9, [rbp + 0x584]
mov r8d, 0x400
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140074006
cmp dword [rbp + 0x584], 0
jbe 0x140074006
mov eax, dword [rbp + 0x584]
lea rcx, [rbp + 0x480]
mov r8d, eax
lea rdx, [rbp + 0x50]
call qword [sym.imp.MSVCP140D.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]
jmp 0x140073fc2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x470]
call fcn.140031ab8
nop
xor r8d, r8d
lea rdx, [0x14009f91c]
lea rcx, [rbp + 0x5a8]
call fcn.140030a32
mov qword [rbp + 0x5e8], rax
cmp qword [rbp + 0x5e8], 0xffffffffffffffff
je 0x140074172
mov r9, 0xffffffffffffffff
mov r8, qword [rbp + 0x5e8]
lea rdx, [rbp + 0x988]
lea rcx, [rbp + 0x5a8]
call fcn.140030e5b
mov qword [rbp + 0xa18], rax
mov rdx, qword [rbp + 0xa18]
lea rcx, [rbp + 0x5a8]
call fcn.140030744
lea rcx, [rbp + 0x988]
call fcn.1400304a1
mov edx, 0x58
lea rcx, [rbp + 0x610]
call fcn.140031879
mov r8d, 1
lea rdx, str.__n_t_
lea rcx, [rbp + 0x610]
call fcn.140030e83
nop
mov dword [rsp + 0x20], 0
lea r9, [0x14009fbf5]
lea r8, [rbp + 0x610]
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x9c8]
call fcn.140030640
mov qword [rbp + 0xa18], rax
mov rdx, qword [rbp + 0xa18]
lea rcx, [rbp + 0x5a8]
call fcn.140030744
lea rcx, [rbp + 0x9c8]
call fcn.1400304a1
mov r8, qword [rbp + 0xa60]
lea rdx, [rbp + 0x5a8]
mov rcx, qword [rbp + 0xa50]
call fcn.140030627
mov eax, dword [rbp + 0xa04]
or eax, 1
mov dword [rbp + 0xa04], eax
lea rcx, [rbp + 0x610]
call fcn.140030811
nop
lea rcx, [rbp + 0x5a8]
call fcn.1400304a1
nop
lea rcx, [rbp + 0x470]
call fcn.14003044c
mov rax, qword [rbp + 0xa50]
jmp 0x1400741b4
lea rdx, [0x14009fbf5]
mov rcx, qword [rbp + 0xa50]
call fcn.140030ca8
mov eax, dword [rbp + 0xa04]
or eax, 1
mov dword [rbp + 0xa04], eax
lea rcx, [rbp + 0x5a8]
call fcn.1400304a1
nop
lea rcx, [rbp + 0x470]
call fcn.14003044c
mov rax, qword [rbp + 0xa50]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14009a430]
call fcn.1400317a2
mov rax, rdi
mov rcx, qword [rbp + 0xa20]
xor rcx, rbp
call fcn.140030d98
lea rsp, [rbp + 0xa38]
pop rdi
pop rbp
ret