Function at 0x14007a1f0
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, rcx
mov rdi, rdx
mov rbp, r8
mov r13, r9
test byte [rcx + 0x1d4], 1
jne 0x14007a238
mov qword [r9], 0
xor edx, edx
mov eax, edx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rcx + 0x20]
mov qword [r9], 0
lea r14, [rcx + 0xbe0]
mov qword [rsp + 0x20], rax
mov r8, rbp
mov edx, 0xa
mov rcx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memchr
mov rsi, rax
test rax, rax
je 0x14007ac38
sub rsi, rdi
mov rdx, rdi
mov rcx, r14
add rsi, 1
mov r8, rsi
call fcn.140072fa0
mov edx, eax
test eax, eax
jne 0x14007a21e
mov eax, dword [rbx + 0x12c]
add qword [r13], rsi
sub rbp, rsi
test eax, eax
jne 0x14007a2c5
mov rcx, r14
call fcn.140073070
mov rcx, r14
mov r12, rax
call fcn.140073050
mov rcx, qword [rbx + 0x6c0]
mov r8, r12
mov rdx, rax
call fcn.140075750
cmp eax, 2
je 0x14007ad57
mov rcx, r14
call fcn.140073050
mov rcx, r14
mov r12, rax
call fcn.140073070
mov r15, rax
movzx eax, byte [r12]
cmp al, 0xa
sete dl
cmp al, 0xd
sete al
or dl, al
mov byte [rsp + 0x28], dl
jne 0x14007a420
mov eax, dword [rbx + 0x12c]
lea edx, [rax + 1]
mov dword [rbx + 0x12c], edx
test eax, eax
jne 0x14007a6f0
mov dword [rbx + 0x138], 0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x348]
mov eax, dword [rax + 0x84]
test al, 3
jne 0x14007a568
test eax, 0x40000
je 0x14007ad34
movzx eax, byte [r12]
mov rcx, r12
test al, al
jne 0x14007a35c
jmp 0x14007a364
movzx eax, byte [rcx + 1]
add rcx, 1
test al, al
je 0x14007a364
cmp al, 0x20
je 0x14007a350
cmp al, 9
je 0x14007a350
mov r8d, 5
lea rdx, str.RTSP_
mov qword [rsp + 0x28], rcx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x14007ad34
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + 5]
sub eax, 0x30
cmp al, 9
ja 0x14007a40c
cmp byte [rcx + 6], 0x2e
jne 0x14007a40c
movzx eax, byte [rcx + 7]
sub eax, 0x30
cmp al, 9
ja 0x14007a40c
movzx eax, byte [rcx + 8]
cmp al, 0x20
je 0x14007a3b0
cmp al, 9
jne 0x14007a40c
movsx eax, byte [rcx + 9]
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x14007a40c
movsx edx, byte [rcx + 0xa]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14007a40c
movsx r8d, byte [rcx + 0xb]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x14007a40c
sub eax, 0x30
lea edx, [rdx + rdx*4 - 0xf0]
imul eax, eax, 0x64
lea eax, [rax + rdx*2]
lea eax, [rax + r8 - 0x30]
mov dword [rbx + 0x13c], eax
movzx eax, byte [rcx + 0xc]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x14007a800
cmp al, 0x20
je 0x14007a800
mov edx, 8
jmp 0x14007a21e
mov r9, r15
mov r8, r12
mov edx, 1
mov rcx, rbx
call fcn.140072530
mov r9, r15
mov r8, r12
mov rcx, rbx
mov eax, dword [rbx + 0x13c]
sub eax, 0x64
cmp eax, 0x64
sbb edx, edx
and edx, 0x20
add edx, 4
call fcn.140058430
mov edx, eax
test eax, eax
jne 0x14007a21e
mov rdx, r15
xor r8d, r8d
mov rcx, rbx
call fcn.140079670
mov edx, eax
test eax, eax
jne 0x14007a21e
mov rcx, r14
call fcn.140072f20
mov eax, dword [rbx + 0x13c]
lea edx, [rax - 0x64]
cmp edx, 0x63
jbe 0x14007a680
mov r12, qword [rbx + 0x20]
mov edx, dword [rbx + 0x144]
mov dword [rbx + 0x128], 0
cmp byte [r12 + 0x558], 0x13
ja 0x14007a4be
mov rcx, qword [r12 + 0x520]
mov dword [rcx], 0xffffffff
cmp eax, 0x63
jle 0x14007a9b0
and byte [rbx + 0x1d4], 0xfe
cmp edx, 2
je 0x14007ac10
cmp qword [rbx + 0xf0], 0xffffffffffffffff
je 0x14007ab80
mov byte [rsp + 0x28], 0
test byte [rbx + 0x1d4], 1
je 0x14007a960
mov edx, dword [r12 + 0x410]
mov eax, dword [r12 + 0x414]
test byte [r12 + 0x340], 0x40
je 0x14007a838
mov ecx, dword [rbx + 0x13c]
mov edx, dword [r12 + 0x410]
mov eax, dword [r12 + 0x414]
cmp ecx, 0x191
je 0x14007abf0
cmp ecx, 0x197
jne 0x14007a549
cmp eax, 1
je 0x14007a82e
cmp edx, 3
jne 0x14007a841
mov dword [r12 + 0x410], 4
jmp 0x14007a841
movzx eax, byte [r12]
mov rcx, r12
test al, al
jne 0x14007a58c
jmp 0x14007a594
movzx eax, byte [rcx + 1]
add rcx, 1
test al, al
je 0x14007a594
cmp al, 0x20
je 0x14007a580
cmp al, 9
je 0x14007a580
mov r8d, 5
lea rdx, str.HTTP_
mov qword [rsp + 0x28], rcx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
test eax, eax
jne 0x14007a650
mov rcx, qword [rsp + 0x28]
movsx eax, byte [rcx + 5]
cmp al, 0x31
je 0x14007aac8
lea edx, [rax - 0x32]
cmp dl, 1
ja 0x14007aab0
movzx edx, byte [rcx + 6]
cmp dl, 0x20
je 0x14007a5de
cmp dl, 9
jne 0x14007a650
lea eax, [rax + rax*4 - 0xf0]
add eax, eax
mov dword [rbx + 0x138], eax
movsx eax, byte [rcx + 7]
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x14007a650
movsx edx, byte [rcx + 8]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14007a650
movsx r8d, byte [rcx + 9]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x14007a650
sub eax, 0x30
lea edx, [rdx + rdx*4 - 0xf0]
imul eax, eax, 0x64
lea eax, [rax + rdx*2]
lea eax, [rax + r8 - 0x30]
mov dword [rbx + 0x13c], eax
movzx eax, byte [rcx + 0xa]
lea edx, [rax - 9]
cmp dl, 4
jbe 0x14007a80a
cmp al, 0x20
je 0x14007a80a
nop dword [rax]
mov rcx, qword [rbx + 0x6c0]
mov r8, r15
mov rdx, r12
call fcn.140075750
cmp eax, 1
jne 0x14007ad34
mov rax, qword [0x140178010]
mov qword [rbx + 0x138], rax
jmp 0x14007a80a
mov edx, dword [rbx + 0x120]
mov r12, qword [rbx + 0x20]
mov ecx, dword [rbx + 0x144]
mov dword [rbx + 0x128], edx
movzx edx, byte [r12 + 0x558]
cmp dl, 0x13
ja 0x14007a980
mov r8, qword [r12 + 0x520]
mov dword [r8], 0xffffffff
cmp eax, 0x64
je 0x14007aa70
cmp eax, 0x65
jne 0x14007abd8
cmp dl, 0xb
jne 0x14007a992
cmp ecx, 2
je 0x14007ad14
and byte [rbx + 0x1d4], 0xfe
jmp 0x14007a4e5
mov dword [rsp + 0x3c], 4
mov rcx, r14
call fcn.140073050
mov rcx, r14
mov qword [rsp + 0x28], rax
call fcn.140073070
mov rcx, qword [rsp + 0x28]
xor edx, edx
mov r8, rax
mov qword [rsp + 0x30], rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memchr
mov r8, qword [rsp + 0x30]
test rax, rax
jne 0x14007a930
mov eax, dword [rbx + 0x12c]
cmp eax, 1
jle 0x14007a76f
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete cl
or dl, cl
je 0x14007a757
cmp eax, 2
jne 0x14007a76f
mov rcx, qword [rsp + 0x28]
mov edx, 0x3a
call sub.api_ms_win_crt_private_l1_1_0.dll_memchr
test rax, rax
je 0x14007ad00
mov rdx, qword [rsp + 0x20]
mov r9, r15
mov r8, r12
mov rcx, rbx
call fcn.1400789a0
mov edx, eax
test eax, eax
jne 0x14007a21e
mov r9, r15
mov r8, r12
mov edx, 1
mov rcx, rbx
call fcn.140072530
mov ecx, dword [rsp + 0x3c]
mov r9, r15
mov r8, r12
mov eax, dword [rbx + 0x13c]
mov edx, ecx
sub eax, 0x64
or edx, 0x20
cmp eax, 0x64
cmovae edx, ecx
mov rcx, rbx
call fcn.140058430
mov edx, eax
test eax, eax
jne 0x14007a21e
mov rdx, r15
xor r8d, r8d
mov rcx, rbx
call fcn.140079670
mov edx, eax
test eax, eax
jne 0x14007a21e
mov rcx, r14
call fcn.140072f20
test rbp, rbp
je 0x14007a944
add rdi, rsi
jmp 0x14007a24f
mov dword [rbx + 0x138], 0xb
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.140079440
mov edx, eax
test eax, eax
jne 0x14007a21e
mov dword [rsp + 0x3c], 0xc
jmp 0x14007a6f8
or byte [rbx + 0x11fc], 0x20
nop dword [rax]
cmp edx, 3
je 0x14007aa90
cmp eax, 3
je 0x14007a9d0
mov rcx, rbx
call fcn.140075280
test al, al
jne 0x14007ab60
call fcn.140075cb0
mov edx, eax
test eax, eax
jne 0x14007a21e
cmp dword [rbx + 0x13c], 0x12b
jle 0x14007a8b0
test byte [rbx + 0x1d6], 1
jne 0x14007a88d
test byte [r12 + 0x340], 0x40
je 0x14007ac9e
mov rcx, rbx
call fcn.140058120
test al, al
je 0x14007a8b0
mov rcx, rbx
call fcn.140056b00
test al, al
jne 0x14007a8b0
or dword [rbx + 0x140], 2
nop dword [rax]
movzx eax, byte [rbx + 0x1d4]
test al, 1
je 0x14007a9f8
cmp byte [rsp + 0x28], 0
jne 0x14007a9bf
movzx eax, byte [rbx + 0x1d4]
and eax, 1
test rbp, rbp
je 0x14007a950
test al, al
jne 0x14007a7f8
mov rcx, r14
call fcn.140072ef0
movzx eax, byte [rbx + 0x1d4]
and eax, 1
test al, al
jne 0x14007a21c
mov rcx, rbx
call fcn.140078130
cmp byte [rbx + 0x1d5], 0
mov edx, eax
jns 0x14007aa28
mov rcx, r14
mov dword [rsp + 0x20], edx
call fcn.140072ef0
mov edx, dword [rsp + 0x20]
jmp 0x14007a21e
lea rdx, str.Nul_byte_in_header
mov rcx, rbx
call fcn.140072600
jmp 0x14007a40c
movzx eax, byte [rbx + 0x1d4]
and eax, 1
nop
test al, al
jne 0x14007a21c
jmp 0x14007a8e1
mov byte [rsp + 0x28], 0
nop
mov rcx, rbx
call fcn.1400795f0
mov edx, eax
test eax, eax
je 0x14007a4f7
jmp 0x14007a21e
cmp eax, 0x64
je 0x14007aa70
cmp eax, 0x65
jne 0x14007abd8
lea rdx, str.unexpected_101_response_code
mov rcx, rbx
call fcn.140072600
jmp 0x14007a40c
lea rdx, str.Unsupported_response_code_in_HTTP_response
mov rcx, rbx
call fcn.140072600
mov edx, 1
jmp 0x14007a21e
cmp dword [rbx + 0x13c], 0x197
je 0x14007a84a
mov dword [r12 + 0x414], 4
jmp 0x14007a84a
cmp byte [rbx + 0x1d5], 0
jns 0x14007aa0a
or eax, 8
mov byte [rbx + 0x1d4], al
cmp qword [rbx + 0xf8], 0
jne 0x14007a8bf
or byte [rbx + 0x1d4], 8
jmp 0x14007a8bf
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140073070
mov edx, dword [rsp + 0x20]
test rax, rax
je 0x14007a912
mov rcx, r14
call fcn.140073070
mov rcx, r14
mov rsi, rax
call fcn.140073050
mov edx, 1
mov r9, rsi
mov rcx, rbx
mov r8, rax
call fcn.140058430
mov edx, eax
jmp 0x14007a912
or byte [rbx + 0x1d4], 1
mov rcx, rbx
mov dword [rbx + 0x12c], 0
call fcn.14007a190
jmp 0x14007a4e5
cmp dword [rbx + 0x13c], 0x191
jne 0x14007a552
cmp eax, 3
jne 0x14007a84a
jmp 0x14007a9e0
lea rdx, str.Unsupported_HTTP_version_in_response
mov rcx, rbx
call fcn.140072600
jmp 0x14007a9bf
cmp byte [rcx + 6], 0x2e
jne 0x14007ab49
movsx eax, byte [rcx + 7]
lea edx, [rax - 0x30]
cmp dl, 1
ja 0x14007ab49
movzx edx, byte [rcx + 8]
cmp dl, 0x20
je 0x14007aae8
cmp dl, 9
jne 0x14007ab49
sub eax, 0x26
mov dword [rbx + 0x138], eax
movsx eax, byte [rcx + 9]
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x14007ab49
movsx edx, byte [rcx + 0xa]
lea r8d, [rdx - 0x30]
cmp r8b, 9
ja 0x14007ab49
movsx r8d, byte [rcx + 0xb]
lea r9d, [r8 - 0x30]
cmp r9b, 9
ja 0x14007ab49
sub eax, 0x30
lea edx, [rdx + rdx*4 - 0xf0]
imul eax, eax, 0x64
lea eax, [rax + rdx*2]
lea eax, [rax + r8 - 0x30]
mov dword [rbx + 0x13c], eax
movzx eax, byte [rcx + 0xc]
cmp al, 0xd
jg 0x14007ac28
cmp al, 8
jg 0x14007a80a
lea rdx, str.Unsupported_HTTP_1_subversion_in_response
mov rcx, rbx
call fcn.140072600
jmp 0x14007a9bf
mov r8d, dword [rbx + 0x13c]
lea rdx, str.The_requested_URL_returned_error:__d
call fcn.140072600
mov edx, 0x16
jmp 0x14007a21e
test byte [rbx + 0x1d5], 8
jne 0x14007a4e5
test byte [r12 + 0x340], 0x40
jne 0x14007ad40
cmp byte [r12 + 0x558], 0xb
je 0x14007adce
test byte [rbx + 0x1d4], 1
je 0x14007a95a
mov byte [rsp + 0x28], 0
mov eax, dword [r12 + 0x414]
mov edx, dword [r12 + 0x410]
jmp 0x14007a838
or byte [rbx + 0x1d4], 1
mov dword [rbx + 0x12c], 0
jmp 0x14007a4e5
cmp edx, 1
jne 0x14007a838
or byte [rbx + 0x11fc], 0x20
cmp eax, 3
jne 0x14007a84a
jmp 0x14007a9e0
mov rcx, qword [rbx + 0xd8]
call fcn.140051290
jmp 0x14007a4d7
cmp al, 0x20
je 0x14007a80a
jmp 0x14007ab49
mov rdx, rdi
mov r8, rbp
mov rcx, r14
call fcn.140072fa0
mov edx, eax
test eax, eax
jne 0x14007a21e
mov edx, dword [rbx + 0x12c]
add qword [r13], rbp
test edx, edx
jne 0x14007ac8c
mov rcx, r14
call fcn.140073070
mov rcx, r14
mov rsi, rax
call fcn.140073050
mov rcx, qword [rbx + 0x6c0]
mov r8, rsi
mov rdx, rax
call fcn.140075750
cmp eax, 2
je 0x14007ad8b
test byte [rbx + 0x1d4], 1
je 0x14007a8e1
jmp 0x14007a21c
mov rcx, rbx
call fcn.140058120
test al, al
jne 0x14007a88d
movzx eax, byte [rbx + 0x11fa]
sub eax, 1
cmp eax, 3
ja 0x14007a88d
mov rcx, rbx
call fcn.140056b00
test al, al
jne 0x14007a88d
cmp dword [rbx + 0x13c], 0x1a1
je 0x14007ae3a
test byte [rbx + 0xa0d], 0x20
je 0x14007ae16
mov rcx, rbx
call fcn.14007a190
jmp 0x14007a88d
lea rdx, str.Header_without_colon
mov rcx, rbx
call fcn.140072600
jmp 0x14007a40c
or byte [rbx + 0x1d4], 1
mov dword [rbx + 0x144], 3
mov dword [rbx + 0x12c], 0
jmp 0x14007a4ea
and byte [rbx + 0x1d4], 0xfe
jmp 0x14007a8e1
test byte [rbx + 0x1d4], 1
je 0x14007a95a
mov byte [rsp + 0x28], 0
jmp 0x14007a516
mov rdi, qword [rsp + 0x20]
mov edx, 2
mov rcx, rdi
call fcn.14006e3a0
cmp byte [rdi + 0x558], 9
ja 0x14007ae02
cmp byte [rbx + 0xa11], 0
jns 0x14007adba
and byte [rbx + 0x1d4], 0xfe
jmp 0x14007a8fb
and byte [rbx + 0x1d4], 0xfe
mov rdi, qword [rsp + 0x20]
mov edx, 2
mov rcx, rdi
call fcn.14006e3a0
cmp byte [rdi + 0x558], 9
ja 0x14007ae02
cmp byte [rbx + 0xa11], 0
js 0x14007a8e9
lea rdx, str.Received_HTTP_0.9_when_not_allowed
mov rcx, rbx
call fcn.140072600
jmp 0x14007a9bf
mov rax, qword [r12 + 0x348]
test byte [rax + 0x86], 4
jne 0x14007abab
cmp byte [rbx + 0x11fa], 5
je 0x14007abab
mov edx, 2
mov rcx, r12
call fcn.14006e3a0
jmp 0x14007a4e5
lea rdx, str.Invalid_status_line
mov rcx, rbx
call fcn.140072600
jmp 0x14007a40c
mov edx, 2
mov rcx, r12
call fcn.14006e3a0
mov rcx, rbx
call fcn.140056c90
mov edx, eax
test eax, eax
je 0x14007a88d
jmp 0x14007a21e
lea r15, str.cr_exp100
mov rcx, rbx
mov rdx, r15
call fcn.140058cb0
test rax, rax
je 0x14007ace1
cmp qword [rbx + 0x108], 0
jne 0x14007aea4
mov rdx, r15
mov rcx, rbx
call fcn.140058cb0
test rax, rax
je 0x14007aea4
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x30], 1
jne 0x14007aea4
mov rax, qword [0x140184870]
mov rcx, qword [rbx + 0x10a0]
or byte [rbx + 0x11fc], 0x80
call qword [rax]
mov rcx, rbx
mov qword [rbx + 0x1b8], rax
call fcn.140056c90
jmp 0x14007a88d
mov edx, 2
mov rcx, r12
call fcn.14006e3a0
mov rdx, r12
mov rcx, rbx
call fcn.1400753a0
mov edx, eax
test eax, eax
je 0x14007ae79
jmp 0x14007a21e