Function at 0x140060dd8
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 edi, edi
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp byte [rcx + 0x1c5], dil
jne 0x140060ec9
cmp byte [rcx + 0xa7c], dil
jne 0x140060ec9
lea r8d, [rdi + 0xf]
mov rcx, rbp
lea rdx, str.Content_Length:
call fcn.1400525e8
test eax, eax
je 0x140060ec9
lea rcx, str.Content_Length:
call fcn.140093e00
lea r9, [rsp + 0x70]
xor edx, edx
lea r8d, [rdi + 0xa]
lea rcx, [rax + rbp]
call fcn.140062c88
test eax, eax
jne 0x140060e8b
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], rax
xor eax, eax
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
cmp eax, 1
jne 0x140060eb3
cmp qword [rsi + 0x708], rdi
je 0x140060fea
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rsi
call fcn.14004675c
mov eax, 0x3f
jmp 0x140060e6d
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rsi
call fcn.14004675c
mov eax, 8
jmp 0x140060e6d
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x140060f18
mov rcx, rbp
call fcn.14005d9d0
mov rbx, rax
test rax, rax
je 0x1400614b2
cmp byte [rax], dil
je 0x140061422
mov rcx, qword [rsi + 0x12b0]
call qword [fcn.140093ea8]
mov qword [rsi + 0x12b0], rbx
jmp 0x140060e6b
mov r12d, select
lea r15d, [r12 - 7]
cmp byte [r14 + 0x1b8], r15b
jne 0x140060f57
cmp byte [r14 + 0x3c4], dil
je 0x140060f57
lea r9, str.keep_alive
mov qword [rsp + 0x20], r15
mov r8d, r12d
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.14005e9e4
test al, al
jne 0x140060fc4
mov ebx, 5
lea r13d, [rbx + 6]
cmp byte [r14 + 0x1b8], r13b
jne 0x140060f99
cmp byte [r14 + 0x3c4], dil
je 0x140060f99
lea r9, str.close
mov qword [rsp + 0x20], rbx
mov r8, r12
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.14005e9e4
test al, al
je 0x140060f99
lea edx, [rbx - 4]
jmp 0x140060fef
cmp byte [r14 + 0x1b8], r15b
jne 0x140060fc8
lea r9, str.keep_alive
mov qword [rsp + 0x20], r15
mov r8, r13
lea rdx, str.Connection:
mov rcx, rbp
call fcn.14005e9e4
test al, al
je 0x140060fc8
xor edx, edx
jmp 0x140060fef
lea r9, str.close
mov qword [rsp + 0x20], rbx
mov r8, r13
lea rdx, str.Connection:
mov rcx, rbp
call fcn.14005e9e4
test al, al
je 0x140060ffc
mov edx, 2
mov rcx, r14
call fcn.140048744
jmp 0x140060e6b
mov bl, byte [rsi + 0x1c5]
test bl, bl
jne 0x1400610b3
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x14006106c
lea rcx, str.Transfer_Encoding:
call fcn.140093e00
mov r8d, 1
mov rcx, rsi
lea rdx, [rax + rbp]
call fcn.1400522f8
test eax, eax
jne 0x140060e6d
cmp byte [rsi + 0x1c6], dil
jne 0x140060e6b
lea edx, [rax + 1]
mov rcx, r14
call fcn.140048744
mov byte [rsi + 0x1c7], dl
jmp 0x140060e6b
mov r8, r12
lea rdx, str.Content_Encoding:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x1400610b3
cmp qword [rsi + 0x788], rdi
je 0x1400610b3
lea rcx, str.Content_Encoding:
call fcn.140093e00
xor r8d, r8d
mov rcx, rsi
lea rdx, [rax + rbp]
call fcn.1400522f8
test eax, eax
je 0x140060e6b
jmp 0x140060e6d
lea r12, str.Retry_After:
mov r8d, listen
mov rdx, r12
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x140061124
mov rcx, r12
mov qword [rsp + 0x70], rdi
call fcn.140093e00
lea rcx, [rax + rbp]
call fcn.140063520
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140061110
mov rcx, r12
call fcn.140093e00
lea r9, [rsp + 0x70]
mov r8d, r15d
xor edx, edx
lea rcx, [rax + rbp]
call fcn.140062c88
mov rbx, qword [rsp + 0x70]
jmp 0x140061118
call fcn.1400488e4
sub rbx, rax
mov qword [rsi + 0x12c0], rbx
jmp 0x140060e6b
mov r12d, select
test bl, bl
jne 0x1400611dc
mov r8d, r12d
lea rdx, str.Content_Range:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x1400611dc
lea rcx, str.Content_Range:
call fcn.140093e00
lea r10, [rax + rbp]
mov dl, byte [r10]
test dl, dl
je 0x140061189
mov r8b, dl
movzx ecx, r8b
mov dl, r8b
call fcn.140063e38
test eax, eax
jne 0x140061189
cmp r8b, 0x2a
je 0x140061189
inc r10
mov dl, byte [r10]
mov r8b, dl
test dl, dl
jne 0x140061166
movzx ecx, dl
call fcn.140063e38
test eax, eax
je 0x1400611d0
lea rbx, [rsi + 0x150]
mov r8d, r15d
mov r9, rbx
xor edx, edx
mov rcx, r10
call fcn.140062c88
test eax, eax
jne 0x140060e6b
mov rax, qword [rbx]
cmp qword [rsi + 0x10d8], rax
jne 0x140060e6b
mov byte [rsi + 0x1c2], 1
jmp 0x140060e6b
mov qword [rsi + 0x10d8], rdi
jmp 0x140060e6b
cmp qword [rsi + 0xa98], rdi
je 0x1400612cd
cmp byte [rsi + 0x126e], dil
je 0x1400612cd
mov r8, r13
lea rdx, str.Set_Cookie:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x1400612cd
mov rbx, qword [rsi + 0x1228]
test rbx, rbx
jne 0x140061223
mov rbx, qword [r14 + 0xa0]
mov rax, qword [r14 + 0x408]
test byte [rax + 0x84], 2
jne 0x14006126c
mov rdx, rbx
lea rcx, str.localhost
call fcn.140052468
test eax, eax
jne 0x14006126c
lea rdx, str.127.0.0.1
mov rcx, rbx
call fcn.140094780
test eax, eax
je 0x14006126c
lea rdx, str._::1_
mov rcx, rbx
call fcn.140094780
test eax, eax
jne 0x14006126f
mov dil, 1
mov edx, 2
mov rcx, rsi
call fcn.140051f94
lea rcx, str.Set_Cookie:
call fcn.140093e00
mov rcx, qword [rsi + 0x1130]
add rax, rbp
mov rdx, qword [rsi + 0xa98]
xor r9d, r9d
mov byte [rsp + 0x38], dil
mov r8b, 1
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140048dd0
mov edx, 2
mov rcx, rsi
call fcn.140051fd0
jmp 0x140060e6b
test bl, bl
jne 0x14006132d
mov r8, r12
lea rdx, str.Last_Modified:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x14006132d
cmp dword [rsi + 0x550], edi
jne 0x1400612f8
cmp byte [rsi + 0xa66], dil
je 0x14006132d
lea rcx, str.Last_Modified:
call fcn.140093e00
lea rcx, [rax + rbp]
call fcn.140063520
mov qword [rsi + 0x180], rax
cmp byte [rsi + 0xa66], dil
je 0x140060e6b
mov qword [rsi + 0x1288], rax
jmp 0x140060e6b
mov r8d, select
lea rdx, str.WWW_Authenticate:
mov rcx, rbp
call fcn.1400525e8
mov r15d, 0x197
test eax, eax
je 0x14006135a
mov ebx, dword [rsi + 0x158]
cmp ebx, 0x191
je 0x14006137e
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x1400613bd
mov ebx, dword [rsi + 0x158]
cmp ebx, r15d
jne 0x1400613bd
mov rcx, rbp
call fcn.14005d9d0
mov rbp, rax
test rax, rax
je 0x1400614b2
cmp ebx, r15d
mov r8, rax
mov rcx, rsi
sete dl
call fcn.14005e370
mov rcx, rbp
mov ebx, eax
call qword [fcn.140093ea8]
test ebx, ebx
je 0x140060e6b
mov eax, ebx
jmp 0x140060e6d
mov ebx, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov r8d, ebx
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x140061430
cmp dword [rsi + 0xd9c], 4
jne 0x140060e6b
mov rcx, rbp
call fcn.14005d9d0
mov rbx, rax
test rax, rax
je 0x1400614b2
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1400525e8
test eax, eax
mov byte [r14 + 0x649], 1
setne cl
mov byte [r14 + 0x648], cl
mov rcx, rbx
call qword [fcn.140093ea8]
jmp 0x140060e6b
mov eax, dword [rsi + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1400614bc
mov r8d, 9
lea rdx, str.Location:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x1400614bc
cmp qword [rsi + 0x190], rdi
jne 0x1400614bc
mov rcx, rbp
call fcn.14005d9d0
test rax, rax
je 0x1400614b2
cmp byte [rax], dil
jne 0x140061479
mov rcx, rax
jmp 0x140061425
mov qword [rsi + 0x190], rax
cmp byte [rsi + 0xa6e], dil
je 0x140060e6b
mov rcx, rax
call qword [fcn.1400a6818]
mov qword [rsi + 0x198], rax
test rax, rax
je 0x1400614b2
mov rdx, r14
mov rcx, rsi
call fcn.14005dc80
jmp 0x1400610a6
mov eax, 0x1b
jmp 0x140060e6d
cmp qword [rsi + 0xaa0], rdi
je 0x140061516
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x140061516
mov rax, qword [r14 + 0x408]
test byte [rax + 0x8c], 1
je 0x140061516
lea rcx, str.Strict_Transport_Security:
call fcn.140093e00
mov rdx, qword [rsi + 0x1108]
mov rcx, qword [rsi + 0xaa0]
lea r8, [rax + rbp]
call fcn.14004ef1c
jmp 0x140060e6b
cmp qword [rsi + 0xaa8], rdi
je 0x14006159b
mov r15d, 8
lea rdx, str.Alt_Svc:
mov r8d, r15d
mov rcx, rbp
call fcn.1400525e8
test eax, eax
je 0x14006159b
mov rax, qword [r14 + 0x408]
test byte [rax + 0x8c], 1
je 0x14006159b
cmp byte [r14 + 0x1b8], 0x14
mov ecx, dword [r14 + 0x154]
cmove r15d, ebx
call fcn.140046e8c
lea rcx, str.Alt_Svc:
movzx ebx, ax
call fcn.140093e00
mov rcx, qword [r14 + 0xa0]
mov r9d, r15d
mov rdx, qword [rsi + 0xaa8]
mov word [rsp + 0x28], bx
lea r8, [rax + rbp]
mov qword [rsp + 0x20], rcx
call fcn.1400510e8
jmp 0x1400610a6
mov rax, qword [r14 + 0x408]
test dword [rax + 0x84], 0x40000
je 0x140060e6b
mov eax, 4
jmp 0x140060e6d