Function at 0x1400803b0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
cmp byte [rcx + 0x1cc], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x1400804af
cmp byte [rcx + 0xaf4], 0
jne 0x1400804af
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x1400804af
xor edx, edx
lea rcx, [rdi + 0xf]
lea r9, [rsp + 0x50]
lea r8d, [rdx + 0xa]
call fcn.140089850
test eax, eax
jne 0x14008044d
mov rax, qword [rbx + 0x728]
mov rdx, qword [rsp + 0x50]
test rax, rax
je 0x140080432
cmp rdx, rax
jg 0x14008045c
mov rcx, rbx
mov qword [rbx + 0xf0], rdx
mov qword [rbx + 0xf8], rdx
call fcn.140084ca0
jmp 0x140080a71
cmp eax, 1
jne 0x140080496
cmp qword [rbx + 0x728], 0
je 0x140080475
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.140078340
mov eax, 0x3f
jmp 0x140080a73
mov edx, 2
mov rcx, rsi
call fcn.140078f00
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, rbx
call fcn.140078430
jmp 0x140080a71
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.140078340
mov eax, 8
jmp 0x140080a73
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x140080508
mov rcx, rdi
call fcn.14007f420
mov rdi, rax
test rax, rax
je 0x1400809cd
cmp byte [rax], 0
jne 0x1400804ef
mov rcx, rax
call qword [fcn.1400b6af4]
jmp 0x140080a71
mov rcx, qword [rbx + 0x1348]
call qword [fcn.1400b6af4]
mov qword [rbx + 0x1348], rdi
jmp 0x140080a71
cmp dword [rsi + 0x1b8], 0xa
jne 0x140080552
cmp byte [rsi + 0x36c], 0
je 0x140080552
lea r8, str.keep_alive
mov rcx, rdi
lea rdx, str.Proxy_Connection:
call fcn.14007f330
test al, al
je 0x140080552
xor edx, edx
mov rcx, rsi
call fcn.140078f00
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.140078430
jmp 0x140080a71
cmp dword [rsi + 0x1b8], 0xb
jne 0x14008059f
cmp byte [rsi + 0x36c], 0
je 0x14008059f
lea r8, str.close
mov rcx, rdi
lea rdx, str.Proxy_Connection:
call fcn.14007f330
test al, al
je 0x14008059f
mov edx, 1
mov rcx, rsi
call fcn.140078f00
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbx
call fcn.140078430
jmp 0x140080a71
cmp dword [rsi + 0x1b8], 0xa
jne 0x1400805e0
lea r8, str.keep_alive
mov rcx, rdi
lea rdx, str.Connection:
call fcn.14007f330
test al, al
je 0x1400805e0
xor edx, edx
mov rcx, rsi
call fcn.140078f00
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.140078430
jmp 0x140080a71
lea r8, str.close
mov rcx, rdi
lea rdx, str.Connection:
call fcn.14007f330
test al, al
je 0x14008060c
mov edx, 2
mov rcx, rsi
call fcn.140078f00
jmp 0x140080a71
cmp byte [rbx + 0x1cc], 0
jne 0x140080682
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x14008064d
lea rdx, [rdi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.14007c270
test eax, eax
je 0x140080a71
jmp 0x140080a73
cmp byte [rbx + 0x1cc], 0
jne 0x140080682
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x140080682
cmp qword [rbx + 0x7b0], 0
je 0x140080682
lea rdx, [rdi + 0x11]
xor r8d, r8d
jmp 0x140080638
mov r8d, ntohs
lea rcx, str.Retry_After:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x1400806f3
lea rsi, [rdi + 0xc]
mov qword [rsp + 0x50], 0
mov rcx, rsi
call fcn.140089cd0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400806dd
lea r9, [rsp + 0x50]
xor edx, edx
lea r8d, [rax + 0xb]
mov rcx, rsi
call fcn.140089850
mov rdi, qword [rsp + 0x50]
mov qword [rbx + 0x1358], rdi
jmp 0x140080a71
xor ecx, ecx
call fcn.1400bcf64
sub rdi, rax
mov qword [rbx + 0x1358], rdi
jmp 0x140080a71
cmp byte [rbx + 0x1cc], 0
jne 0x1400807a5
mov r8d, reloc.WLDAP32.dll_Ordinal_14
lea rcx, str.Content_Range:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x1400807a5
movzx eax, byte [rdi + 0xe]
add rdi, 0xe
test al, al
je 0x14008074c
nop dword [rax]
movzx ecx, al
call fcn.14009f4c0
test eax, eax
jne 0x14008074c
cmp byte [rdi], 0x2a
je 0x14008074c
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140080730
movzx ecx, byte [rdi]
call fcn.14009f4c0
test eax, eax
je 0x140080795
xor edx, edx
lea r9, [rbx + 0x158]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.140089850
test eax, eax
jne 0x140080a71
mov rax, qword [rbx + 0x158]
cmp qword [rbx + 0x1198], rax
jne 0x140080a71
mov byte [rbx + 0x1c9], 1
jmp 0x140080a71
mov qword [rbx + 0x1198], 0
jmp 0x140080a71
cmp qword [rbx + 0xb38], 0
je 0x140080850
cmp byte [rbx + 0x12bf], 0
je 0x140080850
mov r8d, ntohs
lea rcx, str.Set_Cookie:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x140080850
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.14007c540
mov r8, qword [rbx + 0x1298]
test r8, r8
jne 0x1400807fc
mov r8, qword [rsi + 0xa8]
mov rax, qword [rsi + 0x3b8]
lea rdx, [rdi + 0xb]
xor r9d, r9d
mov ecx, dword [rax + 0x7c]
mov rax, qword [rbx + 0x1218]
shr ecx, 1
and cl, 1
mov byte [rsp + 0x38], cl
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov r8b, 1
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbx + 0xb38]
call fcn.14006dcc0
mov edx, 2
mov rcx, rbx
call fcn.14007c580
jmp 0x140080a71
cmp byte [rbx + 0x1cc], 0
jne 0x1400808ad
mov r8d, reloc.WLDAP32.dll_Ordinal_14
lea rcx, str.Last_Modified:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x1400808ad
cmp dword [rbx + 0x560], 0
jne 0x140080884
cmp byte [rbx + 0xad9], 0
je 0x1400808ad
lea rcx, [rdi + 0xe]
call fcn.140089cd0
mov qword [rbx + 0x188], rax
cmp byte [rbx + 0xad9], 0
je 0x140080a71
mov qword [rbx + 0x1320], rax
jmp 0x140080a71
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x1400808d4
mov ebp, dword [rbx + 0x160]
cmp ebp, 0x191
je 0x1400808fb
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x14008093d
mov ebp, dword [rbx + 0x160]
cmp ebp, 0x197
jne 0x14008093d
mov rcx, rdi
call fcn.14007f420
mov rdi, rax
test rax, rax
je 0x1400809cd
cmp ebp, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.140080ce0
mov rcx, rdi
mov ebx, eax
call qword [fcn.1400b6af4]
test ebx, ebx
je 0x140080a71
mov eax, ebx
jmp 0x140080a73
mov eax, dword [rbx + 0x160]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1400809d7
mov r8d, 9
lea rcx, str.Location:
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x1400809d7
cmp qword [rbx + 0x198], 0
jne 0x1400809d7
mov rcx, rdi
call fcn.14007f420
test rax, rax
je 0x1400809cd
cmp byte [rax], 0
jne 0x140080994
mov rcx, rax
call qword [fcn.1400b6af4]
jmp 0x140080a71
cmp byte [rbx + 0xae6], 0
mov qword [rbx + 0x198], rax
je 0x140080a71
mov rcx, rax
call qword [case.0x14006fa99.0]
mov qword [rbx + 0x1a0], rax
test rax, rax
je 0x1400809cd
mov rdx, rsi
mov rcx, rbx
call fcn.140082450
jmp 0x140080640
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140080a73
cmp qword [rbx + 0xb40], 0
je 0x140080a52
mov ebp, 8
lea rcx, str.Alt_Svc:
mov r8d, ebp
mov rdx, rdi
call fcn.14007c070
test eax, eax
je 0x140080a52
mov rax, qword [rsi + 0x3b8]
test byte [rax + 0x84], 1
je 0x140080a52
cmp dword [rsi + 0x1b8], 0x14
mov eax, reloc.WS2_32.dll_recv
mov ecx, dword [rsi + 0x15c]
cmove ebp, eax
call fcn.14007aa00
mov rdx, qword [rbx + 0xb40]
lea r8, [rdi + 8]
mov word [rsp + 0x28], ax
mov r9d, ebp
mov rax, qword [rsi + 0xa8]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14007b130
jmp 0x140080640
mov rax, qword [rsi + 0x3b8]
test dword [rax + 0x7c], 0x40000
je 0x140080a71
mov rdx, rdi
mov rcx, rbx
call fcn.140096440
test eax, eax
jne 0x140080a73
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret