Function at 0x1401202bc
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov rax, qword [rcx + 8]
mov rbx, qword [rax + 0x290]
test rbx, rbx
jne 0x1401203de
xor edx, edx
mov rcx, qword [rcx + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x14012053d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.WinHttpQueryDataAvaliable
lea rcx, [rbp + 0xf]
call fcn.14000f054
nop
lea r8, [rbp + 0xf]
mov edx, ebx
lea rcx, [rbp - 0x11]
call fcn.14011e404
nop
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.14011c92c
nop
mov ebx, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x14012038a
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rbx
jb 0x140120385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140120385
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
movdqa xmm0, xmmword [0x1401cfe10]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14012053d
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rbx
jb 0x1401203d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401203d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
jmp 0x14012053d
mov eax, edx
cmp rax, rbx
jae 0x1401203f8
test r8b, r8b
jne 0x1401203f8
mov rdx, qword [rcx + 0x40]
call fcn.14011c82c
jmp 0x14012053d
lea rdx, [rbp + 0xf]
call fcn.14011ceb0
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14012055e
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0xe0]
call qword [case.0x140055453.0]
test rax, rax
jne 0x140120444
lea rcx, [rdi + 0xb0]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
cmp rbx, rax
jbe 0x140120442
mov rdx, rbx
call fcn.1400e1c90
xor eax, eax
mov qword [rdi + 0xa8], rax
mov rdx, rax
test rax, rax
jne 0x14012045a
mov rdx, qword [rdi + 0xb0]
xor r9d, r9d
mov r8d, ebx
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140120534
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1401ce908]
lea rcx, [rbp + 0x2f]
call fcn.14000f054
nop
lea r8, [rbp + 0x2f]
mov edx, ebx
lea rcx, [rbp - 0x11]
call fcn.14011e404
nop
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.14011c92c
nop
mov ebx, 0x1000
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1401204e8
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rbx
jb 0x1401204e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401204e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
movdqa xmm0, xmmword [0x1401cfe10]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x140120534
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, rbx
jb 0x14012052e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012052e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
nop
lea rcx, [rbp + 0xf]
call fcn.1400bb494
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140154030
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, str.Invalid_streambuf_object
lea rcx, [rbp - 0x11]
call fcn.14003b3b8
lea rdx, [0x14022b1d8]
lea rcx, [rbp - 0x11]
call fcn.1401556e8
int3