Function at 0x14008b0b8
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa88]
sub rsp, 0xb88
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140249670]
xor rax, rsp
mov qword [rbp + 0xa70], rax
mov r15, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
mov r13, qword [rbp + 0xaf0]
mov dword [rsp + 0x30], 0x200
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x70]
call fcn.140002d10
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea rcx, [rbp + 0x70]
call fcn.14016f0f8
mov ebx, eax
mov rcx, r14
call fcn.14005f960
mov r8, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [r8 + 0x38]
call fcn.140067f0c
mov rdi, rax
test rax, rax
je 0x14008b1d1
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 5
jl 0x14008b1d1
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.14005ba84
nop
lea rdx, str.Received_response_code
lea rcx, [rsp + 0x40]
call fcn.14002e2d0
mov rcx, rax
mov edx, ebx
call fcn.14002a180
mov rbx, qword [rdi]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r8, rax
lea r9, [rsp + 0x40]
mov edx, 5
mov rcx, rdi
call qword [rbx + 0x18]
nop
lea rcx, [rsp + 0x40]
call fcn.14001bb60
mov dword [rsp + 0x30], 0x800
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x270]
call fcn.140002d10
xor ebx, ebx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x270]
xor r8d, r8d
lea edx, [rbx + 1]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp word [rbp + 0x270], bx
je 0x14008b2c7
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x30]
call fcn.140082d5c
nop
mov rcx, r14
call fcn.14005f960
mov r8, qword [rax]
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [r8 + 0x60]
call fcn.140067f0c
mov rdi, rax
test rax, rax
je 0x14008b2be
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 5
jl 0x14008b2be
lea edx, [rbx + 2]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14005ba84
nop
lea rdx, str.Received_content_type
lea rcx, [rsp + 0x40]
call fcn.14002e2d0
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.14000d710
mov rbx, qword [rdi]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r8, rax
lea r9, [rsp + 0x40]
mov edx, 5
mov rcx, rdi
call qword [rbx + 0x18]
nop
lea rcx, [rsp + 0x40]
call fcn.14001bb60
xor ebx, ebx
lea rcx, [rbp + 0x30]
call fcn.14000b980
mov r14d, ebx
call fcn.140067f0c
mov rdi, rax
test rax, rax
je 0x14008b336
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 5
jl 0x14008b336
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.14005ba84
nop
lea rdx, str.Received_headers:
lea rcx, [rsp + 0x40]
call fcn.14002e2d0
mov rbx, qword [rdi]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r8, rax
lea r9, [rsp + 0x40]
mov edx, 5
mov rcx, rdi
call qword [rbx + 0x18]
nop
lea rcx, [rsp + 0x40]
call fcn.14001bb60
xor ebx, ebx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edi, [r9 + 0x16]
mov edx, edi
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14008b464
mov edx, dword [rsp + 0x30]
shr rdx, 1
lea rcx, [rbp + 0x30]
call fcn.14008a6c8
nop
lea rcx, [rbp + 0x30]
call fcn.140068510
mov r9, rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, edi
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov r14d, eax
test eax, eax
je 0x14008b45b
lea rcx, [rbp + 0x30]
call fcn.140068510
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140082d5c
nop
call fcn.140067f0c
mov rdi, rax
test rax, rax
je 0x14008b42b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 5
jl 0x14008b42b
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.14005ba84
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14000d710
mov rbx, qword [rdi]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r8, rax
lea r9, [rsp + 0x40]
mov edx, 5
mov rcx, rdi
call qword [rbx + 0x18]
nop
lea rcx, [rsp + 0x40]
call fcn.14001bb60
lea rcx, [rbp + 0x50]
call fcn.14000afd0
mov rdx, rax
lea rax, [r15 + 0x10]
neg r15
sbb rcx, rcx
and rcx, rax
call fcn.14000d710
mov eax, dword [rsp + 0x30]
mov qword [r13], rax
lea rcx, [rbp + 0x50]
call fcn.14000b980
nop
lea rcx, [rbp + 0x30]
call fcn.14008ae6c
cmp r14d, 1
sete al
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.14015ade0
add rsp, 0xb88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret