Function at 0x1400ca8b0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx + 0x1cc], 0
mov rsi, r8
mov r14, rdx
mov rbx, rcx
jne 0x1400ca9ad
cmp byte [rcx + 0xaf4], 0
jne 0x1400ca9ad
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400ca9ad
xor edx, edx
lea rcx, [rsi + 0xf]
lea r9, [rsp + 0x60]
lea r8d, [rdx + 0xa]
call fcn.1400d1870
test eax, eax
jne 0x1400ca94b
mov rax, qword [rbx + 0x728]
mov rdx, qword [rsp + 0x60]
test rax, rax
je 0x1400ca930
cmp rdx, rax
jg 0x1400ca95a
mov rcx, rbx
mov qword [rbx + 0xf0], rdx
mov qword [rbx + 0xf8], rdx
call fcn.1400cd880
jmp 0x1400cb26a
cmp eax, 1
jne 0x1400ca994
cmp qword [rbx + 0x728], 0
je 0x1400ca973
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.1400be8e0
mov eax, 0x3f
jmp 0x1400cb26c
mov edx, 2
mov rcx, r14
call fcn.1400bf460
lea rdx, str.Overflow_Content_Length:_value__n
mov rcx, rbx
call fcn.1400bea40
jmp 0x1400cb26a
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.1400be8e0
mov eax, 8
jmp 0x1400cb26c
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400ca9fc
mov rcx, rsi
call fcn.1400c96e0
mov rdi, rax
test rax, rax
je 0x1400cb1c4
cmp byte [rax], 0
je 0x1400cb126
mov rcx, qword [rbx + 0x1318]
call qword [fcn.140100268]
mov qword [rbx + 0x1318], rdi
jmp 0x1400cb26a
cmp dword [r14 + 0x1b8], 0xa
jne 0x1400caac9
cmp byte [r14 + 0x3a4], 0
je 0x1400caac9
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rsi
call fcn.1400c2bb0
test eax, eax
je 0x1400caac9
movzx eax, byte [rsi + 0x11]
lea rdi, [rsi + 0x11]
test al, al
je 0x1400caa58
movzx ecx, al
call fcn.1400eb300
test eax, eax
je 0x1400caa58
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400caa41
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400caa8d
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400caa8d
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
sub rbp, rdi
cmp rbp, 0xa
jb 0x1400caac9
nop word [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.1400c2bb0
test eax, eax
jne 0x1400cad52
dec rbp
inc rdi
cmp rbp, 0xa
jae 0x1400caaa0
cmp dword [r14 + 0x1b8], 0xb
jne 0x1400cab99
cmp byte [r14 + 0x3a4], 0
je 0x1400cab99
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rsi
call fcn.1400c2bb0
test eax, eax
je 0x1400cab99
movzx eax, byte [rsi + 0x11]
lea rdi, [rsi + 0x11]
test al, al
je 0x1400cab27
nop
movzx ecx, al
call fcn.1400eb300
test eax, eax
je 0x1400cab27
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400cab10
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400cab5c
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400cab5c
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
sub rbp, rdi
cmp rbp, 5
jb 0x1400cab99
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.1400c2bb0
test eax, eax
jne 0x1400cad70
dec rbp
inc rdi
cmp rbp, 5
jae 0x1400cab70
cmp dword [r14 + 0x1b8], 0xa
jne 0x1400cac59
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rsi
call fcn.1400c2bb0
test eax, eax
je 0x1400cac59
movzx eax, byte [rsi + 0xb]
lea rdi, [rsi + 0xb]
test al, al
je 0x1400cabe7
movzx ecx, al
call fcn.1400eb300
test eax, eax
je 0x1400cabe7
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400cabd0
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400cac1c
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400cac1c
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
sub rbp, rdi
cmp rbp, 0xa
jb 0x1400cac59
nop word [rax + rax]
mov r8d, 0xa
lea rdx, str.keep_alive
mov rcx, rdi
call fcn.1400c2bb0
test eax, eax
jne 0x1400cad91
dec rbp
inc rdi
cmp rbp, 0xa
jae 0x1400cac30
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rsi
call fcn.1400c2bb0
test eax, eax
je 0x1400cad09
movzx eax, byte [rsi + 0xb]
lea rdi, [rsi + 0xb]
test al, al
je 0x1400cac99
movzx ecx, al
call fcn.1400eb300
test eax, eax
je 0x1400cac99
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400cac82
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400cacce
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
test rax, rax
jne 0x1400cacce
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rbp, rax
sub rbp, rdi
cmp rbp, 5
jb 0x1400cad09
nop word [rax + rax]
mov r8d, 5
lea rdx, str.close
mov rcx, rdi
call fcn.1400c2bb0
test eax, eax
jne 0x1400cadaf
dec rbp
inc rdi
cmp rbp, 5
jae 0x1400cace0
cmp byte [rbx + 0x1cc], 0
jne 0x1400cadf9
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cadc1
lea rdx, [rsi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.1400c3070
test eax, eax
je 0x1400cb26a
jmp 0x1400cb26c
xor edx, edx
mov rcx, r14
call fcn.1400bf460
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.1400bea40
jmp 0x1400cb26a
mov edx, 1
mov rcx, r14
call fcn.1400bf460
lea rdx, str.HTTP_1.1_proxy_connection_set_close__n
mov rcx, rbx
call fcn.1400bea40
jmp 0x1400cb26a
xor edx, edx
mov rcx, r14
call fcn.1400bf460
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive__n
mov rcx, rbx
call fcn.1400bea40
jmp 0x1400cb26a
mov edx, 2
mov rcx, r14
call fcn.1400bf460
jmp 0x1400cb26a
cmp byte [rbx + 0x1cc], 0
jne 0x1400cadf9
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cadf9
cmp qword [rbx + 0x7b0], 0
je 0x1400cadf9
lea rdx, [rsi + 0x11]
xor r8d, r8d
jmp 0x1400cad3d
mov r8d, recvfrom
lea rcx, str.Retry_After:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cae69
lea rcx, [rsi + 0xc]
mov qword [rsp + 0x60], 0
call fcn.1400d1cf0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400cae52
lea r9, [rsp + 0x60]
xor edx, edx
lea r8d, [rax + 0xb]
lea rcx, [rsi + 0xc]
call fcn.1400d1870
mov rdi, qword [rsp + 0x60]
mov qword [rbx + 0x1328], rdi
jmp 0x1400cb26a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rdi, rax
mov qword [rbx + 0x1328], rdi
jmp 0x1400cb26a
cmp byte [rbx + 0x1cc], 0
jne 0x1400caf15
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Content_Range:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400caf15
movzx eax, byte [rsi + 0xe]
lea rdi, [rsi + 0xe]
test al, al
je 0x1400caebc
nop
movzx ecx, al
call fcn.1400eb280
test eax, eax
jne 0x1400caebc
cmp byte [rdi], 0x2a
je 0x1400caebc
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1400caea0
movzx ecx, byte [rdi]
call fcn.1400eb280
test eax, eax
je 0x1400caf05
xor edx, edx
lea r9, [rbx + 0x158]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1400d1870
test eax, eax
jne 0x1400cb26a
mov rax, qword [rbx + 0x158]
cmp qword [rbx + 0x1168], rax
jne 0x1400cb26a
mov byte [rbx + 0x1c9], 1
jmp 0x1400cb26a
mov qword [rbx + 0x1168], 0
jmp 0x1400cb26a
cmp qword [rbx + 0xb38], 0
je 0x1400cafc0
cmp byte [rbx + 0x128f], 0
je 0x1400cafc0
mov r8d, ntohs
lea rcx, str.Set_Cookie:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cafc0
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.1400c32c0
mov r8, qword [rbx + 0x1268]
test r8, r8
jne 0x1400caf6c
mov r8, qword [r14 + 0xa8]
mov rax, qword [r14 + 0x3f0]
lea rdx, [rsi + 0xb]
xor r9d, r9d
mov ecx, dword [rax + 0x7c]
mov rax, qword [rbx + 0x11e8]
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.1400b18b0
mov edx, 2
mov rcx, rbx
call fcn.1400c3300
jmp 0x1400cb26a
cmp byte [rbx + 0x1cc], 0
jne 0x1400cb01d
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Last_Modified:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cb01d
cmp dword [rbx + 0x560], 0
jne 0x1400caff4
cmp byte [rbx + 0xad9], 0
je 0x1400cb01d
lea rcx, [rsi + 0xe]
call fcn.1400d1cf0
mov qword [rbx + 0x188], rax
cmp byte [rbx + 0xad9], 0
je 0x1400cb26a
mov qword [rbx + 0x12f0], rax
jmp 0x1400cb26a
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cb044
mov edi, dword [rbx + 0x160]
cmp edi, 0x191
je 0x1400cb06b
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cb0ad
mov edi, dword [rbx + 0x160]
cmp edi, 0x197
jne 0x1400cb0ad
mov rcx, rsi
call fcn.1400c96e0
mov rsi, rax
test rax, rax
je 0x1400cb1c4
cmp edi, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.1400cb4d0
mov rcx, rsi
mov ebx, eax
call qword [fcn.140100268]
test ebx, ebx
je 0x1400cb26a
mov eax, ebx
jmp 0x1400cb26c
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Persistent_Auth
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cb134
cmp dword [rbx + 0xe2c], 4
jne 0x1400cb26a
mov rcx, rsi
call fcn.1400c96e0
mov rdi, rax
test rax, rax
je 0x1400cb1c4
mov r8d, 5
lea rcx, str.false
mov rdx, rax
call fcn.1400c2cd0
test eax, eax
mov byte [r14 + 0x631], 1
mov r9, rdi
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r14 + 0x630], cl
movzx r8d, cl
mov rcx, rbx
call fcn.1400bea40
mov rcx, rdi
call qword [fcn.140100268]
jmp 0x1400cb26a
mov eax, dword [rbx + 0x160]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1400cb1ce
mov r8d, 9
lea rcx, str.Location:
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cb1ce
cmp qword [rbx + 0x198], 0
jne 0x1400cb1ce
mov rcx, rsi
call fcn.1400c96e0
test rax, rax
je 0x1400cb1c4
cmp byte [rax], 0
jne 0x1400cb18b
mov rcx, rax
call qword [fcn.140100268]
jmp 0x1400cb26a
cmp byte [rbx + 0xae6], 0
mov qword [rbx + 0x198], rax
je 0x1400cb26a
mov rcx, rax
call qword [case.0x1400b39f9.0]
mov qword [rbx + 0x1a0], rax
test rax, rax
je 0x1400cb1c4
mov rdx, r14
mov rcx, rbx
call fcn.1400ccb30
jmp 0x1400cad45
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400cb26c
cmp qword [rbx + 0xb40], 0
je 0x1400cb24b
mov edi, 8
lea rcx, str.Alt_Svc:
mov r8d, edi
mov rdx, rsi
call fcn.1400c2cd0
test eax, eax
je 0x1400cb24b
mov rax, qword [r14 + 0x3f0]
test byte [rax + 0x84], 1
je 0x1400cb24b
cmp dword [r14 + 0x1b8], 0x14
mov eax, reloc.WS2_32.dll_recv
mov ecx, dword [r14 + 0x15c]
cmove edi, eax
call fcn.1400c1440
mov rdx, qword [rbx + 0xb40]
lea r8, [rsi + 8]
mov word [rsp + 0x28], ax
mov r9d, edi
mov rax, qword [r14 + 0xa8]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400c1e40
jmp 0x1400cad45
mov rax, qword [r14 + 0x3f0]
test dword [rax + 0x7c], 0x40000
je 0x1400cb26a
mov rdx, rsi
mov rcx, rbx
call fcn.1400e2100
test eax, eax
jne 0x1400cb26c
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret