Function at 0x1400011c0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rbp
push rdi
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor edi, edi
lea rcx, str.A_Warp_Connection_Check_1.0
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbp, rax
test rax, rax
jne 0x140001216
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_WinHTTP_session._n
call fcn.140001650
xor al, al
jmp 0x1400015de
mov r8d, 0x50
mov qword [rsp + 0xb0], r12
xor r9d, r9d
lea rdx, str.www.cloudflare.com
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
jne 0x140001262
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_connect_to_server._n
call fcn.140001650
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400015d6
mov dword [rsp + 0x30], edi
lea r8, str._cdn_cgi_trace
mov qword [rsp + 0x28], rdi
lea rdx, [0x1400034b8]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, r12
mov qword [rsp + 0x78], r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x1400012ac
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_HTTP_request._n
call fcn.140001650
jmp 0x140001325
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400012d7
lea rdx, str.Failed_to_send_HTTP_request._n
jmp 0x140001310
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1400012ef
lea rdx, str.Failed_to_receive_HTTP_response._n
jmp 0x140001310
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14000133e
lea rdx, str.No_response_data_available._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001650
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400015d1
lea ecx, [rax + 1]
mov qword [rsp + 0xa8], rsi
call fcn.140001914
mov r8d, dword [rsp + 0x40]
xor edx, edx
inc r8d
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
mov rdx, rsi
mov dword [rsp + 0x44], edi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1400013be
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_read_response_data._n
call fcn.140001650
mov rcx, rsi
call fcn.1400018d0
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x1400015c9
mov qword [rsp + 0xa0], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x70], r15
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rsi + rbx], dil
jne 0x1400013e0
movabs r15, 0x7fffffffffffffff
cmp rbx, r15
ja 0x1400015f5
cmp rbx, 0xf
ja 0x140001439
mov r8, rbx
mov qword [rsp + 0x58], rbx
mov rdx, rsi
mov qword [rsp + 0x60], 0xf
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x48], dil
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
jmp 0x1400014cb
mov rax, rbx
or rax, 0xf
cmp rax, r15
jbe 0x140001472
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400018d8
test rax, rax
je 0x1400015a5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400014aa
mov ecx, 0x16
mov r15, rax
cmp rax, rcx
cmovb r15, rcx
lea rcx, [r15 + 1]
test rcx, rcx
je 0x1400014aa
cmp rcx, 0x1000
jb 0x1400014a2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400015fb
jmp 0x140001453
call fcn.1400018d8
mov rdi, rax
mov r8, rbx
mov qword [rsp + 0x48], rdi
mov rdx, rsi
mov qword [rsp + 0x58], rbx
mov rcx, rdi
mov qword [rsp + 0x60], r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
mov rcx, rsi
mov qword [rsp + 0x80], r13
call fcn.1400018d0
cmp r15, 0xf
lea rsi, [rsp + 0x48]
cmova rsi, rdi
cmp rbx, 7
jb 0x140001549
lea r13, [rsi + rbx]
mov edx, 0x77
lea r8, [r13 - 6]
mov rcx, rsi
sub r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140001549
nop
cmp dword [rbx], 0x70726177
jne 0x14000152a
cmp word [rbx + 4], 0x6f3d
jne 0x14000152a
cmp byte [rbx + 6], 0x6e
je 0x1400015ac
inc rbx
lea r8, [r13 - 6]
sub r8, rbx
mov rcx, rbx
mov edx, 0x77
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140001510
mov rbx, 0xffffffffffffffff
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r13, qword [rsp + 0x80]
cmp rbx, 0xffffffffffffffff
setne bl
cmp r15, 0xf
jbe 0x1400015b9
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400015b1
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, rsi
jmp 0x140001550
mov rcx, rdi
call fcn.1400018d0
mov r15, qword [rsp + 0x70]
movzx eax, bl
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400018b0
add rsp, 0x88
pop rdi
pop rbp
ret
call fcn.1400011a0
int3
call fcn.140001100
int3