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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, str.User_Agent:_KernelChecker_1.0_r_nContent_Type:_text_html__charsetutf_8
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
jne 0x1400015be
mov ecx, 0x40
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0x21
mov qword [rsp + 0x48], 0x19
movups xmm0, xmmword [0x140083144]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x140083134]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Failed_to_open_a_session.]
movups xmmword [rax], xmm0
mov dword [rax + 0x30], 0x2e
lea rcx, section..data
lea rdx, [rsp + 0x40]
call method.Logger.Error_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x40], 1
je 0x1400015be
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
test byte [rdi], 1
je 0x1400015c9
mov rdi, qword [rdi + 0x10]
jmp 0x1400015cd
add rdi, 2
mov rcx, rsi
mov rdx, rdi
mov r8w, 0x1bb
xor r9d, r9d
mov qword [rsp + 0x68], rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
test rax, rax
jne 0x140001662
mov ecx, 0x50
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0x29
mov qword [rsp + 0x48], 0x20
movups xmm0, xmmword [0x140083188]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x140083178]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x140083168]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Failed_to_connect_to_the_server.]
movups xmmword [rax], xmm0
mov word [rax + 0x40], 0
lea rcx, section..data
lea rdx, [rsp + 0x40]
call method.Logger.Error_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x40], 1
je 0x140001662
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
test byte [r14], 1
je 0x14000166e
mov r14, qword [r14 + 0x10]
jmp 0x140001672
add r14, 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x800000
lea rdx, [0x14008319a]
mov rcx, rdi
mov r8, r14
xor r9d, r9d
mov qword [rsp + 0x70], rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x140001724
mov ecx, 0x50
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0x29
mov qword [rsp + 0x48], 0x25
movups xmm0, xmmword [0x1400831dc]
movups xmmword [rax + 0x3a], xmm0
movups xmm0, xmmword [0x1400831d2]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x1400831c2]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400831b2]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Failed_to_open_request_to_the_server.]
movups xmmword [rax], xmm0
mov word [rax + 0x4a], 0
lea rcx, section..data
lea rdx, [rsp + 0x40]
call method.Logger.Error_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x40], 1
je 0x140001724
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, r14
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400017d1
mov ecx, 0x50
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0x29
mov qword [rsp + 0x48], 0x25
movups xmm0, xmmword [0x140083228]
movups xmmword [rax + 0x3a], xmm0
movups xmm0, xmmword [0x14008321e]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x14008320e]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400831fe]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Failed_to_send_request_to_the_server.]
movups xmmword [rax], xmm0
mov word [rax + 0x4a], 0
lea rcx, section..data
lea rdx, [rsp + 0x40]
call method.Logger.Error_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x40], 1
je 0x1400017d1
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
mov rcx, r14
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov qword [rsp + 0x78], rbx
test eax, eax
jne 0x140001876
mov ecx, 0x60
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0x31
mov qword [rsp + 0x48], 0x2b
movups xmm0, xmmword [0x14008327a]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [0x14008326a]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x14008325a]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x14008324a]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Failed_to_receive_response_from_the_server.]
movups xmmword [rax], xmm0
movabs rcx, 0x2e007200650076
mov qword [rax + 0x4e], rcx
mov word [rax + 0x56], 0
lea rcx, section..data
lea rdx, [rsp + 0x40]
call method.Logger.Error_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x40], 1
je 0x140001876
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
mov dword [rsp + 0x64], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x60]
mov rdi, qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
lea r13, [rsp + 0x64]
mov rbx, qword [sym.imp.WINHTTP.dll_WinHttpReadData]
lea rbp, [rsp + 0x40]
nop dword [rax]
mov dword [rsp + 0x60], 0
mov rcx, r14
mov rdx, r12
call rdi
mov ecx, dword [rsp + 0x60]
inc ecx
call sym..weak._Znay.default.__clang_call_terminate
mov r15, rax
mov esi, dword [rsp + 0x60]
lea r8d, [rsi + 1]
mov rcx, rax
xor edx, edx
call sym.memset
mov rcx, r14
mov rdx, r15
mov r8d, esi
mov r9, r13
call rbx
test eax, eax
je 0x1400019d9
mov r8d, dword [rsp + 0x64]
mov rcx, rbp
mov rdx, r15
call method.std::__1::basic_string_char__std::__1::char_traits_char___std::__1::allocator_char___.append_char_const__unsigned_long_long_
mov rcx, r15
call sym..weak._ZdaPv.default.__clang_call_terminate
cmp dword [rsp + 0x60], 0
jne 0x1400018b0
test byte [rsp + 0x40], 1
lea r12, [rsp + 0x41]
mov r8, r12
je 0x140001929
mov r8, qword [rsp + 0x50]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rbx, qword [rsp + 0x78]
mov ebp, eax
cdqe
add rax, rax
test ebp, ebp
mov rcx, 0xffffffffffffffff
cmovns rcx, rax
call sym..weak._Znay.default.__clang_call_terminate
mov r15, rax
test byte [rsp + 0x40], 1
je 0x14000197a
mov r12, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
mov ecx, 0xfde9
xor edx, edx
mov r8, r12
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, r15
call sym.wcslen
mov r12, rax
movabs rax, 0x7ffffffffffffff0
cmp r12, rax
jae 0x140001b41
cmp r12, 0xb
jae 0x140001a8a
lea eax, [r12 + r12]
mov byte [rbx], al
lea r13, [rbx + 2]
test r12, r12
jne 0x140001ab5
jmp 0x140001ac6
mov ecx, 0x50
call sym..weak._Znwy.default.__clang_call_terminate
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x80], 0x29
mov qword [rsp + 0x88], 0x26
movups xmm0, xmmword [0x1400832ce]
movups xmmword [rax + 0x3c], xmm0
movups xmm0, xmmword [0x1400832c2]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x1400832b2]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400832a2]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Failed_to_read_data_from_the_response.]
movups xmmword [rax], xmm0
mov word [rax + 0x4c], 0
lea rcx, section..data
lea rdx, [rsp + 0x80]
call method.Logger.Error_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x80], 1
je 0x140001a6a
mov rcx, qword [rsp + 0x90]
call sym..weak._ZdlPv.default.__clang_call_terminate
mov rcx, r15
call sym..weak._ZdaPv.default.__clang_call_terminate
test byte [rsp + 0x40], 1
lea r12, [rsp + 0x41]
mov r8, r12
jne 0x140001924
jmp 0x140001929
mov rsi, r12
or rsi, 7
inc rsi
js 0x140001b49
lea rcx, [rsi + rsi]
call sym..weak._Znwy.default.__clang_call_terminate
mov r13, rax
mov qword [rbx + 0x10], rax
or rsi, 1
mov qword [rbx], rsi
mov qword [rbx + 8], r12
mov r8, r12
add r8, r12
mov rcx, r13
mov rdx, r15
call sym.memcpy
mov word [r13 + r12*2], 0
mov rcx, r15
call sym..weak._ZdaPv.default.__clang_call_terminate
lea rcx, section..data
mov rdx, rbx
call method.Logger.Debug_std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t____const_
test byte [rsp + 0x40], 1
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
je 0x140001b00
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
test r14, r14
je 0x140001b0e
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test rdi, rdi
je 0x140001b1c
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test rsi, rsi
je 0x140001b2a
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, rbx
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call method.std::__1::basic_string_wchar_t__std::__1::char_traits_wchar_t___std::__1::allocator_wchar_t___.__throw_length_error_abi:ue170006____const
call method.std.__throw_bad_array_new_length_abi:ue170006___
jmp 0x140001c32
mov r15, rax
test byte [rsp + 0x40], 1
je 0x140001c46
mov rcx, qword [rsp + 0x50]
call sym..weak._ZdlPv.default.__clang_call_terminate
test r14, r14
je 0x140001c54
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x70], 0
je 0x140001c67
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x68], 0
je 0x140001c7a
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call sym._Unwind_Resume
mov rcx, rax
call sym.__clang_call_terminate
mov rcx, rax
call sym.__clang_call_terminate
mov rcx, rax
call sym.__clang_call_terminate
int3