Function at 0x7ff7871c0790
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x7ff78748c040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx esi, r8b
mov r14d, edx
mov rdi, rcx
mov rcx, qword [rcx + 8]
call fcn.7ff7871a7b20
cmp qword [rax + 0x1a0], 0
jne 0x7ff7871c08e8
xor edx, edx
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.winhttp.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x7ff7871c0ae4
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov ecx, 0x20
call fcn.7ff78718e8f0
mov qword [rbp - 0x20], 0x19
mov qword [rbp - 0x18], 0x1f
movups xmm0, xmmword [0x7ff78738bde8]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x7ff78738bdf8]
movsd qword [rax + 0x10], xmm1
movzx edx, byte [0x7ff78738be00]
mov byte [rax + 0x18], dl
mov byte [rax + 0x19], 0
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.7ff7871bbd50
nop
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.7ff7871a8c20
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x7ff7871c088f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7871c088a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7871c088a
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff78718e8e8
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x7ff7871c0ae4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7871c0adf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7871c0adf
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rdi + 8]
call fcn.7ff7871a7b20
mov rbx, qword [rax + 0x1a0]
mov eax, 0x10000
test rbx, rbx
cmove rbx, rax
cmp qword [rdi + 0x60], 0
jne 0x7ff7871c099c
cmp r14, rbx
jae 0x7ff7871c092a
test sil, sil
jne 0x7ff7871c092a
mov rdx, qword [rdi + 0x40]
mov rcx, rdi
call fcn.7ff7871a7c70
jmp 0x7ff7871c0ae4
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.7ff7871a75b0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x7ff7871c0b0b
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xe0]
test rax, rax
jne 0x7ff7871c0974
lea rcx, [rdi + 0xe0]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
cmp rbx, rax
jbe 0x7ff7871c0970
mov rdx, rbx
call fcn.7ff78711ffd0
xor eax, eax
jmp 0x7ff7871c097b
mov qword [rdi + 0xf8], rbx
mov qword [rdi + 0xd8], rax
mov rsi, rax
test rax, rax
jne 0x7ff7871c0991
mov rsi, qword [rdi + 0xe0]
lea rcx, [rbp - 0x30]
call fcn.7ff787159d10
jmp 0x7ff7871c09d4
lea rcx, [rdi + 0x100]
mov rsi, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rsi
cmp rax, rbx
jae 0x7ff7871c09d4
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x7ff7871c0b05
mov rdx, rbx
call fcn.7ff7871b9b20
mov rsi, qword [rdi + 0x100]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.winhttp.dll_WinHttpReadData]
test eax, eax
jne 0x7ff7871c0ae4
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], 0xf
movsd xmm0, qword [0x7ff78738be08]
movsd qword [rbp - 0x50], xmm0
mov ecx, dword [0x7ff78738be10]
mov dword [rbp - 0x48], ecx
movzx ecx, word [0x7ff78738be14]
mov word [rbp - 0x44], cx
movzx ecx, byte [0x7ff78738be16]
mov byte [rbp - 0x42], cl
mov byte [rbp - 0x41], 0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.7ff7871bbd50
nop
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.7ff7871a8c20
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x7ff7871c0a92
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7871c0a8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7871c0a8d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff78718e8e8
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x7ff7871c0ae4
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7871c0adf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7871c0adf
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff78718e8e8
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.7ff78718ed30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.7ff78711f490
nop
lea rdx, [0x7ff78744b278]
lea rcx, [rbp - 0x50]
call fcn.7ff787154b00
lea rdx, [0x7ff7874862a0]
lea rcx, [rbp - 0x50]
call sub.vcruntime140.dll__CxxThrowException
int3