Function at 0x140197cf4
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp byte [rcx + 0x1c4], dil
jne 0x140197de1
cmp byte [rcx + 0xb17], dil
jne 0x140197de1
lea r8d, [rdi + 0xf]
mov rcx, rbp
lea rdx, str.Content_Length:
call fcn.1401aaa6c
test eax, eax
je 0x140197de1
lea rcx, str.Content_Length:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r9, [rsp + 0x70]
xor edx, edx
lea r8d, [rdi + 0xa]
lea rcx, [rax + rbp]
call fcn.1401b19c4
test eax, eax
jne 0x140197d88
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], rax
xor eax, eax
jmp 0x140198538
cmp eax, 1
jne 0x140197dc8
cmp qword [rsi + 0x740], rdi
je 0x140197daf
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rsi
call fcn.1401a225c
mov eax, 0x3f
jmp 0x140198538
mov edx, 2
mov rcx, r14
call fcn.14019f9f0
lea rdx, str.Overflow_Content_Length:_value
jmp 0x140198492
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rsi
call fcn.1401a225c
mov eax, 8
jmp 0x140198538
mov r8d, 0xd
lea rdx, str.Content_Type:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140197e30
mov rcx, rbp
call fcn.140196d28
mov rbx, rax
test rax, rax
je 0x140198424
cmp byte [rax], dil
je 0x140198394
mov rcx, qword [rsi + 0x1370]
call qword [0x1404255c0]
mov qword [rsi + 0x1370], rbx
jmp 0x140197d81
mov ebx, 0x11
lea r15d, [rbx - 7]
cmp byte [r14 + 0x1b8], r15b
jne 0x140197e83
cmp byte [r14 + 0x3e4], dil
je 0x140197e83
lea r9, str.keep_alive
mov qword [rsp + 0x20], r15
mov r8d, ebx
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.140196c7c
test al, al
je 0x140197e83
xor edx, edx
mov rcx, r14
call fcn.14019f9f0
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x140198492
mov r13d, 0xb
cmp byte [r14 + 0x1b8], r13b
jne 0x140197ed9
cmp byte [r14 + 0x3e4], dil
je 0x140197ed9
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, rbx
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.140196c7c
test al, al
je 0x140197ed9
lea edx, [r13 - 0xa]
mov rcx, r14
call fcn.14019f9f0
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x140198492
cmp byte [r14 + 0x1b8], r15b
jne 0x140197f1a
lea r9, str.keep_alive
mov qword [rsp + 0x20], r15
mov r8, r13
lea rdx, str.Connection:
mov rcx, rbp
call fcn.140196c7c
test al, al
je 0x140197f1a
xor edx, edx
mov rcx, r14
call fcn.14019f9f0
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x140198492
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, r13
lea rdx, str.Connection:
mov rcx, rbp
call fcn.140196c7c
test al, al
je 0x140197f52
mov edx, 2
mov rcx, r14
call fcn.14019f9f0
jmp 0x140197d81
cmp byte [rsi + 0x1c4], dil
jne 0x140198012
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140197fc2
lea rcx, str.Transfer_Encoding:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 1
mov rcx, rsi
lea rdx, [rax + rbp]
call fcn.1401aaf44
test eax, eax
jne 0x140198538
cmp byte [rsi + 0x1c5], dil
jne 0x140197d81
lea edx, [rax + 1]
mov rcx, r14
call fcn.14019f9f0
mov byte [rsi + 0x1c6], 1
jmp 0x140197d81
cmp byte [rsi + 0x1c4], dil
jne 0x140198012
mov r8, rbx
lea rdx, str.Content_Encoding:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140198012
cmp qword [rsi + 0x7c0], rdi
je 0x140198012
lea rcx, str.Content_Encoding:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
xor r8d, r8d
mov rcx, rsi
lea rdx, [rax + rbp]
call fcn.1401aaf44
test eax, eax
je 0x140197d81
jmp 0x140198538
mov r8d, 0xc
lea rdx, str.Retry_After:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x14019808b
lea rcx, str.Retry_After:
mov qword [rsp + 0x70], rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.1401b5c2c
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140198074
lea rcx, str.Retry_After:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r9, [rsp + 0x70]
mov r8d, r15d
xor edx, edx
lea rcx, [rax + rbp]
call fcn.1401b19c4
mov rbx, qword [rsp + 0x70]
jmp 0x14019807f
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rbx, rax
mov qword [rsi + 0x1380], rbx
jmp 0x140197d81
mov ebx, 0xe
cmp byte [rsi + 0x1c4], dil
jne 0x140198132
mov r8d, ebx
lea rdx, str.Content_Range:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140198132
lea rcx, str.Content_Range:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rbx, [rax + rbp]
jmp 0x1401980d9
movzx ecx, al
call fcn.1401ab5a4
test eax, eax
jne 0x1401980df
cmp byte [rbx], 0x2a
je 0x1401980df
inc rbx
mov al, byte [rbx]
test al, al
jne 0x1401980c5
movzx ecx, byte [rbx]
call fcn.1401ab5a4
test eax, eax
je 0x140198126
lea r14, [rsi + 0x150]
mov r8d, r15d
mov r9, r14
xor edx, edx
mov rcx, rbx
call fcn.1401b19c4
test eax, eax
jne 0x140197d81
mov rax, qword [r14]
cmp qword [rsi + 0x1178], rax
jne 0x140197d81
mov byte [rsi + 0x1c1], 1
jmp 0x140197d81
mov qword [rsi + 0x1178], rdi
jmp 0x140197d81
cmp qword [rsi + 0xb38], rdi
je 0x140198224
cmp byte [rsi + 0x132f], dil
je 0x140198224
mov r8, r13
lea rdx, str.Set_Cookie:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140198224
mov r15, qword [rsi + 0x12e8]
test r15, r15
jne 0x140198179
mov r15, qword [r14 + 0xa0]
mov rax, qword [r14 + 0x428]
mov ebx, 2
test byte [rax + 0x84], bl
jne 0x1401981c6
mov rdx, r15
lea rcx, str.localhost
call fcn.1401aa8cc
test eax, eax
jne 0x1401981c6
lea rdx, str.127.0.0.1
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1401981c6
lea rdx, str._::1_
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1401981c9
mov dil, 1
mov r8d, ebx
mov edx, ebx
mov rcx, rsi
call fcn.1401a2104
lea rcx, str.Set_Cookie:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsi + 0x11f8]
add rax, rbp
mov rdx, qword [rsi + 0xb38]
xor r9d, r9d
mov byte [rsp + 0x38], dil
mov r8b, 1
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.1401a6600
mov edx, ebx
mov rcx, rsi
call fcn.1401a213c
jmp 0x140197d81
cmp byte [rsi + 0x1c4], dil
jne 0x140198289
mov r8, rbx
lea rdx, str.Last_Modified:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140198289
cmp dword [rsi + 0x568], edi
jne 0x140198254
cmp byte [rsi + 0xb01], dil
je 0x140198289
lea rcx, str.Last_Modified:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.1401b5c2c
mov qword [rsi + 0x180], rax
cmp byte [rsi + 0xb01], dil
je 0x140197d81
mov qword [rsi + 0x1348], rax
jmp 0x140197d81
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, rbp
call fcn.1401aaa6c
mov r15d, 0x197
test eax, eax
je 0x1401982b6
mov ebx, dword [rsi + 0x158]
cmp ebx, 0x191
je 0x1401982da
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140198319
mov ebx, dword [rsi + 0x158]
cmp ebx, r15d
jne 0x140198319
mov rcx, rbp
call fcn.140196d28
mov rbp, rax
test rax, rax
je 0x140198424
cmp ebx, r15d
mov r8, rax
mov rcx, rsi
sete dl
call fcn.1401987bc
mov rcx, rbp
mov ebx, eax
call qword [0x1404255c0]
test ebx, ebx
je 0x140197d81
mov eax, ebx
jmp 0x140198538
mov ebx, 0x10
lea rdx, str.Persistent_Auth:
mov r8d, ebx
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x1401983a2
cmp dword [rsi + 0xe3c], 4
jne 0x140197d81
mov rcx, rbp
call fcn.140196d28
mov rbx, rax
test rax, rax
je 0x140198424
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1401aaa6c
test eax, eax
mov byte [r14 + 0x571], 1
mov r9, rbx
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r14 + 0x570], cl
movzx r8d, cl
mov rcx, rsi
call fcn.1401a2328
mov rcx, rbx
call qword [0x1404255c0]
jmp 0x140197d81
mov eax, dword [rsi + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x14019842e
mov r8d, 9
lea rdx, str.Location:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x14019842e
cmp qword [rsi + 0x190], rdi
jne 0x14019842e
mov rcx, rbp
call fcn.140196d28
test rax, rax
je 0x140198424
cmp byte [rax], dil
jne 0x1401983eb
mov rcx, rax
jmp 0x140198397
mov qword [rsi + 0x190], rax
cmp byte [rsi + 0xb09], dil
je 0x140197d81
mov rcx, rax
call qword [str.Sp._]
mov qword [rsi + 0x198], rax
test rax, rax
je 0x140198424
mov rdx, r14
mov rcx, rsi
call fcn.14019a08c
jmp 0x140198005
mov eax, 0x1b
jmp 0x140198538
cmp qword [rsi + 0xb40], rdi
je 0x14019849f
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x14019849f
mov rax, qword [r14 + 0x428]
test byte [rax + 0x8c], 1
je 0x14019849f
lea rcx, str.Strict_Transport_Security:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdx, qword [rsi + 0x11d0]
mov rcx, qword [rsi + 0xb40]
lea r8, [rax + rbp]
call fcn.1401aa0bc
test eax, eax
je 0x140197d81
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rsi
call fcn.1401a2328
jmp 0x140197d81
cmp qword [rsi + 0xb48], rdi
je 0x140198527
mov r15d, 8
lea rdx, str.Alt_Svc:
mov r8d, r15d
mov rcx, rbp
call fcn.1401aaa6c
test eax, eax
je 0x140198527
mov rax, qword [r14 + 0x428]
test byte [rax + 0x8c], 1
je 0x140198527
cmp byte [r14 + 0x1b8], 0x14
mov ecx, dword [r14 + 0x154]
cmove r15d, ebx
call fcn.1401a2fe0
lea rcx, str.Alt_Svc:
movzx ebx, ax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [r14 + 0xa0]
mov r9d, r15d
mov rdx, qword [rsi + 0xb48]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rcx
lea r8, [rax + rbp]
mov rcx, rsi
call fcn.1401a92d8
jmp 0x140198005
mov rax, qword [r14 + 0x428]
movzx eax, word [rax + 0x86]
and eax, 4
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret