Function at 0x14002eb40
Capabilities:
Prepare http request
Receive http response

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [r11 - 0x80], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rdx]
lea rdx, [0x14011d5d8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14002ec10
mov qword [rbp + 0x3f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x37], rdi
mov byte [rbp + 0x27], dil
lea r8d, [rdi + 0x23]
lea rdx, str.Cant_create_request_to_the_server.
lea rcx, [rbp + 0x27]
call fcn.1400082f0
nop
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 9], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 1]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 1], r11
mov dword [rbp + 0x17], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1b], eax
lea rdx, [0x140185380]
lea rcx, [rbp - 1]
call sub.MSVCR100.dll__CxxThrowException
nop
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14002eca3
mov qword [rbp + 0x3f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x37], rdi
mov byte [rbp + 0x27], dil
lea r8d, [rax + 0x21]
lea rdx, str.Cant_send_request_to_the_server.
lea rcx, [rbp + 0x27]
call fcn.1400082f0
nop
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 9], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 1]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 1], r11
mov dword [rbp + 0x17], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1b], eax
lea rdx, [0x140185380]
lea rcx, [rbp - 1]
call sub.MSVCR100.dll__CxxThrowException
nop
xor edx, edx
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x14002ed24
mov qword [rbp + 0x3f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x37], rdi
mov byte [rbp + 0x27], dil
lea r8d, [rax + 0x24]
lea rdx, str.Cant_receive_request_to_the_server.
lea rcx, [rbp + 0x27]
call fcn.1400082f0
nop
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 9], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 1]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 1], r11
mov dword [rbp + 0x17], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1b], eax
lea rdx, [0x140185380]
lea rcx, [rbp - 1]
call sub.MSVCR100.dll__CxxThrowException
nop
mov dword [rbp - 9], edi
mov rax, qword [rbx]
lea r9, [rbp - 9]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400d6f80
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret