Function at 0x1400bd42c
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14029f3b8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov rax, qword [rcx + 8]
mov rbx, qword [rax + 0x2f0]
test rbx, rbx
jne 0x1400bd4f1
xor edx, edx
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1400bd664
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
and qword [rbp - 0x40], 0
mov esi, 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x50], 0
lea r8d, [rsi + 0xa]
lea rdx, str.WinHttpQueryDataAvaliable
lea rcx, [rbp - 0x50]
call fcn.140016120
nop
lea r8, [rbp - 0x50]
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400b9fd0
nop
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.1400b52a0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400bd4df
inc rdx
mov rcx, qword [rbp - 0x30]
call fcn.140016264
and qword [rbp - 0x20], 0
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x30], 0
jmp 0x1400bd64e
cmp qword [rcx + 0x60], 0
jne 0x1400bd58c
mov eax, edx
cmp rax, rbx
jae 0x1400bd516
test r8b, r8b
jne 0x1400bd516
mov rdx, qword [rcx + 0x40]
call fcn.1400b51a8
jmp 0x1400bd664
lea rdx, [rbp - 0x30]
call fcn.1400b5ab4
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400bd68c
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0xe0]
call qword [case.0x14003d846.0]
test rax, rax
jne 0x1400bd564
lea rcx, [rdi + 0xe0]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
cmp rbx, rax
jbe 0x1400bd560
mov rdx, rbx
call fcn.1400920a8
xor eax, eax
jmp 0x1400bd56b
mov qword [rdi + 0xf8], rbx
mov qword [rdi + 0xd8], rax
mov rsi, rax
test rax, rax
jne 0x1400bd581
mov rsi, qword [rdi + 0xe0]
lea rcx, [rbp - 0x30]
call fcn.1400887e4
jmp 0x1400bd5c4
add rcx, 0x100
mov rsi, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rsi
cmp rax, rbx
jae 0x1400bd5c4
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x1400bd686
mov rdx, rbx
call fcn.1400c1d78
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 0x1400bd664
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
and qword [rbp - 0x40], 0
mov esi, 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x50], 0
mov r8d, esi
lea rdx, [0x140256270]
lea rcx, [rbp - 0x50]
call fcn.140016120
nop
lea r8, [rbp - 0x50]
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400b9fd0
nop
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.1400b52a0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400bd641
inc rdx
mov rcx, qword [rbp - 0x30]
call fcn.140016264
and qword [rbp - 0x20], 0
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400bd664
inc rdx
mov rcx, qword [rbp - 0x50]
call fcn.140016264
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140220ed0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002e924
nop
lea rdx, str.Invalid_streambuf_object
lea rcx, [rbp - 0x50]
call fcn.14006d998
lea rdx, [0x140294798]
lea rcx, [rbp - 0x50]
call fcn.1402230c0
int3