Function at 0x140011497
Capabilities:
Receive data
Receive data on socket
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
jmp 0x140018e40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4c8]
mov rax, qword [0x140031018]
xor rax, rbp
mov qword [rbp + 0x478], rax
lea rcx, [0x1400380fa]
call fcn.14001195b
lea rcx, [rbp + 8]
call fcn.140011947
nop
mov rax, qword [rbp + 0x4a0]
add rax, 0x28
mov r8, rax
lea rdx, str.GET
lea rcx, [rbp + 0x328]
call fcn.14001106e
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
lea r8, str._HTTP_1.1_r_n
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x368]
call fcn.14001189d
mov qword [rbp + 0x468], rax
mov rax, qword [rbp + 0x468]
mov qword [rbp + 0x470], rax
mov rdx, qword [rbp + 0x470]
lea rcx, [rbp + 8]
call fcn.140011230
nop
lea rcx, [rbp + 0x368]
call fcn.1400111c7
nop
lea rcx, [rbp + 0x328]
call fcn.1400111c7
mov rax, qword [rbp + 0x4a0]
mov r8, rax
lea rdx, str.Host:
lea rcx, [rbp + 0x3a8]
call fcn.14001106e
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
lea r8, [0x14002b330]
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x3e8]
call fcn.14001189d
mov qword [rbp + 0x468], rax
mov rax, qword [rbp + 0x468]
mov qword [rbp + 0x470], rax
mov rdx, qword [rbp + 0x470]
lea rcx, [rbp + 8]
call fcn.140011230
nop
lea rcx, [rbp + 0x3e8]
call fcn.1400111c7
nop
lea rcx, [rbp + 0x3a8]
call fcn.1400111c7
lea rdx, str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_91.0.4472.77_Safari_537.36_Edg_91.0.864.37
lea rcx, [rbp + 8]
call fcn.1400110cd
lea rdx, str.Connection:_Close_r_n
lea rcx, [rbp + 8]
call fcn.1400110cd
lea rdx, [0x14002b330]
lea rcx, [rbp + 8]
call fcn.1400110cd
lea rcx, [rbp + 8]
call fcn.1400117fd
mov qword [rbp + 0x458], rax
lea rcx, [rbp + 8]
call fcn.1400110fa
xor r9d, r9d
mov rcx, qword [rbp + 0x458]
mov r8d, ecx
mov rdx, rax
mov rax, qword [rbp + 0x4a0]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
lea rdx, [0x14002b408]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011131
lea rdx, [0x140011064]
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 byte [rbp + 0x44], 0
mov edx, 0x118
lea rcx, [rbp + 0x70]
call fcn.140011848
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.140011938
nop
mov r9d, 0x40
mov r8d, 2
lea rdx, str.D:html.txt
lea rcx, [rbp + 0x70]
call fcn.140011a4b
mov rax, qword [rbp + 0x70]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x70]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400190c8
lea rcx, [0x14002b430]
call fcn.140011456
mov byte [rbp + 0x424], 0
lea rcx, [rbp + 0x70]
call fcn.1400117d5
nop
lea rcx, [rbp + 8]
call fcn.1400111c7
movzx eax, byte [rbp + 0x424]
jmp 0x140019139
xor r9d, r9d
mov r8d, 1
lea rdx, [rbp + 0x44]
mov rax, qword [rbp + 0x4a0]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x14001910f
movzx edx, byte [rbp + 0x44]
mov rcx, qword [rbp + 0x4a8]
call fcn.1400114fb
lea rax, [rbp + 0x80]
movzx edx, byte [rbp + 0x44]
mov rcx, rax
call fcn.14001170d
jmp 0x1400190c8
lea rcx, [rbp + 0x70]
call fcn.140011186
mov byte [rbp + 0x444], 1
lea rcx, [rbp + 0x70]
call fcn.1400117d5
nop
lea rcx, [rbp + 8]
call fcn.1400111c7
movzx eax, byte [rbp + 0x444]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002a340]
call fcn.1400117ad
mov rax, rdi
mov rcx, qword [rbp + 0x478]
xor rcx, rbp
call fcn.14001147e
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret