Function at 0x140015e70
Capabilities:
Read http header
Receive http response

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rsp + 0x148], rbx
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov esi, r8d
mov r12, rdx
mov r14, rcx
mov ecx, r8d
call fcn.1400d6a4c
mov rbx, rax
mov qword [rbp - 0x61], rax
mov dword [rsp + 0x30], 1
xor r15d, r15d
mov word [rbp - 0x29], r15w
xor eax, eax
mov qword [rbp - 0x27], rax
mov qword [rbp - 0x1f], rax
mov qword [rbp - 0x17], rax
mov qword [rbp - 0xf], rax
mov qword [rbp - 7], rax
mov qword [rbp + 1], rax
mov qword [rbp + 9], rax
mov dword [rbp + 0x11], eax
mov word [rbp + 0x15], ax
mov dword [rsp + 0x34], 0x40
mov edi, r15d
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
lea edx, [r15 + 5]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140015f9c
mov qword [rbp - 0x41], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], dil
lea r8d, [r15 + 0x78]
lea rdx, str.Error_by_receiving_data_from_server___asynchronously__._Available_data_size_is_unknown._Cant_get_content_length_header.
lea rcx, [rbp - 0x59]
call fcn.1400082f0
nop
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rax, qword [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
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 [rsp + 0x40], r11
mov dword [rbp - 0x71], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x6d], eax
lea rdx, [0x140185380]
lea rcx, [rsp + 0x40]
call sub.MSVCR100.dll__CxxThrowException
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCR100.dll__wtoi]
mov r13d, eax
cmp dword [rsp + 0x30], edi
je 0x140016089
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rbx
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140016011
mov r9d, dword [rsp + 0x30]
add edi, r9d
test r9d, r9d
je 0x140016089
mov rax, qword [r12]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edi
mov r8d, esi
mov rdx, rbx
mov rcx, r12
call qword [rax]
test al, al
je 0x14001600f
cmp dword [rsp + 0x30], r15d
jne 0x140015fc0
jmp 0x140016089
jmp 0x140016089
mov qword [rbp - 0x41], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], r15b
mov r8d, 0x37
lea rdx, str.Error_by_receiving_data_from_server___asynchronously__.
lea rcx, [rbp - 0x59]
call fcn.1400082f0
nop
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rax, qword [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
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 [rsp + 0x40], r11
mov dword [rbp - 0x71], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x6d], eax
lea rdx, [0x140185380]
lea rcx, [rsp + 0x40]
call sub.MSVCR100.dll__CxxThrowException
nop
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d6f80
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret