Function at 0x1400560f0
Capabilities:
Check http status code

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400cb080]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp byte [rcx + 0x1c1], 0
jne 0x140056128
cmp byte [rsi + 0xa8d], 0
je 0x1400561e6
lea rdx, str.Content_Type:
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x14005617a
mov rcx, rdi
call fcn.140052e30
test rax, rax
je 0x140056775
mov rdi, rax
cmp byte [rax], 0
mov rax, qword [fcn.140092c88]
je 0x140056245
mov rcx, qword [rsi + 0x13a8]
call rax
mov qword [rsi + 0x13a8], rdi
jmp 0x1400566e1
movzx eax, byte [rbx + 0x6c8]
cmp al, 0xa
jne 0x140056256
cmp byte [rbx + 0x2a8], 0
je 0x1400562be
mov qword [rsp + 0x20], 0xa
lea rdx, str.Proxy_Connection:
lea r9, str.keep_alive
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rdi
call fcn.1400540e0
test al, al
je 0x14005624f
mov rcx, rbx
xor edx, edx
call fcn.1400349a0
cmp byte [rsi + 0xa87], 0
je 0x1400566e1
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x140056305
lea rdx, str.Content_Length:
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056128
add rdi, 0xf
lea r9, [rsp + 0x40]
mov rcx, rdi
xor edx, edx
mov r8d, 0xa
call fcn.140071450
cmp eax, 1
je 0x140056436
test eax, eax
jne 0x140056452
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0xf0], rax
mov qword [rsi + 0xf8], rax
jmp 0x1400566e1
mov rcx, rdi
call rax
jmp 0x1400566e1
movzx eax, byte [rbx + 0x6c8]
cmp al, 0xb
jne 0x1400562ba
cmp byte [rbx + 0x2a8], 0
je 0x140056312
mov qword [rsp + 0x20], 5
lea rdx, str.Proxy_Connection:
lea r9, [0x1400bc240]
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rdi
call fcn.1400540e0
test al, al
je 0x1400562b3
mov rcx, rbx
mov edx, 1
call fcn.1400349a0
cmp byte [rsi + 0xa87], 0
je 0x1400566e1
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x140056305
movzx eax, byte [rbx + 0x6c8]
cmp al, 0xa
jne 0x140056312
mov qword [rsp + 0x20], 0xa
lea rdx, [0x1400c0048]
lea r9, str.keep_alive
mov r8d, ntohs
mov rcx, rdi
call fcn.1400540e0
test al, al
je 0x140056312
mov rcx, rbx
xor edx, edx
call fcn.1400349a0
cmp byte [rsi + 0xa87], 0
je 0x1400566e1
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
mov rcx, rsi
call fcn.14001cd60
jmp 0x1400566e1
mov qword [rsp + 0x20], 5
lea rdx, [0x1400c0048]
lea r9, [0x1400bc240]
mov r8d, ntohs
mov rcx, rdi
call fcn.1400540e0
test al, al
je 0x14005634d
mov rcx, rbx
mov edx, 2
call fcn.1400349a0
jmp 0x1400566e1
cmp byte [rsi + 0x1c1], 0
je 0x1400563c7
lea rdx, str.Retry_After:
mov r8d, ntohs
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x14005646b
mov qword [rsp + 0x40], 0
add rdi, 0xc
lea r9, [rsp + 0x40]
mov rcx, rdi
xor edx, edx
mov r8d, 0xa
call fcn.140071450
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400566da
mov rcx, rdi
call fcn.140071040
cmp rax, 0xffffffffffffffff
je 0x1400566d5
mov rbx, rax
xor ecx, ecx
call fcn.14008f95c
sub rbx, rax
jmp 0x1400566da
lea rdx, str.Transfer_Encoding:
mov r8d, reloc.WS2_32.dll_select
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x1400565a5
add rdi, 0x12
mov rcx, rsi
mov rdx, rdi
mov r8d, 1
call fcn.140039a50
mov edi, eax
test eax, eax
jne 0x14005677a
cmp byte [rsi + 0x1c2], 0
jne 0x1400566e1
cmp byte [rsi + 0xa81], 0
je 0x1400566e1
mov rcx, rbx
mov edx, 1
call fcn.1400349a0
mov byte [rsi + 0x1c3], 1
jmp 0x1400566e1
cmp qword [rsi + 0x6d0], 0
je 0x1400565f4
mov edi, 0x3f
lea rdx, str.Maximum_file_size_exceeded
jmp 0x14005645e
mov edi, 8
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rsi
call fcn.14001cc90
jmp 0x14005677a
cmp byte [rsi + 0x1c1], 0
je 0x14005661a
cmp qword [rsi + 0xaa8], 0
je 0x140056564
cmp byte [rsi + 0x1361], 0
je 0x140056564
lea rdx, str.Set_Cookie:
mov r8d, ntohs
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056564
mov r14, qword [rsi + 0x1318]
test r14, r14
jne 0x1400564c0
mov r14, qword [rbx + 0x50]
mov rax, qword [rbx + 0x2c8]
mov bl, 1
test byte [rax + 0x84], 2
jne 0x14005650c
lea rcx, [0x1400b8970]
mov rdx, r14
call fcn.140037530
test eax, eax
jne 0x14005650c
lea rdx, str.127.0.0.1
mov rcx, r14
call fcn.140093a10
test eax, eax
je 0x14005650c
lea rdx, [0x1400c05eb]
mov rcx, r14
call fcn.140093a10
test eax, eax
sete bl
mov rcx, rsi
mov edx, 2
mov r8d, 2
call fcn.140039940
mov rax, qword [rsi + 0x11e8]
add rdi, 0xb
mov rdx, qword [rsi + 0xaa8]
mov byte [rsp + 0x38], bl
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov r8b, 1
xor r9d, r9d
call fcn.1400300b0
mov rcx, rsi
mov edx, 2
call fcn.140039980
jmp 0x1400566e1
cmp byte [rsi + 0x1c1], 0
je 0x140056794
lea rdx, str.WWW_Authenticate:
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056677
cmp dword [rsi + 0x140], 0x191
jne 0x140056677
xor ebp, ebp
jmp 0x14005669f
cmp byte [rsi + 0x1c1], 0
jne 0x140056356
lea rdx, str.Content_Encoding:
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056356
cmp qword [rsi + 0x748], 0
je 0x140056356
add rdi, 0x11
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.140039a50
jmp 0x140056984
mov rcx, rbx
mov edx, 2
call fcn.1400349a0
cmp byte [rsi + 0xa87], 0
je 0x1400566e1
lea rdx, str.Overflow_Content_Length:_value
jmp 0x140056305
lea rdx, str.Content_Range:
mov r8d, reloc.WLDAP32.dll_Ordinal_14
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056478
movzx eax, byte [rdi + 0xe]
test al, al
je 0x14005665e
add rdi, 0xe
lea ecx, [rax - 0x30]
cmp cl, 0xa
jb 0x1400568bc
cmp al, 0x2a
je 0x14005665e
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140056643
cmp dword [rsi + 0x140], 0x12b
jg 0x1400566e1
mov qword [rsi + 0x1160], 0
jmp 0x1400566e1
lea rdx, str.Proxy_authenticate:
mov r8d, reloc.WS2_32.dll_send
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x1400566e8
mov bpl, 1
cmp dword [rsi + 0x140], 0x197
jne 0x1400566e8
mov rcx, rdi
call fcn.140052e30
test rax, rax
je 0x140056775
mov rbx, rax
mov rcx, rsi
mov edx, ebp
mov r8, rax
call fcn.1400539f0
mov edi, eax
mov rcx, rbx
call qword [fcn.140092c88]
test edi, edi
jne 0x14005677a
jmp 0x1400566e1
mov rbx, qword [rsp + 0x40]
mov qword [rsi + 0x13b8], rbx
xor edi, edi
jmp 0x14005677a
lea rdx, str.Persistent_Auth:
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x1400567f3
cmp dword [rsi + 0xdcc], 4
jne 0x1400566e1
mov rcx, rdi
call fcn.140052e30
test rax, rax
je 0x140056775
mov rdi, rax
lea rdx, str.false
mov r8d, 5
mov rcx, rax
call fcn.1400375a0
test eax, eax
setne byte [rbx + 0x508]
mov byte [rbx + 0x509], 1
cmp byte [rsi + 0xa87], 0
je 0x140056767
xor r8d, r8d
test eax, eax
setne r8b
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
mov rcx, rsi
mov r9, rdi
call fcn.14001cd60
mov rcx, rdi
call qword [fcn.140092c88]
jmp 0x1400566e1
mov edi, reloc.WLDAP32.dll_Ordinal_27
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140080da0
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rdx, str.Last_Modified:
mov r8d, reloc.WLDAP32.dll_Ordinal_14
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056571
cmp byte [rsi + 0x510], 0
jne 0x1400567c7
cmp byte [rsi + 0xa72], 0
je 0x140056571
add rdi, 0xe
mov rcx, rdi
call fcn.140071040
mov qword [rsi + 0x168], rax
cmp byte [rsi + 0xa72], 0
je 0x1400566e1
mov qword [rsi + 0x1388], rax
jmp 0x1400566e1
mov eax, 0xfffffed4
add eax, dword [rsi + 0x140]
cmp eax, 0x63
ja 0x14005682a
lea rdx, str.Location:
mov r8d, 9
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x14005682a
cmp qword [rsi + 0x178], 0
je 0x140056993
cmp qword [rsi + 0xab0], 0
je 0x140056861
lea rdx, str.Strict_Transport_Security:
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056861
mov rax, qword [rbx + 0x2c8]
test byte [rax + 0x8c], 1
jne 0x1400568fb
cmp qword [rsi + 0xab8], 0
je 0x140056898
lea rdx, str.Alt_Svc:
mov r8d, 8
mov rcx, rdi
call fcn.1400375a0
test eax, eax
je 0x140056898
mov rax, qword [rbx + 0x2c8]
test byte [rax + 0x8c], 1
jne 0x140056933
mov rax, qword [rbx + 0x2c8]
test byte [rax + 0x86], 4
je 0x1400566e1
mov rcx, rsi
mov rdx, rdi
call fcn.14006bc10
jmp 0x140056984
lea r9, [rsi + 0x138]
mov rcx, rdi
xor edx, edx
mov r8d, 0xa
call fcn.140071450
test eax, eax
jne 0x1400566e1
mov rax, qword [rsi + 0x1160]
cmp rax, qword [rsi + 0x138]
jne 0x1400566e1
mov byte [rsi + 0x1bc], 1
jmp 0x1400566e1
add rdi, 0x1a
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rsi + 0xab0]
mov r8, rdi
call fcn.14002f110
test eax, eax
je 0x1400566e1
cmp byte [rsi + 0xa87], 0
je 0x1400566e1
lea rdx, str.Illegal_STS_header_skipped
jmp 0x140056305
movzx eax, byte [rbx + 0x6c8]
xor ecx, ecx
cmp al, 0x14
sete cl
cmp al, 0x1e
lea eax, [rcx*8 + 8]
mov ebp, 0x20
cmovne ebp, eax
mov ecx, dword [rbx + 0x6b8]
call fcn.14002d8b0
mov rcx, qword [rbx + 0x50]
add rdi, 8
mov rdx, qword [rsi + 0xab8]
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov r8, rdi
mov r9d, ebp
call fcn.14002e4b0
mov edi, eax
test eax, eax
jne 0x14005677a
jmp 0x1400566e1
mov rcx, rdi
call fcn.140052e30
mov edi, reloc.WLDAP32.dll_Ordinal_27
test rax, rax
je 0x14005677a
cmp byte [rax], 0
je 0x1400569f2
mov qword [rsi + 0x178], rax
cmp byte [rsi + 0xa80], 0
je 0x1400566e1
mov rcx, rax
call qword [case.0x1400315e4.1]
mov qword [rsi + 0x180], rax
test rax, rax
je 0x14005677a
mov rcx, rsi
mov rdx, rbx
call fcn.1400532c0
mov byte [rsi + 0x1355], 1
jmp 0x1400566e1
mov rcx, rax
call qword [fcn.140092c88]
jmp 0x1400566e1