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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4a8
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.MyAgent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140003bda
lea rdx, str.InternetOpenA_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400013b0
lea rdx, [0x140002a00]
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 eax, eax
jmp 0x140003d4b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140003c46
lea rdx, str.InternetOpenUrlA_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400013b0
lea rdx, [0x140002a00]
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, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140003d4b
lea rcx, [rsp + 0x68]
call fcn.140002fb0
nop
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003cc6
cmp dword [rsp + 0x30], 0
je 0x140003cc6
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.140004f90
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
lea rax, [rsp + rax + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.140002ac0
jmp 0x140003c51
lea rcx, [rsp + 0x68]
call fcn.140005410
mov rcx, qword [rsp + 0x4b8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x4b8]
mov rcx, qword [rax]
call fcn.1400058bc
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x68]
call fcn.140004ed0
mov rcx, qword [rsp + 0x4b8]
mov r8, qword [rcx]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.140003540
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140005c10
add rsp, 0x4a8
ret