Function at 0x18006ded8
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor esi, esi
mov rbp, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x1c6], sil
jne 0x18006dfcb
cmp byte [rcx + 0xa2f], sil
jne 0x18006dfcb
lea r8d, [rsi + 0xf]
mov rcx, rbp
lea rdx, str.Content_Length:
call fcn.180067db8
test eax, eax
je 0x18006dfcb
lea rcx, str.Content_Length:
call fcn.1800bb450
lea r9, [rsp + 0x70]
xor edx, edx
lea r8d, [rsi + 0xa]
lea rcx, [rax + rbp]
call fcn.180071f94
test eax, eax
jne 0x18006df72
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0xe8], rax
mov qword [rdi + 0xf0], rax
xor eax, eax
jmp 0x18006e746
cmp eax, 1
jne 0x18006dfb2
cmp qword [rdi + 0x6d8], rsi
je 0x18006df99
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1800640d0
mov eax, 0x3f
jmp 0x18006e746
mov edx, 2
mov rcx, r14
call fcn.180064f3c
lea rdx, str.Overflow_Content_Length:_value
jmp 0x18006e692
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rdi
call fcn.1800640d0
mov eax, 8
jmp 0x18006e746
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e01a
mov rcx, rbp
call fcn.18006ce2c
mov rbx, rax
test rax, rax
je 0x18006e627
cmp byte [rax], sil
je 0x18006e584
mov rcx, qword [rdi + 0x12f0]
call qword [fcn.1800b5f60]
mov qword [rdi + 0x12f0], rbx
jmp 0x18006df6b
mov ebx, 0xa
lea r13d, [rbx + 7]
cmp byte [r14 + 0x617], bl
jne 0x18006e06d
cmp byte [r14 + 0x2c8], sil
je 0x18006e06d
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbx
mov r8d, r13d
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.18006cd7c
test al, al
je 0x18006e06d
xor edx, edx
mov rcx, r14
call fcn.180064f3c
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x18006e692
mov r15d, 5
lea r12d, [r15 + 6]
cmp byte [r14 + 0x617], r12b
jne 0x18006e0c3
cmp byte [r14 + 0x2c8], sil
je 0x18006e0c3
lea r9, str.close
mov qword [rsp + 0x20], r15
mov r8, r13
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.18006cd7c
test al, al
je 0x18006e0c3
lea edx, [r15 - 4]
mov rcx, r14
call fcn.180064f3c
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x18006e692
cmp byte [r14 + 0x617], bl
jne 0x18006e104
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbx
mov r8, r12
lea rdx, str.Connection:
mov rcx, rbp
call fcn.18006cd7c
test al, al
je 0x18006e104
xor edx, edx
mov rcx, r14
call fcn.180064f3c
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x18006e692
lea r9, str.close
mov qword [rsp + 0x20], r15
mov r8, r12
lea rdx, str.Connection:
mov rcx, rbp
call fcn.18006cd7c
test al, al
je 0x18006e138
mov edx, 2
mov rcx, r14
call fcn.180064f3c
jmp 0x18006df6b
cmp byte [rdi + 0x1c6], sil
jne 0x18006e1f8
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e1a8
lea rcx, str.Transfer_Encoding:
call fcn.1800bb450
mov r8d, 1
mov rcx, rdi
lea rdx, [rax + rbp]
call fcn.180067ff4
test eax, eax
jne 0x18006e746
cmp byte [rdi + 0x1c7], sil
jne 0x18006df6b
lea edx, [rax + 1]
mov rcx, r14
call fcn.180064f3c
mov byte [rdi + 0x1c8], 1
jmp 0x18006df6b
cmp byte [rdi + 0x1c6], sil
jne 0x18006e1f8
mov r8, r13
lea rdx, str.Content_Encoding:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e1f8
cmp qword [rdi + 0x730], rsi
je 0x18006e1f8
lea rcx, str.Content_Encoding:
call fcn.1800bb450
xor r8d, r8d
mov rcx, rdi
lea rdx, [rax + rbp]
call fcn.180067ff4
test eax, eax
je 0x18006df6b
jmp 0x18006e746
lea r15, str.Retry_After:
mov r8d, recv
mov rdx, r15
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e275
mov rcx, r15
mov qword [rsp + 0x70], rsi
call fcn.1800bb450
lea r9, [rsp + 0x70]
mov r8d, ebx
xor edx, edx
lea rcx, [rax + rbp]
call fcn.180071f94
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x18006e269
mov rcx, r15
call fcn.1800bb450
lea rcx, [rax + rbp]
call fcn.180072118
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18006e264
xor ecx, ecx
call fcn.1800c66b0
sub rbx, rax
jmp 0x18006e269
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x1300], rbx
jmp 0x18006df6b
mov r15d, send
cmp byte [rdi + 0x1c6], sil
jne 0x18006e327
mov r8d, r15d
lea rdx, str.Content_Range:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e327
lea rcx, str.Content_Range:
call fcn.1800bb450
lea r10, [rax + rbp]
mov al, byte [r10]
test al, al
je 0x18006e2da
mov cl, al
cmp cl, 0x30
jl 0x18006e2c7
mov al, cl
cmp cl, 0x39
jle 0x18006e2da
mov al, cl
cmp cl, 0x2a
je 0x18006e2da
inc r10
mov al, byte [r10]
mov cl, al
test al, al
jne 0x18006e2bb
sub al, 0x30
cmp al, 9
ja 0x18006e31b
lea r14, [rdi + 0x140]
mov r8d, ebx
mov r9, r14
xor edx, edx
mov rcx, r10
call fcn.180071f94
test eax, eax
jne 0x18006df6b
mov rax, qword [r14]
cmp qword [rdi + 0x10f0], rax
jne 0x18006df6b
mov byte [rdi + 0x1c3], 1
jmp 0x18006df6b
mov qword [rdi + 0x10f0], rsi
jmp 0x18006df6b
cmp qword [rdi + 0xa48], rsi
je 0x18006e416
cmp byte [rdi + 0x12ad], sil
je 0x18006e416
mov r8, r12
lea rdx, str.Set_Cookie:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e416
mov r15, qword [rdi + 0x1268]
test r15, r15
jne 0x18006e36b
mov r15, qword [r14 + 0x70]
mov rax, qword [r14 + 0x2e8]
mov ebx, 2
test byte [rax + 0x84], bl
jne 0x18006e3b8
mov rdx, r15
lea rcx, str.localhost
call fcn.180067d9c
test eax, eax
jne 0x18006e3b8
lea rdx, str.127.0.0.1
mov rcx, r15
call fcn.1800bb3d0
test eax, eax
je 0x18006e3b8
lea rdx, [0x18033d1d0]
mov rcx, r15
call fcn.1800bb3d0
test eax, eax
jne 0x18006e3bb
mov sil, 1
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.180068314
lea rcx, str.Set_Cookie:
call fcn.1800bb450
mov rcx, qword [rdi + 0x1148]
add rax, rbp
mov rdx, qword [rdi + 0xa48]
xor r9d, r9d
mov byte [rsp + 0x38], sil
mov r8b, 1
mov qword [rsp + 0x30], rcx
mov rcx, rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.180057314
mov edx, ebx
mov rcx, rdi
call fcn.18006834c
jmp 0x18006df6b
cmp byte [rdi + 0x1c6], sil
jne 0x18006e47c
mov r8, r15
lea rdx, str.Last_Modified:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e47c
cmp byte [rdi + 0x518], sil
jne 0x18006e447
cmp byte [rdi + 0xa19], sil
je 0x18006e47c
lea rcx, str.Last_Modified:
call fcn.1800bb450
lea rcx, [rax + rbp]
call fcn.180072118
mov qword [rdi + 0x170], rax
cmp byte [rdi + 0xa19], sil
je 0x18006df6b
mov qword [rdi + 0x12c8], rax
jmp 0x18006df6b
mov r8, r13
lea rdx, str.WWW_Authenticate:
mov rcx, rbp
call fcn.180067db8
mov r15d, 0x197
test eax, eax
je 0x18006e4a6
mov ebx, dword [rdi + 0x148]
cmp ebx, 0x191
je 0x18006e4ca
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e509
mov ebx, dword [rdi + 0x148]
cmp ebx, r15d
jne 0x18006e509
mov rcx, rbp
call fcn.18006ce2c
mov rbp, rax
test rax, rax
je 0x18006e627
cmp ebx, r15d
mov r8, rax
mov rcx, rdi
sete dl
call fcn.18006e9b0
mov rcx, rbp
mov ebx, eax
call qword [fcn.1800b5f60]
test ebx, ebx
je 0x18006df6b
mov eax, ebx
jmp 0x18006e746
mov ebx, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov r8d, ebx
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e592
cmp dword [rdi + 0xd54], 4
jne 0x18006df6b
mov rcx, rbp
call fcn.18006ce2c
mov rbx, rax
test rax, rax
je 0x18006e627
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.180067db8
test eax, eax
mov byte [r14 + 0x529], 1
mov r9, rbx
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r14 + 0x528], cl
movzx r8d, cl
mov rcx, rdi
call fcn.18006419c
mov rcx, rbx
call qword [fcn.1800b5f60]
jmp 0x18006df6b
mov eax, dword [rdi + 0x148]
sub eax, 0x12c
cmp eax, 0x63
ja 0x18006e631
mov r8d, 9
lea rdx, str.Location:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e631
cmp qword [rdi + 0x180], rsi
jne 0x18006e631
mov rcx, rbp
call fcn.18006ce2c
test rax, rax
je 0x18006e627
cmp byte [rax], sil
jne 0x18006e5df
mov rcx, rax
jmp 0x18006e587
mov qword [rdi + 0x180], rax
cmp byte [rdi + 0xa21], sil
je 0x18006df6b
mov rcx, rax
call qword [case.0x1800602a2.1]
mov qword [rdi + 0x188], rax
test rax, rax
je 0x18006e627
mov rdx, r14
mov rcx, rdi
call fcn.1800702bc
test eax, eax
jne 0x18006e746
mov byte [rdi + 0x12a1], 1
jmp 0x18006df6b
mov eax, 0x1b
jmp 0x18006e746
cmp qword [rdi + 0xa50], rsi
je 0x18006e69f
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e69f
mov rax, qword [r14 + 0x2e8]
test byte [rax + 0x8c], 1
je 0x18006e69f
lea rcx, str.Strict_Transport_Security:
call fcn.1800bb450
mov rdx, qword [r14 + 0x70]
mov rcx, qword [rdi + 0xa50]
lea r8, [rax + rbp]
call fcn.1800672b4
test eax, eax
je 0x18006df6b
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rdi
call fcn.18006419c
jmp 0x18006df6b
cmp qword [rdi + 0xa58], rsi
je 0x18006e735
mov r15d, 8
lea rdx, str.Alt_Svc:
mov r8d, r15d
mov rcx, rbp
call fcn.180067db8
test eax, eax
je 0x18006e735
mov rax, qword [r14 + 0x2e8]
test byte [rax + 0x8c], 1
je 0x18006e735
mov al, byte [r14 + 0x617]
cmp al, 0x1e
jne 0x18006e6eb
mov r15d, 0x20
jmp 0x18006e6f1
cmp al, 0x14
cmove r15d, ebx
mov ecx, dword [r14 + 0x604]
call fcn.180065dd0
lea rcx, str.Alt_Svc:
movzx ebx, ax
call fcn.1800bb450
mov rcx, qword [r14 + 0x70]
mov r9d, r15d
mov rdx, qword [rdi + 0xa58]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rcx
lea r8, [rax + rbp]
mov rcx, rdi
call fcn.1800663fc
jmp 0x18006e1eb
mov rax, qword [r14 + 0x2e8]
movzx eax, word [rax + 0x86]
and eax, 4
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret