Function at 0x1400e2c40
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
movsx eax, byte [rdx]
mov rbx, rcx
mov rsi, qword [rcx + 0x18]
add eax, 0xffffffbf
mov rdi, rdx
cmp eax, 0x36
ja case.0x1400e2c8d.66
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0xe3810]
mov ecx, dword [rdx + rax*4 + 0xe37ec]
add rcx, rdx
jmp rcx
cmp qword [rbx + 0xa10], 0
je case.0x1400e2c8d.66
mov rax, qword [rsi + 0x3d8]
test byte [rax + 0x94], 1
je case.0x1400e2c8d.66
cmp qword [rsp + 0x90], 8
jb case.0x1400e2c8d.66
mov ebp, 8
lea rcx, str.Alt_Svc:
mov r8d, ebp
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
add rdi, rbp
je case.0x1400e2c8d.66
movzx eax, byte [rsi + 0x6d0]
cmp al, 0x1e
jne 0x1400e2cfa
mov ebp, 0x20
jmp 0x1400e2d06
cmp al, 0x14
mov r8d, reloc.WS2_32.dll_recv
cmove ebp, r8d
mov ecx, dword [rsi + 0x6bc]
call fcn.1400da2a0
mov rdx, qword [rbx + 0xa10]
mov r9d, ebp
mov word [rsp + 0x28], ax
mov r8, rdi
mov rax, qword [rsi + 0x68]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400dab50
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp byte [rbx + 0x1e4], 0
mov rbp, qword [rsp + 0x90]
jne 0x1400e2e8f
cmp byte [rbx + 0x9eb], 0
jne 0x1400e2e3f
cmp rbp, 0xf
jb 0x1400e2e3f
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e2e3f
lea rcx, [rdi + 0xf]
test rcx, rcx
je 0x1400e2e3f
xor edx, edx
lea r9, [rsp + 0x40]
lea r8d, [rdx + 0xa]
call fcn.1400f26a0
test eax, eax
jne 0x1400e2dc9
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x100], rax
mov qword [rbx + 0x108], rax
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp eax, 1
jne 0x1400e2e20
cmp qword [rbx + 0x6f0], 0
je 0x1400e2df7
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.1400d5c60
mov eax, 0x3f
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, 2
mov rcx, rsi
call fcn.1400d9100
lea rdx, str.Overflow_Content_Length:_value
mov rcx, rbx
call fcn.1400d5d50
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.1400d5c60
mov eax, 8
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp byte [rbx + 0x1e4], 0
jne 0x1400e2e8f
cmp qword [rbx + 0x808], 0
je 0x1400e2e8f
cmp rbp, 0x11
jb 0x1400e2e8f
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e2e95
lea rdx, [rdi + 0x11]
test rdx, rdx
je 0x1400e2e95
xor r8d, r8d
mov rcx, rbx
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1400f1c70
cmp rbp, 0xd
jb 0x1400e2f0e
mov r8d, recvfrom
lea rcx, str.Content_Type:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e2f0e
lea rax, [rdi + 0xd]
test rax, rax
je 0x1400e2f14
mov rcx, rdi
call fcn.1400e2290
mov rdi, rax
test rax, rax
je 0x1400e37ae
cmp byte [rax], 0
mov rax, qword [fcn.140167c30]
jne 0x1400e2eed
mov rcx, rdi
call qword [case.0x1400cd6b1.0]
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rbx + 0x12b8]
call qword [case.0x1400cd6b1.0]
xor eax, eax
mov qword [rbx + 0x12b8], rdi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rbp, 0xb
jb 0x1400e2f76
mov r8d, ntohs
lea rcx, str.Connection:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e2f76
cmp rbp, 0x10
jbe 0x1400e2f76
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rdi
call fcn.1400e21b0
test al, al
je 0x1400e2f76
mov edx, 2
mov rcx, rsi
call fcn.1400d9100
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp byte [rsi + 0x6d0], 0xa
jne 0x1400e2fe3
cmp rbp, 0xb
jb 0x1400e2fe3
mov r8d, ntohs
lea rcx, str.Connection:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e2fe3
cmp rbp, 0x15
jbe 0x1400e2fe3
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rdi
call fcn.1400e21b0
test al, al
je 0x1400e2fe3
xor edx, edx
mov rcx, rsi
call fcn.1400d9100
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x1400e2e0b
cmp byte [rbx + 0x1e4], 0
jne case.0x1400e2c8d.66
cmp rbp, 0xe
jb case.0x1400e2c8d.66
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Content_Range:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
add rdi, 0xe
je case.0x1400e2c8d.66
movzx eax, byte [rdi]
test al, al
je 0x1400e3053
movzx ecx, al
nop dword [rax + rax]
cmp cl, 0x30
jl 0x1400e303d
movzx eax, cl
cmp cl, 0x39
jle 0x1400e3053
movzx eax, cl
cmp cl, 0x2a
je 0x1400e3053
movzx eax, byte [rdi + 1]
inc rdi
movzx ecx, al
test al, al
jne 0x1400e3030
sub al, 0x30
cmp al, 9
ja 0x1400e3096
xor edx, edx
lea r9, [rbx + 0x140]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1400f26a0
test eax, eax
jne case.0x1400e2c8d.66
mov rax, qword [rbx + 0x140]
cmp qword [rbx + 0x1098], rax
jne case.0x1400e2c8d.66
mov byte [rbx + 0x1db], 1
jmp case.0x1400e2c8d.66
cmp dword [rbx + 0x14c], 0x12c
jge case.0x1400e2c8d.66
xor ecx, ecx
mov qword [rbx + 0x1098], rcx
jmp case.0x1400e2c8d.66
cmp byte [rbx + 0x1e4], 0
mov rbp, qword [rsp + 0x90]
jne 0x1400e312c
cmp byte [rbx + 0x530], 0
jne 0x1400e30d7
cmp byte [rbx + 0x9d8], 0
je 0x1400e312c
cmp rbp, 0xe
jb 0x1400e312c
mov r8d, reloc.WS2_32.dll_ntohl
lea rcx, str.Last_Modified:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e312c
lea rcx, [rdi + 0xe]
test rcx, rcx
je 0x1400e312c
call fcn.1400f28c0
mov qword [rbx + 0x1b0], rax
cmp byte [rbx + 0x9d8], 0
je 0x1400e2e13
mov qword [rbx + 0x1298], rax
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x14c]
sub eax, 0x12c
cmp eax, 0x63
ja case.0x1400e2c8d.66
cmp rbp, 9
jb case.0x1400e2c8d.66
mov r8d, 9
lea rcx, str.Location:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
cmp qword [rbx + 0x1b8], 0
jne case.0x1400e2c8d.66
mov rcx, rdi
call fcn.1400e2290
test rax, rax
je 0x1400e37ae
cmp byte [rax], 0
jne 0x1400e31b2
mov rcx, rax
mov rax, qword [fcn.140167c30]
call qword [case.0x1400cd6b1.0]
mov rax, qword [rsi + 0x3d8]
test dword [rax + 0x8c], 0x40000
je 0x1400e2e13
mov eax, 4
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp byte [rbx + 0x9df], 0
mov qword [rbx + 0x1b8], rax
je case.0x1400e2c8d.66
mov rcx, rax
mov rax, qword [fcn.140188b90]
call qword [case.0x1400cd6b1.0]
mov qword [rbx + 0x1c0], rax
test rax, rax
je 0x1400e37ae
mov rdx, rsi
mov rcx, rbx
call fcn.1400e5d70
test eax, eax
jne 0x1400e2e15
mov byte [rbx + 0x1275], 1
jmp case.0x1400e2c8d.66
mov rbp, qword [rsp + 0x90]
cmp rbp, 0x11
jb 0x1400e3331
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Proxy_Connection:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e3331
lea rax, [rdi + 0x11]
test rax, rax
je 0x1400e3331
cmp byte [rsi + 0x6d0], 0xa
jne 0x1400e32aa
cmp byte [rsi + 0x3b8], 0
je 0x1400e32aa
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Proxy_Connection:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e32aa
cmp rbp, 0x1b
jbe 0x1400e32aa
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.1400e21b0
test al, al
je 0x1400e32aa
xor edx, edx
mov rcx, rsi
call fcn.1400d9100
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x1400e2e0b
cmp byte [rsi + 0x6d0], 0xb
jne 0x1400e2e13
cmp byte [rsi + 0x3b8], 0
je 0x1400e2e13
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Proxy_Connection:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e2e13
cmp rbp, 0x16
jbe 0x1400e2e13
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.1400e21b0
test al, al
je 0x1400e2e13
mov edx, 1
mov rcx, rsi
call fcn.1400d9100
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x1400e2e0b
cmp dword [rbx + 0x14c], 0x197
jne 0x1400e339c
cmp rbp, 0x13
jb 0x1400e339c
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e33a6
mov rcx, rdi
call fcn.1400e2290
mov rdi, rax
test rax, rax
je 0x1400e37ae
mov r8, rax
mov dl, 1
mov rcx, rbx
call fcn.1400e3ad0
mov ebx, eax
mov rcx, rdi
mov rax, qword [fcn.140167c30]
call qword [case.0x1400cd6b1.0]
mov eax, ebx
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rbp, 0x10
jb case.0x1400e2c8d.66
mov r8d, reloc.WS2_32.dll_recv
lea rcx, str.Persistent_Auth:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
cmp dword [rbx + 0xc8c], 4
jne case.0x1400e2c8d.66
mov rcx, rdi
call fcn.1400e2290
mov rdi, rax
test rax, rax
je 0x1400e37ae
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1400ef150
test eax, eax
mov byte [rsi + 0x609], 1
mov r9, rdi
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [rsi + 0x608], cl
movzx r8d, cl
mov rcx, rbx
call fcn.1400d5d50
mov rcx, rdi
jmp 0x1400e317e
cmp qword [rsp + 0x90], 0xc
jb case.0x1400e2c8d.66
mov r8d, recvfrom
lea rcx, str.Retry_After:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
lea rbp, [rdi + 0xc]
test rbp, rbp
je case.0x1400e2c8d.66
xor ecx, ecx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rcx
xor edx, edx
lea r8d, [rcx + 0xa]
mov rcx, rbp
call fcn.1400f26a0
mov rdi, qword [rsp + 0x40]
test rdi, rdi
jne 0x1400e34ba
mov rcx, rbp
call fcn.1400f28c0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e34b5
xor ecx, ecx
call fcn.1401699b4
sub rdi, rax
mov qword [rbx + 0x12c8], rdi
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 0x12c8], rdi
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rbx + 0xa00], 0
mov rbp, qword [rsp + 0x90]
je 0x1400e35f5
cmp byte [rbx + 0x127f], 0
je 0x1400e35f5
cmp rbp, 0xb
jb 0x1400e35f5
mov r8d, ntohs
lea rcx, str.Set_Cookie:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e35f5
lea r14, [rdi + 0xb]
test r14, r14
je 0x1400e35f5
mov rdi, qword [rbx + 0x1238]
test rdi, rdi
jne 0x1400e3535
mov rdi, qword [rsi + 0x68]
mov rax, qword [rsi + 0x3d8]
test byte [rax + 0x8c], 2
jne 0x1400e3593
mov rdx, rdi
lea rcx, str.localhost
call fcn.1400ef0c0
test eax, eax
jne 0x1400e3593
lea rdx, str.127.0.0.1
mov rcx, rdi
call fcn.1401830e0
test eax, eax
je 0x1400e3593
xor ecx, ecx
lea rdx, [0x1401bea70]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400e35f0
cmp rcx, 4
jne 0x1400e3580
mov sil, 1
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.1400c1ec0
mov rax, qword [rbx + 0x1108]
xor r9d, r9d
mov rdx, qword [rbx + 0xa00]
mov r8b, 1
mov byte [rsp + 0x38], sil
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
call fcn.1400c1f70
mov edx, 2
mov rcx, rbx
call fcn.1400c1f20
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor sil, sil
jmp 0x1400e3596
cmp qword [rbx + 0xa08], 0
je case.0x1400e2c8d.66
mov rax, qword [rsi + 0x3d8]
test byte [rax + 0x94], 1
je case.0x1400e2c8d.66
cmp rbp, 0x1a
jb case.0x1400e2c8d.66
mov r8d, 0x1a
lea rcx, str.Strict_Transport_Security:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
lea r8, [rdi + 0x1a]
test r8, r8
je case.0x1400e2c8d.66
mov rdx, qword [rsi + 0x68]
mov rcx, qword [rbx + 0xa08]
call fcn.1400dc070
test eax, eax
je case.0x1400e2c8d.66
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rbx
call fcn.1400d5d50
jmp case.0x1400e2c8d.66
cmp byte [rbx + 0x1e4], 0
mov rax, qword [rsp + 0x90]
jne 0x1400e371a
cmp byte [rbx + 0x1272], 5
je 0x1400e371a
cmp dword [rbx + 0x14c], 0x130
je 0x1400e371a
cmp rax, 0x12
jb 0x1400e371a
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je 0x1400e3724
lea rdx, [rdi + 0x12]
test rdx, rdx
je 0x1400e3724
mov r8d, 1
mov rcx, rbx
call fcn.1400f1c70
test eax, eax
jne 0x1400e2e15
cmp byte [rbx + 0x1e5], al
jne 0x1400e2e13
cmp byte [rbx + 0x9e0], al
je 0x1400e2e13
lea edx, [rax + 1]
mov rcx, rsi
call fcn.1400d9100
xor eax, eax
mov byte [rbx + 0x1e7], 1
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rax, 8
jb case.0x1400e2c8d.66
mov r8d, 8
lea rcx, str.Trailer:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
lea rax, [rdi + 8]
test rax, rax
je case.0x1400e2c8d.66
mov byte [rbx + 0x1e6], 1
xor eax, eax
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [rbx + 0x14c], 0x191
jne case.0x1400e2c8d.66
cmp qword [rsp + 0x90], 0x11
jb case.0x1400e2c8d.66
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
mov rdx, rdi
call fcn.1400ef150
test eax, eax
je case.0x1400e2c8d.66
mov rcx, rdi
call fcn.1400e2290
mov rdi, rax
test rax, rax
jne 0x1400e37be
mov eax, 0x1b
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.1400e3ad0
mov ebx, eax
mov rcx, rdi
mov rax, qword [fcn.140167c30]
call qword [case.0x1400cd6b1.0]
mov eax, ebx
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret