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

Disassembly:
jmp 0x140005438
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x30]
lea rcx, [0x140015126]
call fcn.14000158c
nop
mov dword [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x20], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1400054eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xb0], 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.14000108c
mov ecx, dword [rbp + 0xb0]
mov edx, ecx
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___unsigned_long_int____ptr64]
lea rdx, [0x14000102d]
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]
nop
xor eax, eax
jmp 0x140005700
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140005571
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xb0], 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.14000108c
mov ecx, dword [rbp + 0xb0]
mov edx, ecx
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___unsigned_long_int____ptr64]
lea rdx, [0x14000102d]
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]
nop
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor eax, eax
jmp 0x140005700
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x18]
mov edx, 0x20000005
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
mov byte [rbp + 0x81], 0
lea rcx, [rbp + 0x80]
call fcn.140001140
mov ecx, dword [rbp + 0x18]
inc ecx
mov ecx, ecx
mov r9, rax
lea r8, [rbp + 0x81]
mov edx, ecx
lea rcx, [rbp + 0x28]
call fcn.1400010fa
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140001122
lea r9, [rbp + 0x10]
mov r8d, dword [rbp + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000562c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xb0], 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.14000108c
mov ecx, dword [rbp + 0xb0]
mov edx, ecx
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___unsigned_long_int____ptr64]
lea rdx, [0x14000102d]
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]
nop
jmp 0x1400056c5
cmp dword [rbp + 0x10], 0
jbe 0x1400056c5
mov eax, dword [rbp + 0x10]
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.140001122
mov byte [rax], 0
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov eax, eax
mov edx, eax
mov rcx, qword [rbp + 0xd8]
call fcn.1400012fd
nop
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140001122
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14000128a
nop
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov dword [rbp + 0xb0], eax
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call fcn.140001578
mov ecx, dword [rbp + 0xb0]
mov r8d, ecx
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14000133e
nop
lea rcx, [rbp + 0x88]
call fcn.1400010e1
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor edx, edx
mov eax, dword [rbp + 0x10]
mov ecx, 2
div ecx
mov eax, eax
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x28]
call fcn.14000151e
mov rax, qword [rbp + 0xa8]
lea rsp, [rbp + 0xc0]
pop rbp
ret